Module: PusherClient

Defined in:
lib/pusher-client.rb,
lib/pusher-client/socket.rb,
lib/pusher-client/version.rb,
lib/pusher-client/channel.rb,
lib/pusher-client/channels.rb,
lib/pusher-client/websocket.rb

Defined Under Namespace

Classes: Channel, Channels, NullChannel, PusherWebSocket, Socket

Constant Summary collapse

HOST =
'ws.pusherapp.com'
WS_PORT =
80
WSS_PORT =
443
VERSION =
"0.6.0"

Class Method Summary collapse

Class Method Details

.loggerObject


6
7
8
9
10
11
# File 'lib/pusher-client.rb', line 6

def self.logger
  @logger ||= begin
    require 'logger'
    Logger.new(STDOUT)
  end
end

.logger=(logger) ⇒ Object


13
14
15
# File 'lib/pusher-client.rb', line 13

def self.logger=(logger)
  @logger = logger
end