Class: FuncRunner::Message

Inherits:
Object
  • Object
show all
Defined in:
lib/func_runner/message.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Message

Returns a new instance of Message.



7
8
9
10
11
12
13
14
15
16
# File 'lib/func_runner/message.rb', line 7

def initialize(options = {})
  @id = options[:id]
  @run_id = options[:run_id]
  @thread_id = options[:thread_id]
  @integration_id = options[:integration_id]
  @correlation_id = options[:correlation_id]
  @expires_at = options[:expires_at]
  @visible_at = options[:visible_at]
  @in_flight = options[:in_flight]
end

Instance Attribute Details

#correlation_idObject

Returns the value of attribute correlation_id.



5
6
7
# File 'lib/func_runner/message.rb', line 5

def correlation_id
  @correlation_id
end

#expires_atObject

Returns the value of attribute expires_at.



5
6
7
# File 'lib/func_runner/message.rb', line 5

def expires_at
  @expires_at
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/func_runner/message.rb', line 5

def id
  @id
end

#in_flightObject

Returns the value of attribute in_flight.



5
6
7
# File 'lib/func_runner/message.rb', line 5

def in_flight
  @in_flight
end

#integration_idObject

Returns the value of attribute integration_id.



5
6
7
# File 'lib/func_runner/message.rb', line 5

def integration_id
  @integration_id
end

#run_idObject

Returns the value of attribute run_id.



5
6
7
# File 'lib/func_runner/message.rb', line 5

def run_id
  @run_id
end

#thread_idObject

Returns the value of attribute thread_id.



5
6
7
# File 'lib/func_runner/message.rb', line 5

def thread_id
  @thread_id
end

#visible_atObject

Returns the value of attribute visible_at.



5
6
7
# File 'lib/func_runner/message.rb', line 5

def visible_at
  @visible_at
end