mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Domain updating - adding contacts and nameservers
This commit is contained in:
parent
32fc26b5a4
commit
290182b7d1
3 changed files with 14 additions and 2 deletions
|
@ -54,7 +54,7 @@ class Domain < ActiveRecord::Base
|
|||
### CREATE ###
|
||||
|
||||
def attach_objects(ph, parsed_frame)
|
||||
attach_owner_contact(ph[:registrant])
|
||||
attach_owner_contact(ph[:registrant]) if ph[:registrant]
|
||||
attach_contacts(self.class.parse_contacts_from_frame(parsed_frame))
|
||||
attach_nameservers(self.class.parse_nameservers_from_frame(parsed_frame))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue