Class: WipeOut::Execute
- Inherits:
-
Object
- Object
- WipeOut::Execute
- Defined in:
- lib/wipe_out/execute.rb
Overview
Executes plan for a given record. Plan execution flow:
- emit event:
#before_plan
For each record (recursively, depth first)
- emit event:
#before_execution
- emit event:
#after_execution
After plan had been executed (won't run if exception had been raised)
- emit event:
#after_plan
To see how plan is defined, see Plans::Dsl To configure, see Config