internetee-registry/app/views/epp/contacts/update.xml.builder
2014-08-12 14:27:57 +03:00

16 lines
410 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!('contact:creData', 'xmlns:contact' => 'urn:ietf:params:xml:ns:contact-1.0') do
xml.tag!('contact:id', @contact.code)
xml.tag!('contact:crDate', @contact.created_at)
end
end
xml << render('/epp/shared/trID')
end
end