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(={}) respond_with_resource get_breweries(), 'breweries' end |
#brewery(id, options = {}) ⇒ Object
10 11 12 |
# File 'lib/beerbelly/client/brewery.rb', line 10 def brewery(id, ={}) respond_with_resource get_brewery(id, ), 'brewery' end |