Class: Pubnub::HereNow
- Inherits:
-
SingleEvent
- Object
- Event
- SingleEvent
- Pubnub::HereNow
- Includes:
- Celluloid, Validator::HereNow
- Defined in:
- lib/pubnub/events/here_now.rb
Overview
Holds here_now functionality
Instance Attribute Summary
Attributes inherited from Event
#callback, #channel, #fresh_clone, #given_options, #group, #idle_timeout, #open_timeout, #origin, #presence_callback, #read_timeout, #ssl, #state, #wildcard_channel
Instance Method Summary collapse
-
#initialize(options, app) ⇒ HereNow
constructor
A new instance of HereNow.
Methods included from Validator::HereNow
Methods included from Validator::CommonValidator
#validate_origin, #validate_publish_key, #validate_subscribe_key
Methods inherited from Event
#finalized?, #fire, #send_request, #sync?, #uri
Constructor Details
#initialize(options, app) ⇒ HereNow
Returns a new instance of HereNow.
8 9 10 11 |
# File 'lib/pubnub/events/here_now.rb', line 8 def initialize(, app) @event = :here_now super end |