mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Add epp errors to domain_contact
This commit is contained in:
parent
1dc2a7e23f
commit
90dff29c15
1 changed files with 13 additions and 0 deletions
|
@ -1,7 +1,20 @@
|
|||
class DomainContact < ActiveRecord::Base
|
||||
include EppErrors
|
||||
belongs_to :contact
|
||||
belongs_to :domain
|
||||
|
||||
EPP_ATTR_MAP = {
|
||||
hostname: 'hostObj'
|
||||
}
|
||||
|
||||
def epp_code_map
|
||||
{
|
||||
'2302' => [
|
||||
[:contact, :taken]
|
||||
]
|
||||
}
|
||||
end
|
||||
|
||||
TECH = 'tech'
|
||||
ADMIN = 'admin'
|
||||
TYPES = [TECH, ADMIN]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue