mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
ruby syntaxt upadtes #2557
This commit is contained in:
parent
1b66e74108
commit
9c43e8e302
5 changed files with 13 additions and 15 deletions
|
@ -17,16 +17,12 @@ class RegistrantVerification < ActiveRecord::Base
|
|||
def domain_registrant_change_confirm!
|
||||
self.action_type = DOMAIN_REGISTRANT_CHANGE
|
||||
self.action = CONFIRMED
|
||||
if save
|
||||
DomainConfirmJob.enqueue domain.id, CONFIRMED
|
||||
end
|
||||
DomainConfirmJob.enqueue domain.id, CONFIRMED if save
|
||||
end
|
||||
|
||||
def domain_registrant_change_reject!
|
||||
self.action_type = DOMAIN_REGISTRANT_CHANGE
|
||||
self.action = REJECTED
|
||||
if save
|
||||
DomainConfirmJob.enqueue domain.id, REJECTED
|
||||
end
|
||||
DomainConfirmJob.enqueue domain.id, REJECTED if save
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue