class Pubnub::PubNubHTTParty
Public Instance Methods
first_run?()
click to toggle source
# File lib/pubnub/client.rb, line 13 def first_run? @first_run ? true : false end
send_request(path, options={}, &block)
click to toggle source
# File lib/pubnub/client.rb, line 17 def send_request(path, options={}, &block) if @first_run.nil? @first_run = true else @first_run = false end self.class.get path, options end