mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 07:04:47 +02:00
17 lines
458 B
Ruby
17 lines
458 B
Ruby
module Domains
|
|
module UpdateConfirm
|
|
class ProcessAction < Base
|
|
def execute
|
|
::PaperTrail.request.whodunnit = "interaction - #{self.class.name} - #{action} by"\
|
|
" #{initiator}"
|
|
|
|
case action
|
|
when RegistrantVerification::CONFIRMED
|
|
compose(ProcessUpdateConfirmed, inputs)
|
|
when RegistrantVerification::REJECTED
|
|
compose(ProcessUpdateRejected, inputs)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|