mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 10:49:39 +02:00
22 lines
412 B
Ruby
22 lines
412 B
Ruby
xml.epp_head do
|
|
xml.response do
|
|
@errors.each do |x|
|
|
xml.result('code' => x[:code]) do
|
|
xml.msg(x[:msg], 'lang' => 'en')
|
|
|
|
x[:ext_values].each do |y|
|
|
xml.extValue do
|
|
xml.value do
|
|
# xml.tag!()
|
|
xml.reason y.to_s
|
|
end
|
|
end
|
|
end if x[:ext_values]
|
|
|
|
end
|
|
end
|
|
|
|
end
|
|
|
|
xml << render('/epp/shared/trID')
|
|
end
|