Class: BusinessFlow::Step::ResultFactory
- Inherits:
-
Struct
- Object
- Struct
- BusinessFlow::Step::ResultFactory
- Defined in:
- lib/business_flow/step.rb
Overview
Manage creating results for our step
Instance Attribute Summary collapse
-
#output_callable ⇒ Object
Returns the value of attribute output_callable.
-
#outputs ⇒ Object
Returns the value of attribute outputs.
Instance Method Summary collapse
Instance Attribute Details
#output_callable ⇒ Object
Returns the value of attribute output_callable
119 120 121 |
# File 'lib/business_flow/step.rb', line 119 def output_callable @output_callable end |
#outputs ⇒ Object
Returns the value of attribute outputs
119 120 121 |
# File 'lib/business_flow/step.rb', line 119 def outputs @outputs end |
Instance Method Details
#result(step_result, parameter_source) ⇒ Object
120 121 122 |
# File 'lib/business_flow/step.rb', line 120 def result(step_result, parameter_source) Result.new(parameter_source, step_result, outputs, output_callable) end |