mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +02:00
Story#118822101 - xmlns root element is type of object
This commit is contained in:
parent
2f0182b083
commit
58bdbb3f73
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ xml.epp_head do
|
||||||
xml.result('code' => x[:code]) do
|
xml.result('code' => x[:code]) do
|
||||||
xml.msg(x[:msg], 'lang' => 'en')
|
xml.msg(x[:msg], 'lang' => 'en')
|
||||||
|
|
||||||
xml.value('xmlns:obj' => 'urn:ietf:params:xml:ns:obj') do
|
xml.value("xmlns:#{controller.controller_name}" => 'https://epp.tld.ee/schema/all-ee-1.0.xsd') do
|
||||||
value = x[:value][:val]
|
value = x[:value][:val]
|
||||||
attrs = {}
|
attrs = {}
|
||||||
attrs["s"] = value if x[:value][:obj] == "status"
|
attrs["s"] = value if x[:value][:obj] == "status"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue