Class: Pubnub::HereNow

Inherits:
SingleEvent show all
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)

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(options, app)
  @event = :here_now
  super

end