module BusinessFlow::Instrument

Include me to fire ActiveSupport notifications on the flow, every step, and for any errors that happen.

Public Class Methods

included(klass) click to toggle source
# File lib/business_flow/instrument.rb, line 5
def self.included(klass)
  klass.extend(ClassMethods)
  klass.step_executor ::BusinessFlow::InstrumentedExecutor
end