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



32
33
34
35
36
37
38
# File 'lib/smart_proxy_dynflow/callback.rb', line 32

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

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