Class: Pubnub::Revoke
- Inherits:
-
PAM
- Object
- Event
- SingleEvent
- PAM
- Pubnub::Revoke
- Includes:
- Celluloid
- Defined in:
- lib/pubnub/events/revoke.rb
Overview
Holds revoke functionality
Instance Attribute Summary
Attributes inherited from Event
#callback, #channel, #error_callback, #group, #idle_timeout, #open_timeout, #origin, #presence_callback, #read_timeout
Instance Method Summary (collapse)
-
- (Revoke) initialize(options, app)
constructor
A new instance of Revoke.
Methods inherited from PAM
#error_envelope, #format_envelopes, #signature, #valid_envelope, #variables_for_signature
Methods inherited from Event
#finalized?, #fire, #sync?, #uri
Constructor Details
- (Revoke) initialize(options, app)
Returns a new instance of Revoke
7 8 9 10 11 |
# File 'lib/pubnub/events/revoke.rb', line 7 def initialize(, app) @event = :grant super @ttl ||= Pubnub::Configuration::DEFAULT_TTL end |