Class: Dry::Mutations::Transactions::Options
- Defined in:
- lib/dry/mutations/transactions/wrapper.rb
Constant Summary collapse
- OPTIONS =
{ failure: ->(value, λ) do result = λ.() Utils.Falsey?(value) ? result : Right(nil) end }.freeze
Instance Method Summary collapse
-
#initialize ⇒ Options
constructor
A new instance of Options.
Methods inherited from Wrapper
Constructor Details
#initialize ⇒ Options
Returns a new instance of Options.
27 28 |
# File 'lib/dry/mutations/transactions/wrapper.rb', line 27 def initialize end |