Class: AceMQ::AMQP::Patterns::Saga::Step

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#action ⇒ Object

Returns the value of attribute action

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of name



213
214
215
# File 'lib/acemq/amqp/patterns/saga.rb', line 213

def name
  @name
end