Module: EventflitClient

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

Defined Under Namespace

Classes: Channel, Channels, EventflitWebSocket, NullChannel, Socket

Constant Summary collapse

HOST =
'service.eventflit.com'
WS_PORT =
80
WSS_PORT =
443
VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.loggerObject



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

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

.logger=(logger) ⇒ Object



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

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