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, ={}) respond_with_resource get_beer(id, ), 'beer' end |
#beers(options = {}) ⇒ Object
6 7 8 |
# File 'lib/beerbelly/client/beer.rb', line 6 def beers(={}) respond_with_resource get_beers(), 'beers' end |