Handle blocked and reserved domains in EPP domain:info

Closes #597
This commit is contained in:
Artur Beljajev 2019-02-01 13:20:58 +02:00
parent f1148bd4f4
commit 36a53bd11a
6 changed files with 117 additions and 19 deletions

View file

@ -0,0 +1,16 @@
xml.epp_head do
xml.response do
xml.result code: '1000' do
xml.msg 'Command completed successfully'
end
xml.resData do
xml.tag! 'domain:infData', 'xmlns:domain' => 'https://epp.tld.ee/schema/domain-eis-1.0.xsd' do
xml.tag! 'domain:name', @name
xml.tag! 'domain:status', 's' => @status
end
end
render 'epp/shared/trID', builder: xml
end
end