Module: Pubnub::Client::Events

Included in:
Pubnub::Client
Defined in:
lib/pubnub/client/events.rb

Overview

Module that holds generator for all events

Constant Summary collapse

EVENTS =
%w(publish subscribe presence leave history here_now audit grant
revoke time heartbeat where_now set_state state channel_registration)

Instance Method Summary collapse

Instance Method Details

#fire(options, &block) ⇒ Object



31
32
33
# File 'lib/pubnub/client/events.rb', line 31

def fire(options, &block)
  publish(options.merge(store: false, replicate: false), &block)
end