dry-rb / dry-transaction

Business transaction DSL
http://dry-rb.org/gems/dry-transaction
MIT License
469 stars 55 forks source link

Update injecting-operations.html.md #143

Open krisleech opened 1 year ago

krisleech commented 1 year ago

otherwise we get the error:

undefined method `Success' for main:Object (NoMethodError)

prepare = -> input { Success(input.merge(name: "#{input[:name]}!!")) }