mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
17 lines
492 B
Ruby
17 lines
492 B
Ruby
xml.epp_head do
|
|
xml.response do
|
|
xml.result('code' => '1000') do
|
|
xml.msg 'Command completed successfully'
|
|
end
|
|
|
|
xml.resData do
|
|
xml.tag!('domain:chkData', 'xmlns:domain' => 'http://www.nic.cz/xml/epp/domain-1.4', 'xsi:schemaLocation' => 'http://www.nic.cz/xml/epp/domain-1.4 domain-1.4.xsd') do
|
|
xml.tag!('domain:cd') do
|
|
xml.tag!('domain:name', @domain, 'avail' => @avail)
|
|
end
|
|
end
|
|
end
|
|
|
|
xml << render('/epp/shared/trID')
|
|
end
|
|
end
|