mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Add epp attr map
This commit is contained in:
parent
3256534f0d
commit
ec9dcf52cf
4 changed files with 8 additions and 4 deletions
|
@ -5,7 +5,9 @@ class Nameserver < ActiveRecord::Base
|
|||
'2005' => ['Hostname is invalid', 'IP is invalid']
|
||||
}
|
||||
|
||||
EPP_OBJ = 'ns'
|
||||
EPP_ATTR_MAP = {
|
||||
hostname: 'hostName'
|
||||
}
|
||||
|
||||
belongs_to :registrar
|
||||
has_and_belongs_to_many :domains
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue