Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6f2055b505
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (19 sloc) 0.491 kb
require 'faraday'
module BreweryDB
class Config
BASE_URI = 'http://api.brewerydb.com/v2'
USER_AGENT = "BreweryDB Ruby Gem #{BreweryDB::VERSION}"
TIMEOUT = 60
attr_accessor :adapter
attr_accessor :api_key
attr_accessor :base_uri
attr_accessor :timeout
attr_accessor :user_agent
def initialize
self.adapter = Faraday.default_adapter
self.base_uri = BASE_URI
self.timeout = TIMEOUT
self.user_agent = USER_AGENT
end
end
end
Jump to Line
Something went wrong with that request. Please try again.