Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Implement styles endpoints.

  • Loading branch information...
commit 84f0c80c83fec2d05ac2faa6446ccea5d11d9216 1 parent eed663b
@tylerhunt authored
View
1  lib/brewery_db.rb
@@ -9,6 +9,7 @@ module BreweryDB
module Resources
autoload :Beers, 'brewery_db/resources/beers'
autoload :Breweries, 'brewery_db/resources/breweries'
+ autoload :Styles, 'brewery_db/resources/styles'
end
extend self
View
13 lib/brewery_db/resources/styles.rb
@@ -0,0 +1,13 @@
+module BreweryDB
+ module Resources
+ class Styles < Resource
+ def all(params={})
+ get('/styles', params)
+ end
+
+ def find(id, params={})
+ get('/style/%s' % id, params)
+ end
+ end
+ end
+end
View
94 spec/brewery_db/resources/styles_spec.rb
@@ -0,0 +1,94 @@
+# encoding: UTF-8
+
+require 'spec_helper'
+
+describe BreweryDB::Resources::Styles do
+ let(:client) { BreweryDB::Client.new }
+
+ before do
+ client.configure do |config|
+ config.api_key = 'A1029384756B'
+ config.endpoint = 'http://api.playground.brewerydb.com'
+ end
+ end
+
+ around do |example|
+ VCR.use_cassette('styles', record: :new_episodes) { example.call }
+ end
+
+ context '#all' do
+ let(:response) { described_class.new(client).all }
+
+ subject { response }
+
+ its(:current_page) { should be_nil }
+ its(:number_of_pages) { should be_nil }
+ its(:status) { should == 'success' }
+ its(:data) { should be_a(Array) }
+ its(:data) { should have(98).results }
+
+ context 'result' do
+ subject { response.data.first }
+
+ it { should have(17).keys }
+
+ its(:id) { should == 1 }
+ its(:name) { should == 'Lite American Lager' }
+ its(:'category.id') { should == 1 }
+ its(:'category.name') { should == 'Light Lager' }
+ its(:'category.bjcp_category') { should == '1' }
+ its(:'category.create_date') { should == '2012-04-04 04:00:04' }
+ its(:category_id) { should == 1 }
+ its(:bjcp_subcategory) { should == 'A' }
+ its(:simple_url) { should == 'lite-american-lager' }
+ its(:ibu_min) { should == '8' }
+ its(:ibu_max) { should == '12' }
+ its(:abv_min) { should == '2.8' }
+ its(:abv_max) { should == '4.2' }
+ its(:srm_min) { should == '2' }
+ its(:srm_max) { should == '3' }
+ its(:og_min) { should == '1.028' }
+ its(:og_max) { should == '1.04' }
+ its(:fg_min) { should == '0.998' }
+ its(:fg_max) { should == '1.008' }
+ its(:create_date) { should == '2012-04-04 04:00:04' }
+ its(:update_date) { should be_nil }
+ end
+ end
+
+ context '#find' do
+ let(:response) { described_class.new(client).find(1) }
+
+ subject { response }
+
+ its(:status) { should == 'success' }
+
+ context 'data' do
+ subject { response.data }
+
+ it { should have(17).keys }
+
+ its(:id) { should == 1 }
+ its(:name) { should == 'Lite American Lager' }
+ its(:'category.id') { should == 1 }
+ its(:'category.name') { should == 'Light Lager' }
+ its(:'category.bjcp_category') { should == '1' }
+ its(:'category.create_date') { should == '2012-04-04 04:00:04' }
+ its(:category_id) { should == 1 }
+ its(:bjcp_subcategory) { should == 'A' }
+ its(:simple_url) { should == 'lite-american-lager' }
+ its(:ibu_min) { should == '8' }
+ its(:ibu_max) { should == '12' }
+ its(:abv_min) { should == '2.8' }
+ its(:abv_max) { should == '4.2' }
+ its(:srm_min) { should == '2' }
+ its(:srm_max) { should == '3' }
+ its(:og_min) { should == '1.028' }
+ its(:og_max) { should == '1.04' }
+ its(:fg_min) { should == '0.998' }
+ its(:fg_max) { should == '1.008' }
+ its(:create_date) { should == '2012-04-04 04:00:04' }
+ its(:update_date) { should be_nil }
+ end
+ end
+end
View
354 spec/fixtures/styles.yml
@@ -0,0 +1,354 @@
+---
+http_interactions:
+- request:
+ method: get
+ uri: http://api.playground.brewerydb.com/styles?key=A1029384756B
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - BreweryDB Ruby Gem 0.0.1
+ response:
+ status:
+ code: 200
+ message:
+ headers:
+ date:
+ - Wed, 04 Apr 2012 15:25:02 GMT
+ server:
+ - Apache/2.2.21 (Amazon)
+ x-powered-by:
+ - PHP/5.3.10
+ x-ratelimit-limit:
+ - Unlimited
+ x-ratelimit-remaining:
+ - Unlimited
+ connection:
+ - close
+ transfer-encoding:
+ - chunked
+ content-type:
+ - application/json
+ body:
+ encoding: US-ASCII
+ string: ! '{"message":"Request Successful","data":[{"id":1,"categoryId":1,"category":{"id":1,"name":"Light
+ Lager","bjcpCategory":"1","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Lite
+ American Lager","simpleUrl":"lite-american-lager","ibuMin":"8","ibuMax":"12","abvMin":"2.8","abvMax":"4.2","srmMin":"2","srmMax":"3","ogMin":"1.028","ogMax":"1.04","fgMin":"0.998","fgMax":"1.008","createDate":"2012-04-04
+ 04:00:04"},{"id":2,"categoryId":1,"category":{"id":1,"name":"Light Lager","bjcpCategory":"1","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"B","name":"Standard American Lager","simpleUrl":"standard-american-lager","ibuMin":"8","ibuMax":"15","abvMin":"4.2","abvMax":"5.3","srmMin":"2","srmMax":"4","ogMin":"1.04","ogMax":"1.05","fgMin":"1.004","fgMax":"1.01","createDate":"2012-04-04
+ 04:00:04"},{"id":3,"categoryId":1,"category":{"id":1,"name":"Light Lager","bjcpCategory":"1","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"C","name":"Premium American Lager","simpleUrl":"premium-american-lager","ibuMin":"15","ibuMax":"25","abvMin":"4.6","abvMax":"6","srmMin":"2","srmMax":"6","ogMin":"1.046","ogMax":"1.056","fgMin":"1.008","fgMax":"1.012","createDate":"2012-04-04
+ 04:00:04"},{"id":4,"categoryId":1,"category":{"id":1,"name":"Light Lager","bjcpCategory":"1","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"D","name":"Munich Helles","simpleUrl":"munich-helles","ibuMin":"16","ibuMax":"22","abvMin":"4.7","abvMax":"5.4","srmMin":"3","srmMax":"5","ogMin":"1.045","ogMax":"1.051","fgMin":"1.008","fgMax":"1.012","createDate":"2012-04-04
+ 04:00:04"},{"id":5,"categoryId":1,"category":{"id":1,"name":"Light Lager","bjcpCategory":"1","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"E","name":"Dortmunder Export","simpleUrl":"dortmunder-export","ibuMin":"23","ibuMax":"30","abvMin":"4.8","abvMax":"6","srmMin":"4","srmMax":"6","ogMin":"1.048","ogMax":"1.056","fgMin":"1.01","fgMax":"1.015","createDate":"2012-04-04
+ 04:00:04"},{"id":6,"categoryId":2,"category":{"id":2,"name":"Pilsner","bjcpCategory":"2","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"A","name":"German Pilsner (Pils)","simpleUrl":"german-pilsner","ibuMin":"25","ibuMax":"45","abvMin":"4.4","abvMax":"5.2","srmMin":"2","srmMax":"5","ogMin":"1.044","ogMax":"1.05","fgMin":"1.008","fgMax":"1.013","createDate":"2012-04-04
+ 04:00:04"},{"id":7,"categoryId":2,"category":{"id":2,"name":"Pilsner","bjcpCategory":"2","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"B","name":"Bohemian Pilsener","simpleUrl":"bohemian-pilsener","ibuMin":"35","ibuMax":"45","abvMin":"4.2","abvMax":"5.4","srmMin":"4","srmMax":"6","ogMin":"1.044","ogMax":"1.056","fgMin":"1.013","fgMax":"1.017","createDate":"2012-04-04
+ 04:00:04"},{"id":8,"categoryId":2,"category":{"id":2,"name":"Pilsner","bjcpCategory":"2","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"C","name":"Classic American Pilsner","simpleUrl":"classic-american-pilsner","ibuMin":"25","ibuMax":"40","abvMin":"4.5","abvMax":"6","srmMin":"3","srmMax":"6","ogMin":"1.044","ogMax":"1.06","fgMin":"1.01","fgMax":"1.015","createDate":"2012-04-04
+ 04:00:04"},{"id":9,"categoryId":3,"category":{"id":3,"name":"European Amber
+ Lager","bjcpCategory":"3","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Vienna
+ Lager","simpleUrl":"vienna-lager","ibuMin":"18","ibuMax":"30","abvMin":"4.5","abvMax":"5.5","srmMin":"10","srmMax":"16","ogMin":"1.046","ogMax":"1.052","fgMin":"1.01","fgMax":"1.014","createDate":"2012-04-04
+ 04:00:04"},{"id":10,"categoryId":3,"category":{"id":3,"name":"European Amber
+ Lager","bjcpCategory":"3","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Oktoberfest\/M\u00e4rzen","simpleUrl":"oktoberfest-marzen","ibuMin":"20","ibuMax":"28","abvMin":"4.8","abvMax":"5.7","srmMin":"7","srmMax":"14","ogMin":"1.05","ogMax":"1.057","fgMin":"1.012","fgMax":"1.016","createDate":"2012-04-04
+ 04:00:04"},{"id":11,"categoryId":4,"category":{"id":4,"name":"Dark Lager","bjcpCategory":"4","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"A","name":"Dark American Lager","simpleUrl":"dark-american-lager","ibuMin":"8","ibuMax":"20","abvMin":"4.2","abvMax":"6","srmMin":"14","srmMax":"22","ogMin":"1.044","ogMax":"1.056","fgMin":"1.008","fgMax":"1.012","createDate":"2012-04-04
+ 04:00:04"},{"id":12,"categoryId":4,"category":{"id":4,"name":"Dark Lager","bjcpCategory":"4","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"B","name":"Munich Dunkel","simpleUrl":"munich-dunkel","ibuMin":"18","ibuMax":"28","abvMin":"4.5","abvMax":"5.6","srmMin":"14","srmMax":"28","ogMin":"1.048","ogMax":"1.056","fgMin":"1.01","fgMax":"1.016","createDate":"2012-04-04
+ 04:00:04"},{"id":13,"categoryId":4,"category":{"id":4,"name":"Dark Lager","bjcpCategory":"4","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"C","name":"Schwarzbier","simpleUrl":"schwarzbier","ibuMin":"22","ibuMax":"32","abvMin":"4.4","abvMax":"5.4","srmMin":"17","srmMax":"30","ogMin":"1.046","ogMax":"1.052","fgMin":"1.01","fgMax":"1.016","createDate":"2012-04-04
+ 04:00:04"},{"id":14,"categoryId":5,"category":{"id":5,"name":"Bock","bjcpCategory":"5","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"A","name":"Maibock\/Helles Bock","simpleUrl":"maibock\/helles-bock","ibuMin":"23","ibuMax":"35","abvMin":"6.3","abvMax":"7.4","srmMin":"6","srmMax":"11","ogMin":"1.064","ogMax":"1.072","fgMin":"1.011","fgMax":"1.018","createDate":"2012-04-04
+ 04:00:04"},{"id":15,"categoryId":5,"category":{"id":5,"name":"Bock","bjcpCategory":"5","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"B","name":"Traditional Bock","simpleUrl":"traditional-bock","ibuMin":"20","ibuMax":"27","abvMin":"6.3","abvMax":"7.2","srmMin":"14","srmMax":"22","ogMin":"1.064","ogMax":"1.072","fgMin":"1.013","fgMax":"1.019","createDate":"2012-04-04
+ 04:00:04"},{"id":16,"categoryId":5,"category":{"id":5,"name":"Bock","bjcpCategory":"5","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"C","name":"Doppelbock","simpleUrl":"doppelbock","ibuMin":"16","ibuMax":"26","abvMin":"7","abvMax":"10","srmMin":"6","srmMax":"25","ogMin":"1.072","ogMax":"1.112","fgMin":"1.016","fgMax":"1.024","createDate":"2012-04-04
+ 04:00:04"},{"id":17,"categoryId":5,"category":{"id":5,"name":"Bock","bjcpCategory":"5","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"D","name":"Eisbock","simpleUrl":"eisbock","ibuMin":"25","ibuMax":"35","abvMin":"9","abvMax":"14","srmMin":"18","srmMax":"30","ogMin":"1.078","ogMax":"1.12","fgMin":"1.02","fgMax":"1.035","createDate":"2012-04-04
+ 04:00:04"},{"id":18,"categoryId":6,"category":{"id":6,"name":"Light Hybrid
+ Beer","bjcpCategory":"6","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Cream
+ Ale","simpleUrl":"cream-ale","ibuMin":"15","ibuMax":"20","abvMin":"4.2","abvMax":"5.6","srmMin":"3","srmMax":"5","ogMin":"1.042","ogMax":"1.055","fgMin":"1.006","fgMax":"1.012","createDate":"2012-04-04
+ 04:00:04"},{"id":19,"categoryId":6,"category":{"id":6,"name":"Light Hybrid
+ Beer","bjcpCategory":"6","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Blonde
+ Ale","simpleUrl":"blonde-ale","ibuMin":"15","ibuMax":"28","abvMin":"3.8","abvMax":"5.5","srmMin":"3","srmMax":"6","ogMin":"1.038","ogMax":"1.054","fgMin":"1.008","fgMax":"1.013","createDate":"2012-04-04
+ 04:00:04"},{"id":20,"categoryId":6,"category":{"id":6,"name":"Light Hybrid
+ Beer","bjcpCategory":"6","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"K\u00f6lsch","simpleUrl":"kolsch","ibuMin":"20","ibuMax":"30","abvMin":"4.4","abvMax":"5.2","srmMin":"4","srmMax":"5","ogMin":"1.044","ogMax":"1.05","fgMin":"1.007","fgMax":"1.011","createDate":"2012-04-04
+ 04:00:04"},{"id":21,"categoryId":6,"category":{"id":6,"name":"Light Hybrid
+ Beer","bjcpCategory":"6","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"D","name":"American
+ Wheat or Rye Beer","simpleUrl":"american-wheat-or-rye-beer","ibuMin":"15","ibuMax":"30","abvMin":"4","abvMax":"5.5","srmMin":"3","srmMax":"6","ogMin":"1.04","ogMax":"1.055","fgMin":"1.008","fgMax":"1.013","createDate":"2012-04-04
+ 04:00:04"},{"id":22,"categoryId":7,"category":{"id":7,"name":"Amber Hybrid
+ Beer","bjcpCategory":"7","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"North
+ German Altbier","simpleUrl":"north-german-altbier","ibuMin":"25","ibuMax":"40","abvMin":"4.5","abvMax":"5.2","srmMin":"13","srmMax":"19","ogMin":"1.046","ogMax":"1.054","fgMin":"1.01","fgMax":"1.015","createDate":"2012-04-04
+ 04:00:04"},{"id":23,"categoryId":7,"category":{"id":7,"name":"Amber Hybrid
+ Beer","bjcpCategory":"7","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"California
+ Common Beer","simpleUrl":"california-common-beer","ibuMin":"30","ibuMax":"45","abvMin":"4.5","abvMax":"5.5","srmMin":"10","srmMax":"14","ogMin":"1.048","ogMax":"1.054","fgMin":"1.011","fgMax":"1.014","createDate":"2012-04-04
+ 04:00:04"},{"id":24,"categoryId":7,"category":{"id":7,"name":"Amber Hybrid
+ Beer","bjcpCategory":"7","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"D\u00fcsseldorf
+ Altbier","simpleUrl":"dusseldorf-altbier","ibuMin":"35","ibuMax":"50","abvMin":"4.5","abvMax":"5.2","srmMin":"11","srmMax":"17","ogMin":"1.046","ogMax":"1.054","fgMin":"1.01","fgMax":"1.015","createDate":"2012-04-04
+ 04:00:04"},{"id":25,"categoryId":8,"category":{"id":8,"name":"English Pale
+ Ale","bjcpCategory":"8","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Standard\/Ordinary
+ Bitter","simpleUrl":"standard-ordinary-bitter","ibuMin":"25","ibuMax":"35","abvMin":"3.2","abvMax":"3.8","srmMin":"4","srmMax":"14","ogMin":"1.032","ogMax":"1.04","fgMin":"1.007","fgMax":"1.011","createDate":"2012-04-04
+ 04:00:04"},{"id":26,"categoryId":8,"category":{"id":8,"name":"English Pale
+ Ale","bjcpCategory":"8","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Special\/Best\/Premium
+ Bitter","simpleUrl":"special-best-premium-bitter","ibuMin":"25","ibuMax":"40","abvMin":"3.8","abvMax":"4.6","srmMin":"5","srmMax":"16","ogMin":"1.04","ogMax":"1.048","fgMin":"1.008","fgMax":"1.012","createDate":"2012-04-04
+ 04:00:04"},{"id":27,"categoryId":8,"category":{"id":8,"name":"English Pale
+ Ale","bjcpCategory":"8","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"Extra
+ Special\/Strong Bitter (English Pale Ale)","simpleUrl":"extra-special-strong-bitter-english-pale-ale","ibuMin":"30","ibuMax":"50","abvMin":"4.6","abvMax":"6.2","srmMin":"6","srmMax":"18","ogMin":"1.048","ogMax":"1.06","fgMin":"1.01","fgMax":"1.016","createDate":"2012-04-04
+ 04:00:04"},{"id":28,"categoryId":9,"category":{"id":9,"name":"Scottish & Irish
+ Ale","bjcpCategory":"9","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Scottish
+ Light 60\/-","simpleUrl":"scottish-light-60","ibuMin":"10","ibuMax":"20","abvMin":"2.5","abvMax":"3.2","srmMin":"9","srmMax":"17","ogMin":"1.03","ogMax":"1.035","fgMin":"1.01","fgMax":"1.013","createDate":"2012-04-04
+ 04:00:04"},{"id":29,"categoryId":9,"category":{"id":9,"name":"Scottish & Irish
+ Ale","bjcpCategory":"9","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Scottish
+ Heavy 70\/-","simpleUrl":"scottish-heavy-70","ibuMin":"10","ibuMax":"25","abvMin":"3.2","abvMax":"3.9","srmMin":"9","srmMax":"17","ogMin":"1.035","ogMax":"1.04","fgMin":"1.01","fgMax":"1.015","createDate":"2012-04-04
+ 04:00:04"},{"id":30,"categoryId":9,"category":{"id":9,"name":"Scottish & Irish
+ Ale","bjcpCategory":"9","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"Scottish
+ Export 80\/-","simpleUrl":"scottish-export-80","ibuMin":"15","ibuMax":"30","abvMin":"3.9","abvMax":"5","srmMin":"9","srmMax":"17","ogMin":"1.04","ogMax":"1.054","fgMin":"1.01","fgMax":"1.016","createDate":"2012-04-04
+ 04:00:04"},{"id":31,"categoryId":9,"category":{"id":9,"name":"Scottish & Irish
+ Ale","bjcpCategory":"9","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"D","name":"Irish
+ Red Ale","simpleUrl":"irish-red-ale","ibuMin":"17","ibuMax":"28","abvMin":"4","abvMax":"6","srmMin":"9","srmMax":"18","ogMin":"1.044","ogMax":"1.06","fgMin":"1.01","fgMax":"1.014","createDate":"2012-04-04
+ 04:00:04"},{"id":32,"categoryId":9,"category":{"id":9,"name":"Scottish & Irish
+ Ale","bjcpCategory":"9","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"E","name":"Strong
+ Scotch Ale","simpleUrl":"strong-scotch-ale","ibuMin":"17","ibuMax":"35","abvMin":"6.5","abvMax":"10","srmMin":"14","srmMax":"25","ogMin":"1.07","ogMax":"1.13","fgMin":"1.018","fgMax":"1.056","createDate":"2012-04-04
+ 04:00:04"},{"id":33,"categoryId":10,"category":{"id":10,"name":"American Ale","bjcpCategory":"10","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"A","name":"American Pale Ale","simpleUrl":"american-pale-ale","ibuMin":"30","ibuMax":"45","abvMin":"4.5","abvMax":"6.2","srmMin":"5","srmMax":"14","ogMin":"1.045","ogMax":"1.06","fgMin":"1.01","fgMax":"1.015","createDate":"2012-04-04
+ 04:00:04"},{"id":34,"categoryId":10,"category":{"id":10,"name":"American Ale","bjcpCategory":"10","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"B","name":"American Amber Ale","simpleUrl":"american-amber-ale","ibuMin":"25","ibuMax":"40","abvMin":"4.5","abvMax":"6.2","srmMin":"10","srmMax":"17","ogMin":"1.045","ogMax":"1.06","fgMin":"1.01","fgMax":"1.015","createDate":"2012-04-04
+ 04:00:04"},{"id":35,"categoryId":10,"category":{"id":10,"name":"American Ale","bjcpCategory":"10","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"C","name":"American Brown Ale","simpleUrl":"american-brown-ale","ibuMin":"20","ibuMax":"40","abvMin":"4.3","abvMax":"6.2","srmMin":"18","srmMax":"35","ogMin":"1.045","ogMax":"1.06","fgMin":"1.01","fgMax":"1.016","createDate":"2012-04-04
+ 04:00:04"},{"id":36,"categoryId":11,"category":{"id":11,"name":"English Brown
+ Ale","bjcpCategory":"11","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Mild","simpleUrl":"mild","ibuMin":"10","ibuMax":"25","abvMin":"2.8","abvMax":"4.5","srmMin":"12","srmMax":"25","ogMin":"1.03","ogMax":"1.038","fgMin":"1.008","fgMax":"1.013","createDate":"2012-04-04
+ 04:00:04"},{"id":37,"categoryId":11,"category":{"id":11,"name":"English Brown
+ Ale","bjcpCategory":"11","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Southern
+ English Brown Ale","simpleUrl":"southern-english-brown-ale","ibuMin":"12","ibuMax":"20","abvMin":"2.8","abvMax":"4.1","srmMin":"19","srmMax":"35","ogMin":"1.033","ogMax":"1.042","fgMin":"1.011","fgMax":"1.014","createDate":"2012-04-04
+ 04:00:04"},{"id":38,"categoryId":11,"category":{"id":11,"name":"English Brown
+ Ale","bjcpCategory":"11","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"Northern
+ English Brown Ale","simpleUrl":"northern-english-brown-ale","ibuMin":"20","ibuMax":"30","abvMin":"4.2","abvMax":"5.4","srmMin":"12","srmMax":"22","ogMin":"1.04","ogMax":"1.052","fgMin":"1.008","fgMax":"1.013","createDate":"2012-04-04
+ 04:00:04"},{"id":39,"categoryId":12,"category":{"id":12,"name":"Porter","bjcpCategory":"12","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"A","name":"Brown Porter","simpleUrl":"brown-porter","ibuMin":"18","ibuMax":"35","abvMin":"4","abvMax":"5.4","srmMin":"20","srmMax":"30","ogMin":"1.04","ogMax":"1.052","fgMin":"1.008","fgMax":"1.014","createDate":"2012-04-04
+ 04:00:04"},{"id":40,"categoryId":12,"category":{"id":12,"name":"Porter","bjcpCategory":"12","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"B","name":"Robust Porter","simpleUrl":"robust-porter","ibuMin":"25","ibuMax":"50","abvMin":"4.8","abvMax":"6.5","srmMin":"22","srmMax":"35","ogMin":"1.048","ogMax":"1.065","fgMin":"1.012","fgMax":"1.016","createDate":"2012-04-04
+ 04:00:04"},{"id":41,"categoryId":12,"category":{"id":12,"name":"Porter","bjcpCategory":"12","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"C","name":"Baltic Porter","simpleUrl":"baltic-porter","ibuMin":"20","ibuMax":"40","abvMin":"5.5","abvMax":"9.5","srmMin":"17","srmMax":"30","ogMin":"1.06","ogMax":"1.09","fgMin":"1.016","fgMax":"1.024","createDate":"2012-04-04
+ 04:00:04"},{"id":42,"categoryId":13,"category":{"id":13,"name":"Stout","bjcpCategory":"13","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"A","name":"Dry Stout","simpleUrl":"dry-stout","ibuMin":"30","ibuMax":"45","abvMin":"4","abvMax":"5","srmMin":"25","srmMax":"40","ogMin":"1.036","ogMax":"1.05","fgMin":"1.007","fgMax":"1.011","createDate":"2012-04-04
+ 04:00:04"},{"id":43,"categoryId":13,"category":{"id":13,"name":"Stout","bjcpCategory":"13","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"B","name":"Sweet Stout","simpleUrl":"sweet-stout","ibuMin":"20","ibuMax":"40","abvMin":"4","abvMax":"6","srmMin":"30","srmMax":"40","ogMin":"1.044","ogMax":"1.06","fgMin":"1.012","fgMax":"1.024","createDate":"2012-04-04
+ 04:00:04"},{"id":44,"categoryId":13,"category":{"id":13,"name":"Stout","bjcpCategory":"13","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"C","name":"Oatmeal Stout","simpleUrl":"oatmeal-stout","ibuMin":"25","ibuMax":"40","abvMin":"4.2","abvMax":"5.9","srmMin":"22","srmMax":"40","ogMin":"1.048","ogMax":"1.065","fgMin":"1.01","fgMax":"1.018","createDate":"2012-04-04
+ 04:00:04"},{"id":45,"categoryId":13,"category":{"id":13,"name":"Stout","bjcpCategory":"13","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"D","name":"Foreign Extra Stout","simpleUrl":"foreign-extra-stout","ibuMin":"30","ibuMax":"70","abvMin":"5.5","abvMax":"8","srmMin":"30","srmMax":"40","ogMin":"1.056","ogMax":"1.075","fgMin":"1.01","fgMax":"1.018","createDate":"2012-04-04
+ 04:00:04"},{"id":46,"categoryId":13,"category":{"id":13,"name":"Stout","bjcpCategory":"13","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"E","name":"American Stout","simpleUrl":"american-stout","ibuMin":"35","ibuMax":"75","abvMin":"5","abvMax":"7","srmMin":"30","srmMax":"40","ogMin":"1.05","ogMax":"1.075","fgMin":"1.01","fgMax":"1.022","createDate":"2012-04-04
+ 04:00:04"},{"id":47,"categoryId":13,"category":{"id":13,"name":"Stout","bjcpCategory":"13","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"F","name":"Imperial Stout","simpleUrl":"imperial-stout","ibuMin":"50","ibuMax":"90","abvMin":"8","abvMax":"12","srmMin":"30","srmMax":"40","ogMin":"1.075","ogMax":"1.115","fgMin":"1.018","fgMax":"1.03","createDate":"2012-04-04
+ 04:00:04"},{"id":48,"categoryId":14,"category":{"id":14,"name":"India Pale
+ Ale (IPA)","bjcpCategory":"14","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"English
+ IPA","simpleUrl":"english-ipa","ibuMin":"40","ibuMax":"60","abvMin":"5","abvMax":"7.5","srmMin":"8","srmMax":"14","ogMin":"1.05","ogMax":"1.075","fgMin":"1.01","fgMax":"1.018","createDate":"2012-04-04
+ 04:00:04"},{"id":49,"categoryId":14,"category":{"id":14,"name":"India Pale
+ Ale (IPA)","bjcpCategory":"14","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"American
+ IPA","simpleUrl":"american-ipa","ibuMin":"40","ibuMax":"70","abvMin":"5.5","abvMax":"7.5","srmMin":"6","srmMax":"15","ogMin":"1.056","ogMax":"1.075","fgMin":"1.01","fgMax":"1.018","createDate":"2012-04-04
+ 04:00:04"},{"id":50,"categoryId":14,"category":{"id":14,"name":"India Pale
+ Ale (IPA)","bjcpCategory":"14","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"Imperial
+ IPA","simpleUrl":"imperial-ipa","ibuMin":"60","ibuMax":"120","abvMin":"7.5","abvMax":"10","srmMin":"8","srmMax":"15","ogMin":"1.07","ogMax":"1.09","fgMin":"1.01","fgMax":"1.02","createDate":"2012-04-04
+ 04:00:04"},{"id":51,"categoryId":15,"category":{"id":15,"name":"German Wheat
+ & Rye Beer","bjcpCategory":"15","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Weizen\/Weissbier","simpleUrl":"weizen-weissbier","ibuMin":"8","ibuMax":"15","abvMin":"4.3","abvMax":"5.6","srmMin":"2","srmMax":"8","ogMin":"1.044","ogMax":"1.052","fgMin":"1.01","fgMax":"1.014","createDate":"2012-04-04
+ 04:00:04"},{"id":52,"categoryId":15,"category":{"id":15,"name":"German Wheat
+ & Rye Beer","bjcpCategory":"15","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Dunkelweizen","simpleUrl":"dunkelweizen","ibuMin":"10","ibuMax":"18","abvMin":"4.3","abvMax":"5.6","srmMin":"14","srmMax":"23","ogMin":"1.044","ogMax":"1.056","fgMin":"1.01","fgMax":"1.014","createDate":"2012-04-04
+ 04:00:04"},{"id":53,"categoryId":15,"category":{"id":15,"name":"German Wheat
+ & Rye Beer","bjcpCategory":"15","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"Weizenbock","simpleUrl":"weizenbock","ibuMin":"15","ibuMax":"30","abvMin":"6.5","abvMax":"8","srmMin":"12","srmMax":"25","ogMin":"1.064","ogMax":"1.09","fgMin":"1.015","fgMax":"1.022","createDate":"2012-04-04
+ 04:00:04"},{"id":54,"categoryId":15,"category":{"id":15,"name":"German Wheat
+ & Rye Beer","bjcpCategory":"15","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"D","name":"Roggenbier
+ (German Rye Beer)","simpleUrl":"roggenbier-german-rye-beer","ibuMin":"10","ibuMax":"20","abvMin":"4.5","abvMax":"6","srmMin":"14","srmMax":"19","ogMin":"1.046","ogMax":"1.056","fgMin":"1.01","fgMax":"1.014","createDate":"2012-04-04
+ 04:00:04"},{"id":55,"categoryId":16,"category":{"id":16,"name":"Belgian &
+ French Ale","bjcpCategory":"16","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Witbier","simpleUrl":"witbier","ibuMin":"10","ibuMax":"20","abvMin":"4.5","abvMax":"5.5","srmMin":"2","srmMax":"4","ogMin":"1.044","ogMax":"1.052","fgMin":"1.008","fgMax":"1.012","createDate":"2012-04-04
+ 04:00:04"},{"id":56,"categoryId":16,"category":{"id":16,"name":"Belgian &
+ French Ale","bjcpCategory":"16","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Belgian
+ Pale Ale","simpleUrl":"belgian-pale-ale","ibuMin":"20","ibuMax":"30","abvMin":"4.8","abvMax":"5.5","srmMin":"8","srmMax":"14","ogMin":"1.048","ogMax":"1.054","fgMin":"1.01","fgMax":"1.014","createDate":"2012-04-04
+ 04:00:04"},{"id":57,"categoryId":16,"category":{"id":16,"name":"Belgian &
+ French Ale","bjcpCategory":"16","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"Saison","simpleUrl":"saison","ibuMin":"20","ibuMax":"35","abvMin":"5","abvMax":"7","srmMin":"5","srmMax":"14","ogMin":"1.048","ogMax":"1.065","fgMin":"1.002","fgMax":"1.012","createDate":"2012-04-04
+ 04:00:04"},{"id":58,"categoryId":16,"category":{"id":16,"name":"Belgian &
+ French Ale","bjcpCategory":"16","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"D","name":"Bi\u00e8re
+ de Garde","simpleUrl":"biere-de-garde","ibuMin":"18","ibuMax":"28","abvMin":"6","abvMax":"8.5","srmMin":"6","srmMax":"19","ogMin":"1.06","ogMax":"1.08","fgMin":"1.008","fgMax":"1.016","createDate":"2012-04-04
+ 04:00:04"},{"id":59,"categoryId":16,"category":{"id":16,"name":"Belgian &
+ French Ale","bjcpCategory":"16","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"E","name":"Belgian
+ Specialty Ale","simpleUrl":"belgian-specialty-ale","createDate":"2012-04-04
+ 04:00:04"},{"id":60,"categoryId":17,"category":{"id":17,"name":"Sour Ale","bjcpCategory":"17","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"A","name":"Berliner Weisse","simpleUrl":"berliner-weisse","ibuMin":"3","ibuMax":"8","abvMin":"2.8","abvMax":"3.8","srmMin":"2","srmMax":"3","ogMin":"1.028","ogMax":"1.032","fgMin":"1.003","fgMax":"1.006","createDate":"2012-04-04
+ 04:00:04"},{"id":61,"categoryId":17,"category":{"id":17,"name":"Sour Ale","bjcpCategory":"17","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"B","name":"Flanders Red Ale","simpleUrl":"flanders-red-ale","ibuMin":"10","ibuMax":"25","abvMin":"4.6","abvMax":"6.5","srmMin":"10","srmMax":"16","ogMin":"1.048","ogMax":"1.057","fgMin":"1.002","fgMax":"1.012","createDate":"2012-04-04
+ 04:00:04"},{"id":62,"categoryId":17,"category":{"id":17,"name":"Sour Ale","bjcpCategory":"17","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"C","name":"Flanders Brown Ale\/Oud Bruin","simpleUrl":"flanders-brown-ale-oud-bruin","ibuMin":"20","ibuMax":"25","abvMin":"4","abvMax":"8","srmMin":"15","srmMax":"22","ogMin":"1.04","ogMax":"1.074","fgMin":"1.008","fgMax":"1.012","createDate":"2012-04-04
+ 04:00:04"},{"id":63,"categoryId":17,"category":{"id":17,"name":"Sour Ale","bjcpCategory":"17","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"D","name":"Straight (Unblended) Lambic","simpleUrl":"straight-unblended-lambic","ibuMax":"10","abvMin":"5","abvMax":"6.5","srmMin":"3","srmMax":"7","ogMin":"1.04","ogMax":"1.054","fgMin":"1.001","fgMax":"1.01","createDate":"2012-04-04
+ 04:00:04"},{"id":64,"categoryId":17,"category":{"id":17,"name":"Sour Ale","bjcpCategory":"17","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"E","name":"Gueuze","simpleUrl":"gueuze","ibuMax":"10","abvMin":"5","abvMax":"8","srmMin":"3","srmMax":"7","ogMin":"1.04","ogMax":"1.06","fgMin":"1","fgMax":"1.006","createDate":"2012-04-04
+ 04:00:04"},{"id":65,"categoryId":17,"category":{"id":17,"name":"Sour Ale","bjcpCategory":"17","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"F","name":"Fruit Lambic","simpleUrl":"fruit-lambic","ibuMax":"10","abvMin":"5","abvMax":"7","srmMin":"3","srmMax":"7","ogMin":"1.04","ogMax":"1.06","fgMin":"1","fgMax":"1.01","createDate":"2012-04-04
+ 04:00:04"},{"id":66,"categoryId":18,"category":{"id":18,"name":"Belgian Strong
+ Ale","bjcpCategory":"18","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Belgian
+ Blond Ale","simpleUrl":"belgian-blond-ale","ibuMin":"15","ibuMax":"30","abvMin":"6","abvMax":"7.5","srmMin":"4","srmMax":"7","ogMin":"1.062","ogMax":"1.075","fgMin":"1.008","fgMax":"1.018","createDate":"2012-04-04
+ 04:00:04"},{"id":67,"categoryId":18,"category":{"id":18,"name":"Belgian Strong
+ Ale","bjcpCategory":"18","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Belgian
+ Dubbel","simpleUrl":"belgian-dubbel","ibuMin":"15","ibuMax":"25","abvMin":"6","abvMax":"7.6","srmMin":"10","srmMax":"17","ogMin":"1.062","ogMax":"1.075","fgMin":"1.008","fgMax":"1.018","createDate":"2012-04-04
+ 04:00:04"},{"id":68,"categoryId":18,"category":{"id":18,"name":"Belgian Strong
+ Ale","bjcpCategory":"18","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"Belgian
+ Tripel","simpleUrl":"belgian-tripel","ibuMin":"20","ibuMax":"40","abvMin":"7.5","abvMax":"9.5","srmMin":"5","srmMax":"7","ogMin":"1.075","ogMax":"1.085","fgMin":"1.008","fgMax":"1.014","createDate":"2012-04-04
+ 04:00:04"},{"id":69,"categoryId":18,"category":{"id":18,"name":"Belgian Strong
+ Ale","bjcpCategory":"18","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"D","name":"Belgian
+ Golden Strong Ale","simpleUrl":"belgian-golden-strong-ale","ibuMin":"22","ibuMax":"35","abvMin":"7.5","abvMax":"10.5","srmMin":"3","srmMax":"6","ogMin":"1.07","ogMax":"1.095","fgMin":"1.005","fgMax":"1.016","createDate":"2012-04-04
+ 04:00:04"},{"id":70,"categoryId":18,"category":{"id":18,"name":"Belgian Strong
+ Ale","bjcpCategory":"18","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"E","name":"Belgian
+ Dark Strong Ale","simpleUrl":"belgian-dark-strong-ale","ibuMin":"20","ibuMax":"35","abvMin":"8","abvMax":"11","srmMin":"12","srmMax":"22","ogMin":"1.075","ogMax":"1.11","fgMin":"1.01","fgMax":"1.024","createDate":"2012-04-04
+ 04:00:04"},{"id":71,"categoryId":19,"category":{"id":19,"name":"Strong Ale","bjcpCategory":"19","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"A","name":"Old Ale","simpleUrl":"old-ale","ibuMin":"30","ibuMax":"60","abvMin":"6","abvMax":"9","srmMin":"10","srmMax":"22","ogMin":"1.06","ogMax":"1.09","fgMin":"1.015","fgMax":"1.022","createDate":"2012-04-04
+ 04:00:04"},{"id":72,"categoryId":19,"category":{"id":19,"name":"Strong Ale","bjcpCategory":"19","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"B","name":"English Barleywine","simpleUrl":"english-barleywine","ibuMin":"35","ibuMax":"70","abvMin":"8","abvMax":"12","srmMin":"8","srmMax":"22","ogMin":"1.08","ogMax":"1.12","fgMin":"1.018","fgMax":"1.03","createDate":"2012-04-04
+ 04:00:04"},{"id":73,"categoryId":19,"category":{"id":19,"name":"Strong Ale","bjcpCategory":"19","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"C","name":"American Barleywine","simpleUrl":"american-barleywine","ibuMin":"50","ibuMax":"120","abvMin":"8","abvMax":"12","srmMin":"10","srmMax":"19","ogMin":"1.08","ogMax":"1.12","fgMin":"1.016","fgMax":"1.03","createDate":"2012-04-04
+ 04:00:04"},{"id":74,"categoryId":21,"category":{"id":21,"name":"Spice\/Herb\/Vegetable
+ Beer","bjcpCategory":"21","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Spice,
+ Herb, or Vegetable Beer","simpleUrl":"spice-herb-or-vegetable-beer","createDate":"2012-04-04
+ 04:00:04"},{"id":75,"categoryId":21,"category":{"id":21,"name":"Spice\/Herb\/Vegetable
+ Beer","bjcpCategory":"21","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Christmas\/Winter
+ Specialty Spiced Beer","simpleUrl":"christmas-winter-specialty-spiced-beer","createDate":"2012-04-04
+ 04:00:04"},{"id":76,"categoryId":22,"category":{"id":22,"name":"Smoke-Flavored
+ & Wood-Aged Beer","bjcpCategory":"22","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Classic
+ Rauchbier","simpleUrl":"classic-rauchbier","ibuMin":"20","ibuMax":"30","abvMin":"4.8","abvMax":"6","srmMin":"12","srmMax":"22","ogMin":"1.05","ogMax":"1.057","fgMin":"1.012","fgMax":"1.016","createDate":"2012-04-04
+ 04:00:04"},{"id":77,"categoryId":22,"category":{"id":22,"name":"Smoke-Flavored
+ & Wood-Aged Beer","bjcpCategory":"22","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Other
+ Smoked Beer","simpleUrl":"other-smoked-beer","createDate":"2012-04-04 04:00:04"},{"id":78,"categoryId":22,"category":{"id":22,"name":"Smoke-Flavored
+ & Wood-Aged Beer","bjcpCategory":"22","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"Wood-Aged
+ Beer","simpleUrl":"wood-aged-beer","createDate":"2012-04-04 04:00:04"},{"id":79,"categoryId":24,"category":{"id":24,"name":"Traditional
+ Mead","bjcpCategory":"24","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Dry
+ Mead","simpleUrl":"dry-mead","createDate":"2012-04-04 04:00:04"},{"id":80,"categoryId":24,"category":{"id":24,"name":"Traditional
+ Mead","bjcpCategory":"24","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Semi-Sweet
+ Mead","simpleUrl":"semi-sweet-mead","createDate":"2012-04-04 04:00:04"},{"id":81,"categoryId":24,"category":{"id":24,"name":"Traditional
+ Mead","bjcpCategory":"24","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"Sweet
+ Mead","simpleUrl":"sweet-mead","createDate":"2012-04-04 04:00:04"},{"id":82,"categoryId":25,"category":{"id":25,"name":"Melomel
+ (Fruit Mead)","bjcpCategory":"25","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Cyser
+ (Apple Melomel)","simpleUrl":"cyser-apple-melomel","createDate":"2012-04-04
+ 04:00:04"},{"id":83,"categoryId":25,"category":{"id":25,"name":"Melomel (Fruit
+ Mead)","bjcpCategory":"25","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Pyment
+ (Grape Melomel)","simpleUrl":"pyment-grape-melomel","createDate":"2012-04-04
+ 04:00:04"},{"id":84,"categoryId":25,"category":{"id":25,"name":"Melomel (Fruit
+ Mead)","bjcpCategory":"25","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"Other
+ Fruit Melomel","simpleUrl":"other-fruit-melomel","createDate":"2012-04-04
+ 04:00:04"},{"id":85,"categoryId":26,"category":{"id":26,"name":"Other Mead","bjcpCategory":"26","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"A","name":"Metheglin","simpleUrl":"metheglin","createDate":"2012-04-04
+ 04:00:04"},{"id":86,"categoryId":26,"category":{"id":26,"name":"Other Mead","bjcpCategory":"26","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"B","name":"Braggot","simpleUrl":"braggot","createDate":"2012-04-04
+ 04:00:04"},{"id":87,"categoryId":26,"category":{"id":26,"name":"Other Mead","bjcpCategory":"26","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"C","name":"Open Category Mead","simpleUrl":"open-category-mead","createDate":"2012-04-04
+ 04:00:04"},{"id":88,"categoryId":27,"category":{"id":27,"name":"Standard Cider
+ & Perry","bjcpCategory":"27","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Common
+ Cider","simpleUrl":"common-cider","abvMin":"5","abvMax":"8","ogMin":"1.045","ogMax":"1.065","fgMin":"1","fgMax":"1.02","createDate":"2012-04-04
+ 04:00:04"},{"id":89,"categoryId":27,"category":{"id":27,"name":"Standard Cider
+ & Perry","bjcpCategory":"27","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"English
+ Cider","simpleUrl":"english-cider","abvMin":"6","abvMax":"9","ogMin":"1.05","ogMax":"1.075","fgMin":"0.995","fgMax":"1.01","createDate":"2012-04-04
+ 04:00:04"},{"id":90,"categoryId":27,"category":{"id":27,"name":"Standard Cider
+ & Perry","bjcpCategory":"27","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"French
+ Cider","simpleUrl":"french-cider","abvMin":"3","abvMax":"6","ogMin":"1.05","ogMax":"1.065","fgMin":"1.01","fgMax":"1.02","createDate":"2012-04-04
+ 04:00:04"},{"id":91,"categoryId":27,"category":{"id":27,"name":"Standard Cider
+ & Perry","bjcpCategory":"27","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"D","name":"Common
+ Perry","simpleUrl":"common-perry","abvMin":"5","abvMax":"7","ogMin":"1.05","ogMax":"1.06","fgMin":"1","fgMax":"1.02","createDate":"2012-04-04
+ 04:00:04"},{"id":92,"categoryId":27,"category":{"id":27,"name":"Standard Cider
+ & Perry","bjcpCategory":"27","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"E","name":"Traditional
+ Perry","simpleUrl":"traditional-perry","abvMin":"5","abvMax":"9","ogMin":"1.05","ogMax":"1.07","fgMin":"1","fgMax":"1.02","createDate":"2012-04-04
+ 04:00:04"},{"id":93,"categoryId":28,"category":{"id":28,"name":"Specialty
+ Cider & Perry","bjcpCategory":"28","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"New
+ England Cider","simpleUrl":"new-england-cider","abvMin":"7","abvMax":"13","ogMin":"1.06","ogMax":"1.1","fgMin":"0.995","fgMax":"1.01","createDate":"2012-04-04
+ 04:00:04"},{"id":94,"categoryId":28,"category":{"id":28,"name":"Specialty
+ Cider & Perry","bjcpCategory":"28","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"B","name":"Fruit
+ Cider","simpleUrl":"fruit-cider","abvMin":"5","abvMax":"9","ogMin":"1.045","ogMax":"1.07","fgMin":"0.995","fgMax":"1.01","createDate":"2012-04-04
+ 04:00:04"},{"id":95,"categoryId":28,"category":{"id":28,"name":"Specialty
+ Cider & Perry","bjcpCategory":"28","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"C","name":"Apple
+ Wine","simpleUrl":"apple-wine","abvMin":"9","abvMax":"12","ogMin":"1.07","ogMax":"1.1","fgMin":"0.995","fgMax":"1.01","createDate":"2012-04-04
+ 04:00:04"},{"id":96,"categoryId":28,"category":{"id":28,"name":"Specialty
+ Cider & Perry","bjcpCategory":"28","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"D","name":"Other
+ Specialty Cider or Perry","simpleUrl":"other-specialty-cider-or-perry","abvMin":"5","abvMax":"12","ogMin":"1.045","ogMax":"1.1","fgMin":"0.995","fgMax":"1.02","createDate":"2012-04-04
+ 04:00:04"},{"id":97,"categoryId":20,"category":{"id":20,"name":"Fruit Beer","bjcpCategory":"20","createDate":"2012-04-04
+ 04:00:04"},"name":"Fruit Beer","simpleUrl":"fruit-beer","createDate":"2012-04-04
+ 04:00:04"},{"id":98,"categoryId":23,"category":{"id":23,"name":"Specialty
+ Beer","bjcpCategory":"23","createDate":"2012-04-04 04:00:04"},"name":"Specialty
+ Beer","simpleUrl":"specialty-beer","createDate":"2012-04-04 04:00:04"}],"status":"success"}'
+ http_version:
+ recorded_at: Wed, 04 Apr 2012 15:25:03 GMT
+- request:
+ method: get
+ uri: http://api.playground.brewerydb.com/style/d1zSa7?key=A1029384756B
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - BreweryDB Ruby Gem 0.0.1
+ response:
+ status:
+ code: 200
+ message:
+ headers:
+ date:
+ - Wed, 04 Apr 2012 15:25:04 GMT
+ server:
+ - Apache/2.2.21 (Amazon)
+ x-powered-by:
+ - PHP/5.3.10
+ x-ratelimit-limit:
+ - Unlimited
+ x-ratelimit-remaining:
+ - Unlimited
+ content-length:
+ - '412'
+ connection:
+ - close
+ content-type:
+ - application/json
+ body:
+ encoding: US-ASCII
+ string: ! '{"message":"Request Successful","data":{"id":17,"categoryId":5,"category":{"id":5,"name":"Bock","bjcpCategory":"5","createDate":"2012-04-04
+ 04:00:04"},"bjcpSubcategory":"D","name":"Eisbock","simpleUrl":"eisbock","ibuMin":"25","ibuMax":"35","abvMin":"9","abvMax":"14","srmMin":"18","srmMax":"30","ogMin":"1.078","ogMax":"1.12","fgMin":"1.02","fgMax":"1.035","createDate":"2012-04-04
+ 04:00:04"},"status":"success"}'
+ http_version:
+ recorded_at: Wed, 04 Apr 2012 15:25:04 GMT
+- request:
+ method: get
+ uri: http://api.playground.brewerydb.com/style/1?key=A1029384756B
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ User-Agent:
+ - BreweryDB Ruby Gem 0.0.1
+ response:
+ status:
+ code: 200
+ message:
+ headers:
+ date:
+ - Wed, 04 Apr 2012 15:30:56 GMT
+ server:
+ - Apache/2.2.21 (Amazon)
+ x-powered-by:
+ - PHP/5.3.10
+ x-ratelimit-limit:
+ - Unlimited
+ x-ratelimit-remaining:
+ - Unlimited
+ content-length:
+ - '443'
+ connection:
+ - close
+ content-type:
+ - application/json
+ body:
+ encoding: US-ASCII
+ string: ! '{"message":"Request Successful","data":{"id":1,"categoryId":1,"category":{"id":1,"name":"Light
+ Lager","bjcpCategory":"1","createDate":"2012-04-04 04:00:04"},"bjcpSubcategory":"A","name":"Lite
+ American Lager","simpleUrl":"lite-american-lager","ibuMin":"8","ibuMax":"12","abvMin":"2.8","abvMax":"4.2","srmMin":"2","srmMax":"3","ogMin":"1.028","ogMax":"1.04","fgMin":"0.998","fgMax":"1.008","createDate":"2012-04-04
+ 04:00:04"},"status":"success"}'
+ http_version:
+ recorded_at: Wed, 04 Apr 2012 15:30:56 GMT
+recorded_with: VCR 2.0.0
Please sign in to comment.
Something went wrong with that request. Please try again.