mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
registrant update change #2557
This commit is contained in:
parent
51d22af52b
commit
64bd2b957f
9 changed files with 68 additions and 35 deletions
|
@ -17,12 +17,16 @@ class RegistrantVerification < ActiveRecord::Base
|
|||
def domain_registrant_change_confirm!
|
||||
self.action_type = DOMAIN_REGISTRANT_CHANGE
|
||||
self.action = CONFIRMED
|
||||
save
|
||||
if save
|
||||
DomainConfirmJob.enqueue domain.id, CONFIRMED
|
||||
end
|
||||
end
|
||||
|
||||
def domain_registrant_change_reject!
|
||||
self.action_type = DOMAIN_REGISTRANT_CHANGE
|
||||
self.action = REJECTED
|
||||
save
|
||||
if save
|
||||
DomainConfirmJob.enqueue domain.id, REJECTED
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue