mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
make supporting version for schema
This commit is contained in:
parent
4917a2cb00
commit
1665e6e71e
11 changed files with 48 additions and 14 deletions
|
@ -6,7 +6,7 @@ xml.epp_head do
|
|||
|
||||
xml.resData do
|
||||
xml.tag!('domain:chkData',
|
||||
'xmlns:domain' => Xsd::Schema.filename(for_prefix: @schema_prefix)) do
|
||||
'xmlns:domain' => Xsd::Schema.filename(for_prefix: @schema_prefix, for_version: @schema_version)) do
|
||||
@domains.each do |x|
|
||||
xml.tag!('domain:cd') do
|
||||
xml.tag!('domain:name', x[:name], 'avail' => x[:avail])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue