mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Move job to interactor
This commit is contained in:
parent
ccf91d306a
commit
f6a7a08b24
9 changed files with 107 additions and 43 deletions
|
@ -0,0 +1,11 @@
|
|||
module Domains
|
||||
module DeleteConfirm
|
||||
class ProcessDeleteConfirmed < Base
|
||||
def execute
|
||||
domain.notify_registrar(:poll_pending_delete_confirmed_by_registrant)
|
||||
domain.apply_pending_delete!
|
||||
raise_errors!(domain)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue