Class: Tochtli::Test::TestMessageProperties
- Inherits:
-
Object
- Object
- Tochtli::Test::TestMessageProperties
- Defined in:
- lib/tochtli/test/test_case.rb
Instance Attribute Summary collapse
-
#correlation_id ⇒ Object
readonly
Returns the value of attribute correlation_id.
-
#message_id ⇒ Object
readonly
Returns the value of attribute message_id.
-
#reply_to ⇒ Object
readonly
Returns the value of attribute reply_to.
Instance Method Summary collapse
- #[](key) ⇒ Object
-
#initialize(reply_to, message_id = nil, correlation_id = nil) ⇒ TestMessageProperties
constructor
A new instance of TestMessageProperties.
Constructor Details
#initialize(reply_to, message_id = nil, correlation_id = nil) ⇒ TestMessageProperties
Returns a new instance of TestMessageProperties.
164 165 166 167 168 |
# File 'lib/tochtli/test/test_case.rb', line 164 def initialize(reply_to, =nil, correlation_id=nil) @reply_to = reply_to @message_id = @correlation_id = correlation_id end |
Instance Attribute Details
#correlation_id ⇒ Object (readonly)
Returns the value of attribute correlation_id.
162 163 164 |
# File 'lib/tochtli/test/test_case.rb', line 162 def correlation_id @correlation_id end |
#message_id ⇒ Object (readonly)
Returns the value of attribute message_id.
162 163 164 |
# File 'lib/tochtli/test/test_case.rb', line 162 def @message_id end |
#reply_to ⇒ Object (readonly)
Returns the value of attribute reply_to.
162 163 164 |
# File 'lib/tochtli/test/test_case.rb', line 162 def reply_to @reply_to end |
Instance Method Details
#[](key) ⇒ Object
170 171 172 |
# File 'lib/tochtli/test/test_case.rb', line 170 def [](key) send(key) end |