Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 6f2055b505
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.292 kB
module BreweryDB
module Resources
class Brewery < Resource
attr_reader :id
def initialize(config, options={})
@id = options[:id]
super(config)
end
def beers(params={})
get("brewery/#{id}/beers", params).data
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.