mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
Move interactor to the Domains namespace
This commit is contained in:
parent
6f0b8b15a3
commit
42012863e2
9 changed files with 125 additions and 117 deletions
|
@ -0,0 +1,18 @@
|
|||
module Domains
|
||||
module UpdateConfirm
|
||||
class ProcessUpdateRejected < Base
|
||||
def execute
|
||||
ActiveRecord::Base.transaction do
|
||||
RegistrantChangeMailer.rejected(domain: domain,
|
||||
registrar: domain.registrar,
|
||||
registrant: domain.registrant).deliver_now
|
||||
|
||||
notify_registrar(:poll_pending_update_rejected_by_registrant)
|
||||
|
||||
preclean_pendings
|
||||
clean_pendings!
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue