Class: Actions::Middleware::PropagateOutput
- Inherits:
-
Dynflow::Middleware
- Object
- Dynflow::Middleware
- Actions::Middleware::PropagateOutput
- Defined in:
- app/lib/actions/middleware/propagate_output.rb
Instance Method Summary collapse
Instance Method Details
#run(*args) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'app/lib/actions/middleware/propagate_output.rb', line 4 def run(*args) pass(*args) if action.input.keys.include?('subaction_output') && action.input['subaction_output'] action.input['subaction_output'].each do |key, value| self.action.output[key] = value end action.input.delete('subaction_output') end end |