Class: RServiceBus2::SagaBase
- Inherits:
-
Object
- Object
- RServiceBus2::SagaBase
- Defined in:
- lib/rservicebus2/saga/base.rb
Overview
Sags Base Class
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
- #finish ⇒ Object
-
#initialize ⇒ SagaBase
constructor
A new instance of SagaBase.
- #send_timeout(_msg, _milliseconds) ⇒ Object
Constructor Details
#initialize ⇒ SagaBase
Returns a new instance of SagaBase.
6 7 8 |
# File 'lib/rservicebus2/saga/base.rb', line 6 def initialize @finished = false end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
4 5 6 |
# File 'lib/rservicebus2/saga/base.rb', line 4 def data @data end |
Instance Method Details
#finish ⇒ Object
13 14 15 |
# File 'lib/rservicebus2/saga/base.rb', line 13 def finish @data.finished = true end |
#send_timeout(_msg, _milliseconds) ⇒ Object
10 11 |
# File 'lib/rservicebus2/saga/base.rb', line 10 def send_timeout(_msg, _milliseconds) end |