mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
17 lines
500 B
Ruby
17 lines
500 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' => 'https://epp.tld.ee/schema/domain-eis-1.0.xsd') do
|
|
xml.tag!('domain:name', @domain.name)
|
|
xml.tag!('domain:crDate', @domain.created_at.try(:iso8601))
|
|
xml.tag!('domain:exDate', @domain.valid_to.try(:iso8601))
|
|
end
|
|
end
|
|
|
|
render('epp/shared/trID', builder: xml)
|
|
end
|
|
end
|