mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
17 lines
453 B
Ruby
17 lines
453 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:creData', 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain-1.0') do
|
|
xml.tag!('domain:name', @domain.name)
|
|
xml.tag!('domain:crDate', @domain.created_at)
|
|
xml.tag!('domain:exDate', @domain.valid_to)
|
|
end
|
|
end
|
|
end
|
|
|
|
xml << render('/epp/shared/trID')
|
|
end
|