Sha256: d862fe18d7630ac2b8944a3baa6219319bff69b54227a9a1b6b2dcd6373b5a60

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

require 'net/http'
require 'logger'
require 'json'

require 'web_client/version'
require 'web_client/extensions/string'
require 'web_client/request'
require 'web_client/response'
require 'web_client/connection'
require 'web_client/error'

module WebClient

  def self.logger
    @@logger ||= defined?(Rails) ? Rails.logger : Logger.new($stdout)
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
web_client-0.0.4 lib/web_client.rb