Module: CallCenter::UniqueFlowCallback

Defined in:
lib/call_center/flow_callback.rb

Instance Method Summary collapse

Instance Method Details

#should_run?Boolean

Returns:

  • (Boolean)


94
95
96
# File 'lib/call_center/flow_callback.rb', line 94

def should_run?
  !@transition.loopback?
end

#transition_parameters(context) ⇒ Object



98
99
100
# File 'lib/call_center/flow_callback.rb', line 98

def transition_parameters(context)
  { context.any - @state_name => @state_name }
end