mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Registrar: contact honors now both legal and ident #2606
This commit is contained in:
parent
ae561606d9
commit
a38bb4aa07
1 changed files with 6 additions and 1 deletions
|
@ -229,7 +229,12 @@ module Depp
|
|||
end
|
||||
|
||||
def extension_xml
|
||||
ident_xml.merge(legal_document_xml)
|
||||
xml = {_anonymus: []}
|
||||
ident = ident_xml[:_anonymus].try(:first)
|
||||
legal = legal_document_xml[:_anonymus].try(:first)
|
||||
xml[:_anonymus] << ident if ident.present?
|
||||
xml[:_anonymus] << legal if legal.present?
|
||||
xml
|
||||
end
|
||||
|
||||
def ident_xml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue