Move interactor from Interactor gem to ActiveInteraction

This commit is contained in:
Alex Sherman 2020-11-11 15:44:00 +05:00
parent 3c7fa88463
commit bce39e3404
17 changed files with 70 additions and 65 deletions

View file

@ -53,7 +53,7 @@ module Concerns::Domain::ForceDelete # rubocop:disable Metrics/ModuleLength
end
def schedule_force_delete(type: :fast_track, notify_by_email: false)
Domain::ForceDeleteInteractor::SetForceDelete.call(domain: self,
Domain::ForceDeleteInteraction::SetForceDelete.run(domain: self,
type: type,
notify_by_email: notify_by_email)
end