Module: Atacama::Values::Methods
- Included in:
- Step, Transaction
- Defined in:
- lib/atacama/values.rb
Overview
Helper methods for emitting value objects inside of a Contract.
Instance Method Summary collapse
-
#Option(value) ⇒ Object
This value tells the orchestrator to merge in these parameters on the next call.
- #Return(value) ⇒ Object
Instance Method Details
#Option(value) ⇒ Object
This value tells the orchestrator to merge in these parameters on the next call.
14 15 16 |
# File 'lib/atacama/values.rb', line 14 def Option(value) Values::Option.call(value: value) end |
#Return(value) ⇒ Object
18 19 20 |
# File 'lib/atacama/values.rb', line 18 def Return(value) Values::Return.call(value: value) end |