Class: Pubnub::Message::RemoveSubscription
- Inherits:
-
InternalMessage
- Object
- InternalMessage
- Pubnub::Message::RemoveSubscription
- Defined in:
- lib/pubnub/message.rb
Overview
Used to remove parts of subscription
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Instance Method Summary collapse
-
#initialize(event) ⇒ RemoveSubscription
constructor
A new instance of RemoveSubscription.
Constructor Details
#initialize(event) ⇒ RemoveSubscription
Returns a new instance of RemoveSubscription.
38 39 40 |
# File 'lib/pubnub/message.rb', line 38 def initialize(event) @event = event end |
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
36 37 38 |
# File 'lib/pubnub/message.rb', line 36 def event @event end |