Class: AceMQ::AMQP::Patterns::Saga::Step
- Inherits:
-
Struct
- Object
- Struct
- AceMQ::AMQP::Patterns::Saga::Step
- Defined in:
- lib/acemq/amqp/patterns/saga.rb
Overview
One step and the thing that undoes it.
compensation is nil when the step needs no undoing, which is
legitimate and is checked before use.
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#compensation ⇒ Object
Returns the value of attribute compensation.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
213 214 215 |
# File 'lib/acemq/amqp/patterns/saga.rb', line 213 def action @action end |
#compensation ⇒ Object
Returns the value of attribute compensation
213 214 215 |
# File 'lib/acemq/amqp/patterns/saga.rb', line 213 def compensation @compensation end |
#name ⇒ Object
Returns the value of attribute name
213 214 215 |
# File 'lib/acemq/amqp/patterns/saga.rb', line 213 def name @name end |