Class: Dry::Mutations::Transactions::Tranquilo
- Inherits:
-
StepAdapters::Move
- Object
- StepAdapters::Move
- Dry::Mutations::Transactions::Tranquilo
- Defined in:
- lib/dry/mutations/transactions/step_adapters/tranquilo.rb
Overview
dry-rb.org/gems/dry-transaction/custom-step-adapters/ step adapters must provide a single ‘#call(step, *args, input)` method,
which should return the step’s result wrapped in an `Either` object.
Instance Method Summary collapse
-
#call(step, *args, input) ⇒ Object
:nodoc:.
Methods inherited from StepAdapters::Move
Instance Method Details
#call(step, *args, input) ⇒ Object
:nodoc:
8 9 10 11 |
# File 'lib/dry/mutations/transactions/step_adapters/tranquilo.rb', line 8 def call(step, *args, input) # TODO: FIXME: PENDING: when block passing is merged into dry-validation step.operation.(input, *args) end |