mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
EPP email change will send notification to registrant
This commit is contained in:
parent
73637b1a28
commit
64fec42a69
14 changed files with 330 additions and 22 deletions
|
@ -16,6 +16,12 @@ class DomainContact < ActiveRecord::Base
|
|||
}
|
||||
end
|
||||
|
||||
def name
|
||||
return 'Tech' if type == 'TechDomainContact'
|
||||
return 'Admin' if type == 'AdminDomainContact'
|
||||
''
|
||||
end
|
||||
|
||||
validates :contact, presence: true
|
||||
|
||||
before_save :update_contact_code_cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue