Module: BusinessFlow::Instrument
- Defined in:
- lib/business_flow/instrument.rb
Overview
Include me to fire ActiveSupport notifications on the flow, every step, and for any errors that happen.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
7 8 9 10 |
# File 'lib/business_flow/instrument.rb', line 7 def self.included(klass) klass.extend(ClassMethods) klass.step_executor ::BusinessFlow::InstrumentedExecutor end |