mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 16:39:55 +02:00
16 lines
487 B
Ruby
16 lines
487 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' => 'https://raw.githubusercontent.com/internetee/registry/alpha/doc/schemas/contact-eis-1.0.xsd') do
|
|
xml.tag!('contact:id', @contact.code)
|
|
xml.tag!('contact:crDate', @contact.created_at.try(:iso8601))
|
|
end
|
|
end
|
|
|
|
render('epp/shared/trID', builder: xml)
|
|
end
|
|
end
|