mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Attach nameservers with attributes
This commit is contained in:
parent
356835bebf
commit
d46640713b
6 changed files with 79 additions and 3 deletions
|
@ -53,7 +53,9 @@ module Epp::DomainsHelper
|
|||
def domain_nameservers
|
||||
ph = params_hash['epp']['command']['create']['create']['ns']
|
||||
return [] unless ph
|
||||
ph[:hostObj]
|
||||
return ph[:hostObj] if ph[:hostObj]
|
||||
return ph[:hostAttr] if ph[:hostAttr]
|
||||
[]
|
||||
end
|
||||
|
||||
def handle_errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue