mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
Refactor
This commit is contained in:
parent
89c67ca637
commit
d66527ac80
7 changed files with 5 additions and 5 deletions
0
app/views/epp/domains/check.xml.builder
Normal file
0
app/views/epp/domains/check.xml.builder
Normal file
|
@ -2,11 +2,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' => '1000') do
|
||||
xml.msg('Command completed successfully')
|
||||
xml.msg 'Command completed successfully'
|
||||
end
|
||||
end
|
||||
|
||||
xml.trID do
|
||||
xml.clTRID params[:clTRID]
|
||||
xml.svTRID @svTRID
|
||||
end
|
||||
end
|
||||
|
|
|
@ -6,7 +6,6 @@ xml.epp('xmlns' => 'urn:ietf:params:xml:ns:epp-1.0', 'xmlns:xsi' => 'http://www.
|
|||
xml.svcMenu do
|
||||
xml.version '1.0'
|
||||
xml.lang 'en'
|
||||
xml.lang 'cs'
|
||||
xml.objURI 'http://www.nic.cz/xml/epp/contact-1.6'
|
||||
xml.objURI 'http://www.nic.cz/xml/epp/domain-1.4'
|
||||
xml.objURI 'http://www.nic.cz/xml/epp/nsset-1.2'
|
||||
|
|
|
@ -2,7 +2,7 @@ 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' => '1500') do
|
||||
xml.msg('Command completed successfully; ending session', 'lang' => 'en')
|
||||
xml.msg 'Command completed successfully; ending session'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue