Class: RServiceBus2::SagaBase

Inherits:
Object
  • Object
show all
Defined in:
lib/rservicebus2/saga/base.rb

Overview

Sags Base Class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSagaBase

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

#dataObject

Returns the value of attribute data.



4
5
6
# File 'lib/rservicebus2/saga/base.rb', line 4

def data
  @data
end

Instance Method Details

#finishObject



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