Class: RServiceBus2::MessageSubscription
- Inherits:
-
Object
- Object
- RServiceBus2::MessageSubscription
- Defined in:
- lib/rservicebus2/message/subscription.rb
Overview
Class to hold message subscriptions
Instance Attribute Summary collapse
-
#event_name ⇒ Object
readonly
Returns the value of attribute event_name.
Instance Method Summary collapse
-
#initialize(event_name) ⇒ MessageSubscription
constructor
A new instance of MessageSubscription.
Constructor Details
#initialize(event_name) ⇒ MessageSubscription
Returns a new instance of MessageSubscription.
8 9 10 |
# File 'lib/rservicebus2/message/subscription.rb', line 8 def initialize(event_name) @event_name = event_name end |
Instance Attribute Details
#event_name ⇒ Object (readonly)
Returns the value of attribute event_name.
6 7 8 |
# File 'lib/rservicebus2/message/subscription.rb', line 6 def event_name @event_name end |