Class: ActiveMessaging::TestMessage
- Inherits:
-
BaseMessage
- Object
- BaseMessage
- ActiveMessaging::TestMessage
- Defined in:
- lib/activemessaging/test_helper.rb
Instance Attribute Summary
Attributes inherited from BaseMessage
#body, #destination, #headers, #id
Instance Method Summary collapse
-
#initialize(body = "", headers = {}, destination = "") ⇒ TestMessage
constructor
A new instance of TestMessage.
Methods inherited from BaseMessage
#dup, #matches_subscription?, #to_s
Constructor Details
#initialize(body = "", headers = {}, destination = "") ⇒ TestMessage
Returns a new instance of TestMessage.
53 54 55 56 |
# File 'lib/activemessaging/test_helper.rb', line 53 def initialize(body="", headers={}, destination="") super(body, nil, headers, destination) @headers['destination'] = destination end |