Module: Beerbelly::Client::Beer

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

Instance Method Summary collapse

Instance Method Details

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



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

def beer(id, options={})
  respond_with_resource get_beer(id, options), 'beer'
end

#beers(options = {}) ⇒ Object



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

def beers(options={})
  respond_with_resource get_beers(options), 'beers'
end