mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Value returning with error message
This commit is contained in:
parent
3fc3bfc1c4
commit
e4ac417bde
5 changed files with 28 additions and 3 deletions
|
@ -4,6 +4,10 @@ xml.epp_head do
|
|||
xml.result('code' => x[:code]) do
|
||||
xml.msg(x[:msg], 'lang' => 'en')
|
||||
|
||||
xml.value('xmlns:obj' => 'urn:ietf:params:xml:ns:obj') do
|
||||
xml.tag!("obj:#{x[:value][:obj]}", x[:value][:val])
|
||||
end if x[:value]
|
||||
|
||||
x[:ext_values].each do |y|
|
||||
xml.extValue do
|
||||
xml.value do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue