mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
request and response have the same domain schema
This commit is contained in:
parent
230fb301a7
commit
6f431232f4
7 changed files with 28 additions and 8 deletions
|
@ -5,7 +5,8 @@ xml.epp_head do
|
|||
end
|
||||
|
||||
xml.resData do
|
||||
xml.tag!('domain:creData', 'xmlns:domain' => Xsd::Schema.filename(for_prefix: 'domain-ee')) do
|
||||
xml.tag!('domain:creData',
|
||||
'xmlns:domain' => Xsd::Schema.filename(for_prefix: @schema_prefix)) do
|
||||
xml.tag!('domain:name', @domain.name)
|
||||
xml.tag!('domain:crDate', @domain.created_at.try(:iso8601))
|
||||
xml.tag!('domain:exDate', @domain.valid_to.iso8601)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue