EPP email change will send notification to registrant

This commit is contained in:
Priit Tark 2015-05-12 13:45:55 +03:00
parent 73637b1a28
commit 64fec42a69
14 changed files with 330 additions and 22 deletions

View file

@ -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