mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 06:04:56 +02:00
18 lines
519 B
Ruby
18 lines
519 B
Ruby
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
|