Class: Proxy::Dynflow::Callback::Action
- Inherits:
-
Dynflow::Action
- Object
- Dynflow::Action
- Proxy::Dynflow::Callback::Action
- Defined in:
- lib/smart_proxy_dynflow/callback.rb
Instance Method Summary collapse
Instance Method Details
#plan(callback, data) ⇒ Object
26 27 28 |
# File 'lib/smart_proxy_dynflow/callback.rb', line 26 def plan(callback, data) plan_self(:callback => callback, :data => data) end |
#run ⇒ Object
30 31 32 33 34 |
# File 'lib/smart_proxy_dynflow/callback.rb', line 30 def run Callback::Request.send_to_foreman_tasks(input[:callback], input[:data]) ensure input.delete(:data) end |