Module: Flows::Operation
- Includes:
- Result::Helpers
- Defined in:
- lib/flows/operation.rb,
 lib/flows/operation/dsl.rb,
 lib/flows/operation/errors.rb,
 lib/flows/operation/builder.rb,
 lib/flows/operation/executor.rb,
 lib/flows/operation/builder/build_router.rb
Overview
Operation DSL
Defined Under Namespace
Modules: DSL Classes: Builder, Executor, MissingOutputError, NoFailureShapeError, NoStepDefinedError, NoStepImplementationError, NoStepsError, NoSuccessShapeError, UnexpectedFailureStatusError, UnexpectedSuccessStatusError
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#call(**params) ⇒ Object
| 24 25 26 | # File 'lib/flows/operation.rb', line 24 def call(**params) @_flows_executor.call(**params) end | 
#initialize(method_source: nil, deps: {}) ⇒ Object
| 16 17 18 19 20 21 22 | # File 'lib/flows/operation.rb', line 16 def initialize(method_source: nil, deps: {}) _flows_do_checks flow = _flows_make_flow(method_source || self, deps) @_flows_executor = _flows_make_executor(flow) end |