Class: SagaForge::Definition::Handler

Inherits:
Struct
  • Object
show all
Defined in:
lib/saga_forge/definition.rb

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



7
8
9
# File 'lib/saga_forge/definition.rb', line 7

def block
  @block
end

#compensateObject

Returns the value of attribute compensate

Returns:

  • (Object)

    the current value of compensate



7
8
9
# File 'lib/saga_forge/definition.rb', line 7

def compensate
  @compensate
end

#eventObject

Returns the value of attribute event

Returns:

  • (Object)

    the current value of event



7
8
9
# File 'lib/saga_forge/definition.rb', line 7

def event
  @event
end

#on_timeoutObject

Returns the value of attribute on_timeout

Returns:

  • (Object)

    the current value of on_timeout



7
8
9
# File 'lib/saga_forge/definition.rb', line 7

def on_timeout
  @on_timeout
end

#retry_policyObject

Returns the value of attribute retry_policy

Returns:

  • (Object)

    the current value of retry_policy



7
8
9
# File 'lib/saga_forge/definition.rb', line 7

def retry_policy
  @retry_policy
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



7
8
9
# File 'lib/saga_forge/definition.rb', line 7

def state
  @state
end

#timeoutObject

Returns the value of attribute timeout

Returns:

  • (Object)

    the current value of timeout



7
8
9
# File 'lib/saga_forge/definition.rb', line 7

def timeout
  @timeout
end