mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Updated contact ident_type logic
This commit is contained in:
parent
5fa1107e3e
commit
0a4a7f98c2
4 changed files with 7 additions and 2 deletions
|
@ -58,7 +58,7 @@ module EppContactXmlBuilder
|
|||
xml.tag!('contact:voice', (xml_params[:voice] || '+372.1234567')) unless xml_params[:voice] == false
|
||||
xml.tag!('contact:fax', (xml_params[:fax] || '123123' )) unless xml_params[:fax] == false
|
||||
xml.tag!('contact:email', (xml_params[:email] || 'example@test.example')) unless xml_params[:email] == false
|
||||
xml.tag!('contact:ident', (xml_params[:ident] || '37605030299')) unless xml_params[:ident] == false
|
||||
xml.tag!('contact:ident', (xml_params[:ident] || '37605030299'), type: 'op') unless xml_params[:ident] == false
|
||||
unless xml_params[:authInfo] == [false]
|
||||
xml.tag!('contact:authInfo') do
|
||||
xml.tag!('contact:pw', xml_params[:authInfo][:pw] ) unless xml_params[:authInfo][:pw] == false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue