Class: Pubnub::HereNow
- Inherits:
-
SingleEvent
- Object
- Event
- SingleEvent
- Pubnub::HereNow
- Includes:
- Celluloid
- Defined in:
- lib/pubnub/events/here_now.rb
Overview
Holds here_now 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)
-
- (HereNow) initialize(options, app)
constructor
A new instance of HereNow.
Methods inherited from Event
#finalized?, #fire, #sync?, #uri
Constructor Details
- (HereNow) initialize(options, app)
Returns a new instance of HereNow
7 8 9 10 11 |
# File 'lib/pubnub/events/here_now.rb', line 7 def initialize(, app) @event = :here_now super end |