Class: RServiceBus::Monitor_Message
- Inherits:
-
Object
- Object
- RServiceBus::Monitor_Message
- Defined in:
- lib/rservicebus/Monitor/Message.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
readonly
Returns the value of attribute payload.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(payload, uri) ⇒ Monitor_Message
constructor
A new instance of Monitor_Message.
Constructor Details
#initialize(payload, uri) ⇒ Monitor_Message
Returns a new instance of Monitor_Message.
9 10 11 12 |
# File 'lib/rservicebus/Monitor/Message.rb', line 9 def initialize( payload, uri ) @payload = payload @uri = uri end |
Instance Attribute Details
#payload ⇒ Object (readonly)
Returns the value of attribute payload.
4 5 6 |
# File 'lib/rservicebus/Monitor/Message.rb', line 4 def payload @payload end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
4 5 6 |
# File 'lib/rservicebus/Monitor/Message.rb', line 4 def uri @uri end |