Module: Proxy::Dynflow::Callback::PlanHelper

Defined in:
lib/smart_proxy_dynflow/callback.rb

Instance Method Summary collapse

Instance Method Details

#plan_with_callback(input) ⇒ Object



38
39
40
41
42
43
44
# File 'lib/smart_proxy_dynflow/callback.rb', line 38

def plan_with_callback(input)
  input = input.dup
  callback = input.delete('callback')

  planned_action = plan_self(input)
  plan_action(Callback::Action, callback, planned_action.output) if callback
end