mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 17:55:55 +02:00
Contact refactor to new epp errors
This commit is contained in:
parent
6b86af3048
commit
55decf3dd4
5 changed files with 29 additions and 19 deletions
|
@ -1,6 +1,12 @@
|
|||
class Nameserver < ActiveRecord::Base
|
||||
include EppErrors
|
||||
|
||||
EPP_CODE_MAP = {
|
||||
'2005' => ['Hostname is invalid', 'IP is invalid']
|
||||
}
|
||||
|
||||
EPP_OBJ = 'ns'
|
||||
|
||||
belongs_to :registrar
|
||||
has_and_belongs_to_many :domains
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue