Sha256: e83524b07fa93fb9edb74f1ac81207b759487459742992ab30f7fcaa4a9ca646
Contents?: true
Size: 519 Bytes
Versions: 2
Compression:
Stored size: 519 Bytes
Contents
require 'faraday' require "get_response/version" require "get_response/request" require "get_response/api" require "get_response/response" require 'logger' module GetResponse class << self def configure yield(configuration) configuration.logger ||= Logger.new(STDOUT) end def configuration @config ||= Config.new end alias_method :config, :configuration end class Config attr_accessor :api_key, :verbose, :api_endpoint, :domain_header, :api_version, :logger end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
get_response-0.1.2 | lib/get_response.rb |
get_response-0.1.1 | lib/get_response.rb |