Sha256: 57234d3a5a9e06604fd10d928ded8c5eaf0b3aafd9677f0a78ae804446c1c89f

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

# encoding: UTF-8
require 'active_support'
require 'tinder/connection'
require 'tinder/campfire'
require 'tinder/room'
require 'logger'

module Tinder
  class Error < StandardError; end
  class SSLRequiredError < Error; end
  class AuthenticationFailed < Error; end
  class ListenFailed < Error; end

  def self.logger
    @logger ||= Logger.new(ENV['TINDER_LOGGING'] ? STDOUT : nil)
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tinder-1.8.0 lib/tinder.rb