Class: FuncRunner::Message
- Inherits:
-
Object
- Object
- FuncRunner::Message
- Defined in:
- lib/func_runner/message.rb
Instance Attribute Summary collapse
-
#correlation_id ⇒ Object
Returns the value of attribute correlation_id.
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#in_flight ⇒ Object
Returns the value of attribute in_flight.
-
#integration_id ⇒ Object
Returns the value of attribute integration_id.
-
#run_id ⇒ Object
Returns the value of attribute run_id.
-
#thread_id ⇒ Object
Returns the value of attribute thread_id.
-
#visible_at ⇒ Object
Returns the value of attribute visible_at.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Message
constructor
A new instance of Message.
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( = {}) @id = [:id] @run_id = [:run_id] @thread_id = [:thread_id] @integration_id = [:integration_id] @correlation_id = [:correlation_id] @expires_at = [:expires_at] @visible_at = [:visible_at] @in_flight = [:in_flight] end |
Instance Attribute Details
#correlation_id ⇒ Object
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_at ⇒ Object
Returns the value of attribute expires_at.
5 6 7 |
# File 'lib/func_runner/message.rb', line 5 def expires_at @expires_at end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/func_runner/message.rb', line 5 def id @id end |
#in_flight ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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_at ⇒ Object
Returns the value of attribute visible_at.
5 6 7 |
# File 'lib/func_runner/message.rb', line 5 def visible_at @visible_at end |