Value returning with error message

This commit is contained in:
Martin Lensment 2014-08-01 15:39:20 +03:00
parent 3fc3bfc1c4
commit e4ac417bde
5 changed files with 28 additions and 3 deletions

View file

@ -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