Method: ActiveInteractor::Interactor::Perform#rollback
- Defined in:
- lib/active_interactor/interactor/perform.rb
#rollback ⇒ Object
This method is abstract.
interactors should override #rollback with the appropriate steps and context mutations required for the interactor to roll back its work.
The steps to run when an interactor fails. An interactor's #rollback method should never be called directly and is instead called by the interactor's context when #fail is called.
236 |
# File 'lib/active_interactor/interactor/perform.rb', line 236 def rollback; end |