Module: Beerbelly::Client::Brewery

Included in:
Beerbelly::Client
Defined in:
lib/beerbelly/client/brewery.rb

Instance Method Summary collapse

Instance Method Details

#breweries(options = {}) ⇒ Object



6
7
8
# File 'lib/beerbelly/client/brewery.rb', line 6

def breweries(options={})
  respond_with_resource get_breweries(options), 'breweries'
end

#brewery(id, options = {}) ⇒ Object



10
11
12
# File 'lib/beerbelly/client/brewery.rb', line 10

def brewery(id, options={})
  respond_with_resource get_brewery(id, options), 'brewery'
end