class Beerbelly::Configuration
Attributes
access_token[RW]
Public Instance Methods
base_url()
click to toggle source
# File lib/beerbelly/configuration.rb, line 7 def base_url "http://api.openbeerdatabase.com/#{current_version}" end
to_hash()
click to toggle source
# File lib/beerbelly/configuration.rb, line 11 def to_hash { token: access_token } end
Private Instance Methods
current_version()
click to toggle source
# File lib/beerbelly/configuration.rb, line 17 def current_version 'v1/' end