Class: Pubnub::Message::AddSubscription
- Inherits:
-
InternalMessage
- Object
- InternalMessage
- Pubnub::Message::AddSubscription
- Defined in:
- lib/pubnub/message.rb
Overview
Used to add new subscription to currently running one
Instance Attribute Summary (collapse)
-
- (Object) event
readonly
Returns the value of attribute event.
Instance Method Summary (collapse)
-
- (AddSubscription) initialize(event)
constructor
A new instance of AddSubscription.
Constructor Details
- (AddSubscription) initialize(event)
Returns a new instance of AddSubscription
29 30 31 |
# File 'lib/pubnub/message.rb', line 29 def initialize(event) @event = event end |
Instance Attribute Details
- (Object) event (readonly)
Returns the value of attribute event
27 28 29 |
# File 'lib/pubnub/message.rb', line 27 def event @event end |