Module: Centrifuge

Extended by:
Forwardable
Defined in:
lib/centrifuge.rb,
lib/centrifuge/client.rb,
lib/centrifuge/builder.rb,
lib/centrifuge/request.rb,
lib/centrifuge/version.rb

Defined Under Namespace

Classes: AuthenticationError, Builder, Client, ConfigurationError, Engine, Error, HTTPError, Request

Constant Summary collapse

VERSION =
'1.2.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject



32
33
34
35
36
37
38
# File 'lib/centrifuge.rb', line 32

def logger
  @logger ||= begin
    log = Logger.new($stdout)
    log.level = Logger::INFO
    log
  end
end

Class Method Details

.default_clientObject



40
41
42
# File 'lib/centrifuge.rb', line 40

def default_client
  @default_client ||= Centrifuge::Client.new
end