mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
Render error message from the app, instead of mod_epp
This commit is contained in:
parent
9f30ec3cc7
commit
8c1ea03f95
5 changed files with 26 additions and 5 deletions
|
@ -0,0 +1,12 @@
|
|||
xml.instruct!
|
||||
xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0', 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', 'xsi:schemaLocation' => 'urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd') do
|
||||
xml.response do
|
||||
xml.result('code' => params[:code]) do
|
||||
xml.msg(params[:msg], 'lang' => 'en')
|
||||
end
|
||||
end
|
||||
|
||||
xml.trID do
|
||||
xml.clTRID params[:clTRID]
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue