mirror of
https://github.com/internetee/registry.git
synced 2025-07-05 18:53:26 +02:00
Take into account address_processing setting when creating and updating the contact via EPP
#251
This commit is contained in:
parent
a77a0ae558
commit
d3b1a23e92
11 changed files with 311 additions and 164 deletions
|
@ -1,7 +1,7 @@
|
|||
xml.epp_head do
|
||||
xml.response do
|
||||
xml.result('code' => @response_code) do
|
||||
xml.msg 'Command completed successfully'
|
||||
xml.msg @response_description
|
||||
end
|
||||
|
||||
xml.resData do
|
|
@ -1,16 +0,0 @@
|
|||
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://epp.tld.ee/schema/contact-ee-1.1.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
|
Loading…
Add table
Add a link
Reference in a new issue