mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 13:36:15 +02:00
17 lines
463 B
Ruby
17 lines
463 B
Ruby
xml.epp_head do
|
|
xml.response do
|
|
xml.result('code' => @response_code) do
|
|
xml.msg @response_description
|
|
end
|
|
|
|
xml.resData do
|
|
xml.tag!('contact:creData', 'xmlns:contact' =>
|
|
Xsd::Schema.filename(for_prefix: 'contact-ee', for_version: '1.1')) 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
|