Class: Pubnub::Message::RemoveSubscription

Inherits:
InternalMessage show all
Defined in:
lib/pubnub/message.rb

Overview

Used to remove parts of subscription

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#eventObject (readonly)

Returns the value of attribute event.



36
37
38
# File 'lib/pubnub/message.rb', line 36

def event
  @event
end