mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 01:36:02 +02:00
parent
39d7c6ad1d
commit
ad0220088a
30 changed files with 697 additions and 59 deletions
|
@ -18,7 +18,7 @@ class Nameserver < ActiveRecord::Base
|
|||
before_validation :normalize_attributes
|
||||
before_validation :check_puny_symbols
|
||||
before_validation :check_label_length
|
||||
|
||||
|
||||
delegate :name, to: :domain, prefix: true
|
||||
|
||||
def epp_code_map
|
||||
|
@ -117,5 +117,9 @@ class Nameserver < ActiveRecord::Base
|
|||
# ignoring ips
|
||||
rel
|
||||
end
|
||||
|
||||
def hostnames
|
||||
pluck(:hostname)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue