reviewed 0.4.6 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/.ruby-version +1 -1
  3. data/lib/reviewed/article.rb +0 -1
  4. data/lib/reviewed/attachable.rb +14 -7
  5. data/lib/reviewed/product.rb +0 -1
  6. data/lib/reviewed/version.rb +1 -1
  7. data/spec/attachable_spec.rb +22 -0
  8. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/assigns_attachments_to_the_correct_class.yml +338 -289
  9. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_has_many_attachments.yml +237 -245
  10. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_have_any_matching_attachments.yml +280 -289
  11. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/finds_attachments_by_tag.yml +281 -301
  12. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/gets_gallery_attachments.yml +340 -324
  13. data/spec/fixtures/vcr/Reviewed_Article/associations/deals/has_many_deals.yml +237 -245
  14. data/spec/fixtures/vcr/Reviewed_Article/associations/pages/has_many_pages.yml +237 -245
  15. data/spec/fixtures/vcr/Reviewed_Article/associations/products/has_many_products.yml +237 -245
  16. data/spec/fixtures/vcr/Reviewed_Article/associations/products/returns_products_of_the_correct_class.yml +237 -245
  17. data/spec/fixtures/vcr/Reviewed_Article/associations/related_articles/has_many_related_articles.yml +237 -245
  18. data/spec/fixtures/vcr/Reviewed_Article/does_not_request_for_an_attachment_if_it_can_be_found_in_attributes.yml +387 -0
  19. data/spec/fixtures/vcr/Reviewed_Article/fetches_all_attachments_when_no_tag_is_asked_for.yml +195 -0
  20. data/spec/fixtures/vcr/Reviewed_Article/fetches_attachments_when_non-existent.yml +137 -0
  21. data/spec/fixtures/vcr/Reviewed_Article/fetches_when_a_tag_is_not_in_pre-loaded_set.yml +75 -0
  22. data/spec/fixtures/vcr/Reviewed_Article/fetches_when_an_tag_is_not_in_pre-loaded_set.yml +75 -0
  23. data/spec/fixtures/vcr/Reviewed_Article/find_page/finds_a_page_with_a_matching_slug.yml +377 -394
  24. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_a_product_of_the_correct_class.yml +471 -487
  25. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_nil_if_does_not_respond_to_products.yml +471 -487
  26. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_the_primary_product.yml +471 -487
  27. data/spec/fixtures/vcr/Reviewed_Article/returns_local_attachments_when_available.yml +137 -0
  28. data/spec/fixtures/vcr/Reviewed_Article/sets_DEFAULT_ATTACHMENTS.yml +75 -0
  29. data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/not_set/has_nil_query_params.yml +138 -195
  30. data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/set/merges_quest_params.yml +48 -71
  31. data/spec/fixtures/vcr/Reviewed_Collection/collection_data/fetches_the_first_page_by_default.yml +73 -113
  32. data/spec/fixtures/vcr/Reviewed_Collection/collection_data/is_enumerable.yml +73 -113
  33. data/spec/fixtures/vcr/Reviewed_Collection/next_page/fetches_the_next_page_of_results.yml +140 -197
  34. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_if_the_page_number_is_out_of_bounds.yml +73 -113
  35. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_whether_this_is_the_first_or_last_page.yml +73 -113
  36. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_limit_value_max_per_page_.yml +73 -113
  37. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_number_of_entries_on_the_current_page.yml +73 -113
  38. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_offset.yml +73 -113
  39. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_item_count.yml +73 -113
  40. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_number_of_pages.yml +73 -113
  41. data/spec/fixtures/vcr/Reviewed_Collection/previous_page/fetches_the_previous_page_of_results.yml +210 -307
  42. data/spec/fixtures/vcr/Reviewed_Collection/previous_page/returns_nil_if_there_is_no_previous_page.yml +73 -113
  43. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/does_not_have_any_matching_attachments.yml +98 -125
  44. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/matches_attachments_by_tag_properly.yml +98 -136
  45. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/no_longer_has_many_attachments.yml +55 -81
  46. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_by_tag.yml +98 -136
  47. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_of_the_correct_class.yml +98 -125
  48. data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/has_many_manufacturer_specs.yml +55 -81
  49. data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/returns_attachments_of_the_correct_class.yml +55 -81
  50. data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_other_supported_options.yml +49 -67
  51. data/spec/fixtures/vcr/Reviewed_Request/_where/returns_a_collection.yml +138 -195
  52. data/spec/fixtures/vcr/Reviewed_Request/_where/returns_an_empty_set_if_no_matching_data_was_found.yml +47 -51
  53. data/spec/fixtures/vcr/Reviewed_Request/_where/returns_the_appropriate_page_of_results.yml +105 -207
  54. data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_a_collection_object.yml +138 -195
  55. data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_objects_of_the_correct_class.yml +138 -195
  56. data/spec/fixtures/vcr/Reviewed_Request/object_from_response/returns_an_object_of_the_correct_class.yml +237 -245
  57. data/spec/spec_helper.rb +1 -1
  58. metadata +45 -55
@@ -1,159 +1,132 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: get
5
5
  uri: https://the-guide-staging.herokuapp.com/api/v1/products/minden-master-ii
6
- body:
6
+ body:
7
7
  encoding: US-ASCII
8
- string: ""
9
- headers:
10
- X-Reviewed-Authorization:
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.7
12
+ X-Reviewed-Authorization:
11
13
  - 38e397252ec670ec441733a95204f141
12
- Accept-Encoding:
14
+ Accept-Encoding:
13
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- Accept:
15
- - "*/*"
16
- User-Agent:
17
- - Ruby
18
- response:
19
- status:
16
+ Accept:
17
+ - '*/*'
18
+ response:
19
+ status:
20
20
  code: 200
21
21
  message: OK
22
- headers:
23
- Access-Control-Allow-Credentials:
24
- - "true"
25
- Access-Control-Allow-Headers:
26
- - x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization, x-skip-cache, Content-Type
27
- Access-Control-Allow-Methods:
22
+ headers:
23
+ Access-Control-Allow-Credentials:
24
+ - 'true'
25
+ Access-Control-Allow-Headers:
26
+ - x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization,
27
+ x-skip-cache, Content-Type
28
+ Access-Control-Allow-Methods:
28
29
  - OPTIONS, GET, POST, PUT, DELETE
29
- Access-Control-Allow-Origin:
30
- - "*"
31
- Access-Control-Max-Age:
32
- - "1000"
33
- Cache-Control:
30
+ Access-Control-Allow-Origin:
31
+ - '*'
32
+ Access-Control-Max-Age:
33
+ - '1000'
34
+ Cache-Control:
34
35
  - no-cache, no-store
35
- Content-Encoding:
36
- - gzip
37
- Content-Type:
36
+ Content-Type:
38
37
  - application/json; charset=utf-8
39
- Date:
40
- - Sat, 27 Apr 2013 01:46:46 GMT
41
- Status:
38
+ Date:
39
+ - Thu, 27 Jun 2013 15:42:48 GMT
40
+ Etag:
41
+ - '"e0aa021e21dddbd6d8cecec71e9cf564"'
42
+ Status:
42
43
  - 200 OK
43
- Strict-Transport-Security:
44
+ Strict-Transport-Security:
44
45
  - max-age=31536000
45
- Vary:
46
+ Vary:
46
47
  - Accept-Encoding
47
- X-Request-Id:
48
- - 1ed5fe8c441f8c8b90ad742c3360c88e
49
- X-Runtime:
50
- - "0.266423"
51
- X-Ua-Compatible:
48
+ X-Request-Id:
49
+ - 25d223289a5c7e4b0627363c7ec84af3
50
+ X-Runtime:
51
+ - '0.016078'
52
+ X-Ua-Compatible:
52
53
  - IE=Edge,chrome=1
53
- Transfer-Encoding:
54
+ Transfer-Encoding:
54
55
  - chunked
55
- Connection:
56
+ Connection:
56
57
  - keep-alive
57
- body:
58
- encoding: ASCII-8BIT
59
- string: !binary |
60
- H4sIAAYue1EAA8RZbW/bNhD+K4Y+bZgdU++WgGHA2rUL0HRB6y9bEQiURNls
61
- ZFEgqaRpkf++IyVLshPJQFw7QZCA5PHu4b3wjqcfBk2N0HBRhm3ke4GHY3fh
62
- IdNDiY99YkyNhBMsSRphCXQWMq0Zcmemu7TM0LRC0/0PaKoy3aGxZ8iemaai
63
- QW5oOYqmwBsCq1e0SEkxucJCEj65vIQVkVcrWNnoldlGr8wohZVIPpRq099s
64
- Q8LwPad5LuA/FrCmloQRfjGuOStxQYybqbERvDRCxw8u0NTAXNIkJxFNNRkc
65
- MbaIH8cpshZe6rou4PRcW+27J7GgskdKPC9I/ZrUWRCkfixNWlZxTsU6YkVf
66
- HYulGYS2EyL0G0LwV+skMcKiynPYw2lCohXHcUx4pBUOBLyKYV4Pa7KY4yKN
67
- tvYISOonNQLP1hAs34JtG5aSXCmyp0FOBKs4yKg4haV5yVlaJVLMn9Ep5sma
68
- 3pFISDAZEMcPkTIerFARiYRxWqyiGAuSU1BqmOFckHZX2k40IiKOJWzYHgFO
69
- cKuHPwzJJM778602CCAtJM1JPfO4VYXa1XiJock2VAjKCqEWwAtBuOQV2bpk
70
- C6X2vnaYEiE5e2jGwB2XNILD3Go+Cctzkkiq7Ke4KlXOgWJ+Z85rGMq51pxk
71
- sLCWshThfC7XZLaqaEpmoLUVHPBiTTi7rXBZXiRss7//sbPICYU8PraOq7z2
72
- xzaSB3z3aSRDlJoz5CwhRMF1ByPZnJnBEnmhY0Ew9yK5Dke1h6v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9HmnGkAWxSk9172ofZNPchP2nxTnVOTQS9DvkUyuAl6RqmxUS
90
- mG/rBCgSVmT+tST6VAAsIUL0Oq6v0B3p1yUv7gL1eIy3pDrC+UjtczSKYeZ1
91
- p0T3Orqm5XB/fux7iRla/nNV2HM0O1XY/leSbde16a4PtP//0KB/b7fsfua4
92
- 2WkfwyhnKxb12L6Ca2nAL/eqZvuoQ9U08xELHiN7mK/uZeJ7zLfKj6v8NqrK
93
- nOHtzE9SuG7rwa3RfsWJtg7xAou0W1+ql5bBqFXaL1au6ccWQZ7tZs7Cx27g
94
- qoalftMfJ3+YM1jmfwEAAAD//wMAi3R3oAcdAAA=
95
-
58
+ body:
59
+ encoding: UTF-8
60
+ string: '{"id":"50fa307696ab5860160c7a7e","created_at":"2012-05-15T21:12:15Z","updated_at":"2013-03-11T21:05:24Z","name":"Minden
61
+ Master II","slug":"minden-master-ii","_type":"Home::Grills::Gas","types":["Propane"],"msrp":479.0,"article_ids":["50fb2e7bbd0286d555013653"],"website_ids":["50e669d7bd028648e0000023"],"publish_on":"2012-05-18T19:34:00+00:00","upc":null,"price_grabber_id":"","rubric_id":null,"brand_id":"50f9ed7cbd0286638e000272","model":"Master
62
+ II","resource_uri":"/products/minden-master-ii","archive_state":"by_date","is_scoring_baseline":false,"archived":false,"product_rating":null,"ranking":{"total":null,"rank":null,"percentile":null},"rubric":{"name":"","permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/rubrics","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics"},"resource":{"rel":"/api/v1/rubrics","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics"}}},"websites":[{"id":"50e669d7bd028648e0000023","created_at":"2013-01-04T05:34:15Z","updated_at":"2013-01-19T06:42:05Z","name":"Grills","url":"grillsinfo.com","code":"GRI","category":null,"featured_video_id":null,"ad_campaign_group":{"id":"51377ab09f5e85f5a3000484","created_at":"2013-03-06T17:19:44Z","updated_at":"2013-03-06T17:19:44Z","website_id":"50e669d7bd028648e0000023","ad_campaigns":[],"permissions":{"read":false,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/ad_campaign_groups","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups"},"resource":{"rel":"/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484"}}},"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/websites","href":"https://the-guide-staging.herokuapp.com/api/v1/websites"},"resource":{"rel":"/api/v1/websites/50e669d7bd028648e0000023","href":"https://the-guide-staging.herokuapp.com/api/v1/websites/50e669d7bd028648e0000023"}}}],"manufacturer_specs":[{"id":"50fa369fbd0286ee4a03a536","name":"brand_name","value":"(Minden)","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a537","name":"manufacturer_name","value":"Minden","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a538","name":"manual_url","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a539","name":"manual_text","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53a","name":"manufacturer_text","value":null,"value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53b","name":"manufacturer_url","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53c","name":"series_name","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53d","name":"Fuel","value":["LP
63
+ Gas"],"value_units":"","value_type":"MultiListItem","order":0,"options":["LP
64
+ Gas","Natural Gas","Charcoal","Electricity","Natural Gas (adaptor sold separately)","Propane
65
+ (adaptor sold separately)"]},{"id":"50fa369fbd0286ee4a03a53e","name":"Install
66
+ Type","value":"Freestanding","value_units":"","value_type":"String","order":0,"options":["Freestanding","Portable","Install"]},{"id":"50fa369fbd0286ee4a03a53f","name":"Finish
67
+ or Color","value":"Green","value_units":"","value_type":"String","order":0,"options":["Electricity"]},{"id":"50fa369fbd0286ee4a03a540","name":"Side
68
+ Burner","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"50fa369fbd0286ee4a03a541","name":"Rotisserie","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"50fa369fbd0286ee4a03a542","name":"Original
69
+ Price","value":479.0,"value_units":"","value_type":"Decimal","order":0,"options":[]}],"attachments":[{"id":"50fca08abd02862d77009628","created_at":"2013-01-21T01:57:30Z","updated_at":"2013-01-21T01:57:30Z","name":"Minden-360MD-vanity.jpg","type":"file","tags":["vanity"],"versions":{"s50x50":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s50x50_Minden-360MD-vanity.jpg","s150x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s150x150_Minden-360MD-vanity.jpg","s250x250":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s250x250_Minden-360MD-vanity.jpg","s300x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x150_Minden-360MD-vanity.jpg","s300x112":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x112_Minden-360MD-vanity.jpg","s500x500":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s500x500_Minden-360MD-vanity.jpg","s600x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x400_Minden-360MD-vanity.jpg","s600x600":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x600_Minden-360MD-vanity.jpg","s940x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x400_Minden-360MD-vanity.jpg","s940x350":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x350_Minden-360MD-vanity.jpg","s940x110":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x110_Minden-360MD-vanity.jpg","original":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg"},"caption":null,"alt_text":null,"data":{"url":"http://reviewed-production.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg","file_size":29538,"content_type":"image/jpeg"},"position":0,"processing":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/attachments","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments"},"resource":{"rel":"/api/v1/attachments/50fca08abd02862d77009628","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments/50fca08abd02862d77009628"}}}],"brand":{"id":"50f9ed7cbd0286638e000272","created_at":"2012-05-15T21:11:27Z","updated_at":"2012-05-15T21:11:27Z","name":"Minden","slug":"minden","url":null,"resource_uri":"/products?brand=minden","website_ids":[],"websites":[],"logo_url":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/brands","href":"https://the-guide-staging.herokuapp.com/api/v1/brands"},"resource":{"rel":"/api/v1/brands/50f9ed7cbd0286638e000272","href":"https://the-guide-staging.herokuapp.com/api/v1/brands/50f9ed7cbd0286638e000272"}}},"awards":[],"bulk_uploads":[],"permissions":{"read":true,"create":false,"update":false,"destroy":false,"manage_baseline_products":false},"api_links":{"collection":{"rel":"/api/v1/products","href":"https://the-guide-staging.herokuapp.com/api/v1/products"},"resource":{"rel":"/api/v1/products/51cc5d789156bd0a6000007d","href":"https://the-guide-staging.herokuapp.com/api/v1/products/51cc5d789156bd0a6000007d"}}}'
96
70
  http_version:
97
- recorded_at: Sat, 27 Apr 2013 01:46:46 GMT
98
- - request:
71
+ recorded_at: Thu, 27 Jun 2013 15:42:49 GMT
72
+ - request:
99
73
  method: get
100
74
  uri: https://the-guide-staging.herokuapp.com/api/v1/products/50fa307696ab5860160c7a7e/attachments?tags=gallery
101
- body:
75
+ body:
102
76
  encoding: US-ASCII
103
- string: ""
104
- headers:
105
- X-Reviewed-Authorization:
77
+ string: ''
78
+ headers:
79
+ User-Agent:
80
+ - Faraday v0.8.7
81
+ X-Reviewed-Authorization:
106
82
  - 38e397252ec670ec441733a95204f141
107
- Accept-Encoding:
83
+ Accept-Encoding:
108
84
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
109
- Accept:
110
- - "*/*"
111
- User-Agent:
112
- - Ruby
113
- response:
114
- status:
85
+ Accept:
86
+ - '*/*'
87
+ response:
88
+ status:
115
89
  code: 200
116
90
  message: OK
117
- headers:
118
- Access-Control-Allow-Credentials:
119
- - "true"
120
- Access-Control-Allow-Headers:
121
- - x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization, x-skip-cache, Content-Type
122
- Access-Control-Allow-Methods:
91
+ headers:
92
+ Access-Control-Allow-Credentials:
93
+ - 'true'
94
+ Access-Control-Allow-Headers:
95
+ - x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization,
96
+ x-skip-cache, Content-Type
97
+ Access-Control-Allow-Methods:
123
98
  - OPTIONS, GET, POST, PUT, DELETE
124
- Access-Control-Allow-Origin:
125
- - "*"
126
- Access-Control-Max-Age:
127
- - "1000"
128
- Cache-Control:
99
+ Access-Control-Allow-Origin:
100
+ - '*'
101
+ Access-Control-Max-Age:
102
+ - '1000'
103
+ Cache-Control:
129
104
  - no-cache, no-store
130
- Content-Encoding:
131
- - gzip
132
- Content-Type:
105
+ Content-Type:
133
106
  - application/json; charset=utf-8
134
- Date:
135
- - Sat, 27 Apr 2013 01:46:46 GMT
136
- Status:
107
+ Date:
108
+ - Thu, 27 Jun 2013 15:42:48 GMT
109
+ Etag:
110
+ - '"e0aa021e21dddbd6d8cecec71e9cf564"'
111
+ Status:
137
112
  - 200 OK
138
- Strict-Transport-Security:
113
+ Strict-Transport-Security:
139
114
  - max-age=31536000
140
- Vary:
115
+ Vary:
141
116
  - Accept-Encoding
142
- X-Request-Id:
143
- - 15c3cb19cf595ac80c7e2081f745a605
144
- X-Runtime:
145
- - "0.024017"
146
- X-Ua-Compatible:
117
+ X-Request-Id:
118
+ - 30fb955fdc1819e4801e4a0321c62933
119
+ X-Runtime:
120
+ - '0.016078'
121
+ X-Ua-Compatible:
147
122
  - IE=Edge,chrome=1
148
- Transfer-Encoding:
123
+ Transfer-Encoding:
149
124
  - chunked
150
- Connection:
125
+ Connection:
151
126
  - keep-alive
152
- body:
153
- encoding: ASCII-8BIT
154
- string: !binary |
155
- H4sIAAYue1EAA6pWSkksSVSyio6tBQAAAP//AwCUZLJeCwAAAA==
156
-
127
+ body:
128
+ encoding: UTF-8
129
+ string: '{"data":[]}'
157
130
  http_version:
158
- recorded_at: Sat, 27 Apr 2013 01:46:46 GMT
159
- recorded_with: VCR 2.3.0
131
+ recorded_at: Thu, 27 Jun 2013 15:42:50 GMT
132
+ recorded_with: VCR 2.5.0
@@ -1,98 +1,72 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: get
5
5
  uri: https://the-guide-staging.herokuapp.com/api/v1/products/minden-master-ii
6
- body:
6
+ body:
7
7
  encoding: US-ASCII
8
- string: ""
9
- headers:
10
- X-Reviewed-Authorization:
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.7
12
+ X-Reviewed-Authorization:
11
13
  - 38e397252ec670ec441733a95204f141
12
- Accept-Encoding:
14
+ Accept-Encoding:
13
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- Accept:
15
- - "*/*"
16
- User-Agent:
17
- - Ruby
18
- response:
19
- status:
16
+ Accept:
17
+ - '*/*'
18
+ response:
19
+ status:
20
20
  code: 200
21
21
  message: OK
22
- headers:
23
- Access-Control-Allow-Credentials:
24
- - "true"
25
- Access-Control-Allow-Headers:
26
- - x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization, x-skip-cache, Content-Type
27
- Access-Control-Allow-Methods:
22
+ headers:
23
+ Access-Control-Allow-Credentials:
24
+ - 'true'
25
+ Access-Control-Allow-Headers:
26
+ - x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization,
27
+ x-skip-cache, Content-Type
28
+ Access-Control-Allow-Methods:
28
29
  - OPTIONS, GET, POST, PUT, DELETE
29
- Access-Control-Allow-Origin:
30
- - "*"
31
- Access-Control-Max-Age:
32
- - "1000"
33
- Cache-Control:
30
+ Access-Control-Allow-Origin:
31
+ - '*'
32
+ Access-Control-Max-Age:
33
+ - '1000'
34
+ Cache-Control:
34
35
  - no-cache, no-store
35
- Content-Encoding:
36
- - gzip
37
- Content-Type:
36
+ Content-Type:
38
37
  - application/json; charset=utf-8
39
- Date:
40
- - Sat, 27 Apr 2013 01:46:50 GMT
41
- Status:
38
+ Date:
39
+ - Thu, 27 Jun 2013 15:42:52 GMT
40
+ Etag:
41
+ - '"e0aa021e21dddbd6d8cecec71e9cf564"'
42
+ Status:
42
43
  - 200 OK
43
- Strict-Transport-Security:
44
+ Strict-Transport-Security:
44
45
  - max-age=31536000
45
- Vary:
46
+ Vary:
46
47
  - Accept-Encoding
47
- X-Request-Id:
48
- - 88a466d700621a27e6956a17b5a4ef7f
49
- X-Runtime:
50
- - "0.207325"
51
- X-Ua-Compatible:
48
+ X-Request-Id:
49
+ - f30ea30b4ee4fe76e6b711a1b2f96b9e
50
+ X-Runtime:
51
+ - '0.000803'
52
+ X-Ua-Compatible:
52
53
  - IE=Edge,chrome=1
53
- Transfer-Encoding:
54
+ Transfer-Encoding:
54
55
  - chunked
55
- Connection:
56
+ Connection:
56
57
  - keep-alive
57
- body:
58
- encoding: ASCII-8BIT
59
- string: !binary |
60
- H4sIAAoue1EAA8RZbW/bNhD+K4Y+bVgck3q1BQwD1q5dgKYLWn/ZikCgpLPN
61
- RhYFkkqaFvnvO0qyZDuRDCS1EwQJSB7vHt4L73j6YfHUCi2PLJhDAn/ms9ib
62
- +oT6JAlYANaZlUhgGtKIaaSzCbXHxBtTb27TkNoh9f5DmrJId2icMXHGlBoa
63
- 4oW2a2hytgZcveR5CvnokikNcnRxgSsqK5e4sq5WxutqZcw5rkT6vjCb/hZr
64
- CMP3kmeZwv9M4ZpZUlb4xbqSomA5WNdn1lrJwgrdYHZOziwmNU8yiHhakeER
65
- YxuCOE6JPfVTz/MQp+85Zt8dxIrrLVLw/Vka1KTuFIj5sSvSoowzrlaRyLfV
66
- MZ3TWei4ISG/EYJ/K50kVpiXWYZ7JE8gWkoWxyCjSuFIIMsY56thTRZLlqfR
67
- xh4zSIOkRuA7FQQ7sHHbWqSQGUVuaVCCEqVEGaXkuDQppEjLRKvJEzplMlnx
68
- W4iURpMhcXwfGePhCleRSoTk+TKKmYKMo1LDBcsUtLvSdqIREUmmccPmCHiC
69
- m2r4w9JCs2x7vtUGINJc8wzqmYeNKsyuxkusimzNleIiV2YBvRCFa1nCxiVb
70
- KLX3tcMUlJbivhkjd1bwCA9zU/FJRJZBormxn+FqVDlBisktndQwjHOtJCxw
71
- YaV1ocLJRK9gvCx5CmPU2hIPeL4CKW5KVhTniVjv73/oLHJEIQ8PreMar/2x
72
- ieQe330cyRildEzcOYYoum5vJNMxnc2JH7o2BvNWJNfhaPZIc75lNeT5Qhi0
73
- Rhw6qiH7ZDyUpVHC1gXjyxwDQZSFUUwNmDpBwGIyW3gw9RYe3kOEuFP3acD4
74
- 689pEGK4uW7v1bNH04X3sIK2QBqNXvc4YeNnx/LCR6p6vq88wWrQN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PD30voaEdPFWFPUWzU4XtfyXZdF2b7npP+/+PCvTv7ZbdzxzX
92
- O+1jHGViKaIttq/gWhXg53tVs33QoWqayYAFXyK7n2/Vy2R3TG6UH5fZTVQW
93
- mWCbmZ+k8Kqth7dG+xUn2jjEMyzSbn2uXloGg1Zpv1h5NIhtIMyh6QJQhUls
94
- GpYee7H8fs5omf8FAAAA//8DAO0irN8HHQAA
95
-
58
+ body:
59
+ encoding: UTF-8
60
+ string: '{"id":"50fa307696ab5860160c7a7e","created_at":"2012-05-15T21:12:15Z","updated_at":"2013-03-11T21:05:24Z","name":"Minden
61
+ Master II","slug":"minden-master-ii","_type":"Home::Grills::Gas","types":["Propane"],"msrp":479.0,"article_ids":["50fb2e7bbd0286d555013653"],"website_ids":["50e669d7bd028648e0000023"],"publish_on":"2012-05-18T19:34:00+00:00","upc":null,"price_grabber_id":"","rubric_id":null,"brand_id":"50f9ed7cbd0286638e000272","model":"Master
62
+ II","resource_uri":"/products/minden-master-ii","archive_state":"by_date","is_scoring_baseline":false,"archived":false,"product_rating":null,"ranking":{"total":null,"rank":null,"percentile":null},"rubric":{"name":"","permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/rubrics","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics"},"resource":{"rel":"/api/v1/rubrics","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics"}}},"websites":[{"id":"50e669d7bd028648e0000023","created_at":"2013-01-04T05:34:15Z","updated_at":"2013-01-19T06:42:05Z","name":"Grills","url":"grillsinfo.com","code":"GRI","category":null,"featured_video_id":null,"ad_campaign_group":{"id":"51377ab09f5e85f5a3000484","created_at":"2013-03-06T17:19:44Z","updated_at":"2013-03-06T17:19:44Z","website_id":"50e669d7bd028648e0000023","ad_campaigns":[],"permissions":{"read":false,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/ad_campaign_groups","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups"},"resource":{"rel":"/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484"}}},"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/websites","href":"https://the-guide-staging.herokuapp.com/api/v1/websites"},"resource":{"rel":"/api/v1/websites/50e669d7bd028648e0000023","href":"https://the-guide-staging.herokuapp.com/api/v1/websites/50e669d7bd028648e0000023"}}}],"manufacturer_specs":[{"id":"50fa369fbd0286ee4a03a536","name":"brand_name","value":"(Minden)","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a537","name":"manufacturer_name","value":"Minden","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a538","name":"manual_url","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a539","name":"manual_text","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53a","name":"manufacturer_text","value":null,"value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53b","name":"manufacturer_url","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53c","name":"series_name","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53d","name":"Fuel","value":["LP
63
+ Gas"],"value_units":"","value_type":"MultiListItem","order":0,"options":["LP
64
+ Gas","Natural Gas","Charcoal","Electricity","Natural Gas (adaptor sold separately)","Propane
65
+ (adaptor sold separately)"]},{"id":"50fa369fbd0286ee4a03a53e","name":"Install
66
+ Type","value":"Freestanding","value_units":"","value_type":"String","order":0,"options":["Freestanding","Portable","Install"]},{"id":"50fa369fbd0286ee4a03a53f","name":"Finish
67
+ or Color","value":"Green","value_units":"","value_type":"String","order":0,"options":["Electricity"]},{"id":"50fa369fbd0286ee4a03a540","name":"Side
68
+ Burner","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"50fa369fbd0286ee4a03a541","name":"Rotisserie","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"50fa369fbd0286ee4a03a542","name":"Original
69
+ Price","value":479.0,"value_units":"","value_type":"Decimal","order":0,"options":[]}],"attachments":[{"id":"50fca08abd02862d77009628","created_at":"2013-01-21T01:57:30Z","updated_at":"2013-01-21T01:57:30Z","name":"Minden-360MD-vanity.jpg","type":"file","tags":["vanity"],"versions":{"s50x50":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s50x50_Minden-360MD-vanity.jpg","s150x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s150x150_Minden-360MD-vanity.jpg","s250x250":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s250x250_Minden-360MD-vanity.jpg","s300x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x150_Minden-360MD-vanity.jpg","s300x112":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x112_Minden-360MD-vanity.jpg","s500x500":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s500x500_Minden-360MD-vanity.jpg","s600x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x400_Minden-360MD-vanity.jpg","s600x600":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x600_Minden-360MD-vanity.jpg","s940x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x400_Minden-360MD-vanity.jpg","s940x350":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x350_Minden-360MD-vanity.jpg","s940x110":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x110_Minden-360MD-vanity.jpg","original":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg"},"caption":null,"alt_text":null,"data":{"url":"http://reviewed-production.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg","file_size":29538,"content_type":"image/jpeg"},"position":0,"processing":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/attachments","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments"},"resource":{"rel":"/api/v1/attachments/50fca08abd02862d77009628","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments/50fca08abd02862d77009628"}}}],"brand":{"id":"50f9ed7cbd0286638e000272","created_at":"2012-05-15T21:11:27Z","updated_at":"2012-05-15T21:11:27Z","name":"Minden","slug":"minden","url":null,"resource_uri":"/products?brand=minden","website_ids":[],"websites":[],"logo_url":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/brands","href":"https://the-guide-staging.herokuapp.com/api/v1/brands"},"resource":{"rel":"/api/v1/brands/50f9ed7cbd0286638e000272","href":"https://the-guide-staging.herokuapp.com/api/v1/brands/50f9ed7cbd0286638e000272"}}},"awards":[],"bulk_uploads":[],"permissions":{"read":true,"create":false,"update":false,"destroy":false,"manage_baseline_products":false},"api_links":{"collection":{"rel":"/api/v1/products","href":"https://the-guide-staging.herokuapp.com/api/v1/products"},"resource":{"rel":"/api/v1/products/51cc5d7c9156bd99c3000064","href":"https://the-guide-staging.herokuapp.com/api/v1/products/51cc5d7c9156bd99c3000064"}}}'
96
70
  http_version:
97
- recorded_at: Sat, 27 Apr 2013 01:46:50 GMT
98
- recorded_with: VCR 2.3.0
71
+ recorded_at: Thu, 27 Jun 2013 15:42:53 GMT
72
+ recorded_with: VCR 2.5.0
@@ -1,98 +1,72 @@
1
- ---
2
- http_interactions:
3
- - request:
1
+ ---
2
+ http_interactions:
3
+ - request:
4
4
  method: get
5
5
  uri: https://the-guide-staging.herokuapp.com/api/v1/products/minden-master-ii
6
- body:
6
+ body:
7
7
  encoding: US-ASCII
8
- string: ""
9
- headers:
10
- X-Reviewed-Authorization:
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.7
12
+ X-Reviewed-Authorization:
11
13
  - 38e397252ec670ec441733a95204f141
12
- Accept-Encoding:
14
+ Accept-Encoding:
13
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- Accept:
15
- - "*/*"
16
- User-Agent:
17
- - Ruby
18
- response:
19
- status:
16
+ Accept:
17
+ - '*/*'
18
+ response:
19
+ status:
20
20
  code: 200
21
21
  message: OK
22
- headers:
23
- Access-Control-Allow-Credentials:
24
- - "true"
25
- Access-Control-Allow-Headers:
26
- - x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization, x-skip-cache, Content-Type
27
- Access-Control-Allow-Methods:
22
+ headers:
23
+ Access-Control-Allow-Credentials:
24
+ - 'true'
25
+ Access-Control-Allow-Headers:
26
+ - x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization,
27
+ x-skip-cache, Content-Type
28
+ Access-Control-Allow-Methods:
28
29
  - OPTIONS, GET, POST, PUT, DELETE
29
- Access-Control-Allow-Origin:
30
- - "*"
31
- Access-Control-Max-Age:
32
- - "1000"
33
- Cache-Control:
30
+ Access-Control-Allow-Origin:
31
+ - '*'
32
+ Access-Control-Max-Age:
33
+ - '1000'
34
+ Cache-Control:
34
35
  - no-cache, no-store
35
- Content-Encoding:
36
- - gzip
37
- Content-Type:
36
+ Content-Type:
38
37
  - application/json; charset=utf-8
39
- Date:
40
- - Sat, 27 Apr 2013 01:46:50 GMT
41
- Status:
38
+ Date:
39
+ - Thu, 27 Jun 2013 15:42:53 GMT
40
+ Etag:
41
+ - '"e0aa021e21dddbd6d8cecec71e9cf564"'
42
+ Status:
42
43
  - 200 OK
43
- Strict-Transport-Security:
44
+ Strict-Transport-Security:
44
45
  - max-age=31536000
45
- Vary:
46
+ Vary:
46
47
  - Accept-Encoding
47
- X-Request-Id:
48
- - 25990e8d4fe5021cd1105992f41ed33d
49
- X-Runtime:
50
- - "0.213303"
51
- X-Ua-Compatible:
48
+ X-Request-Id:
49
+ - 7a64d54b1c1d1f2e2df318adc868c4a6
50
+ X-Runtime:
51
+ - '0.019178'
52
+ X-Ua-Compatible:
52
53
  - IE=Edge,chrome=1
53
- Transfer-Encoding:
54
+ Transfer-Encoding:
54
55
  - chunked
55
- Connection:
56
+ Connection:
56
57
  - keep-alive
57
- body:
58
- encoding: ASCII-8BIT
59
- string: !binary |
60
- H4sIAAoue1EAA8RZbW/bNhD+K4Y+bZgdkXq1BQwD1q5dgKYLWn/ZikCgJMpm
61
- I4sCSSVNi/z3HSVZkp1IBpzaCYIEJI93D++Fdzz9MFhiBIaLUmIj31t4JHLn
62
- HsIein3iU2NqxIISRZOQKKCzELZmyJ1hd2nhAFsBdv8DmrJIdmjsGbJnGGsa
63
- 5AaWo2lysqGwesXyhOaTKyIVFZPLS1iRWbmClU21MttUKzPGYCVUD4Xe9Dff
64
- 0CB4L1iWSfhPJKzpJWkEX4xrwQuSU+NmamykKIzA8RcXaGoQoVic0ZAlFRkc
65
- MbKoH0UJsuZe4rou4PRcW++7p5FkqkdKPW+R+DWpM6dI/1gVaVFGGZPrkOd9
66
- dcyXeBHYToDQbwjB30onsRHkZZbBHsFiGq4EiSIqwkrhQCDKCOarYU0WCZIn
67
- 4dYeC5r4cY3AsysIlm/Btg1PaKYV2dOgoJKXAmSUgsGSWQielLGS5jM6JSJe
68
- szsaSgUmA+LoIdTGgxUmQxlzwfJVGBFJMwZ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Fyrack266JuLmgoGChhB7xi9p0lbv0j7gmzId56Te1mX
86
- MO2xTTuykgQ7CfViHC1IlJKUoASqRFBx5Do+Tf1Yv+jNWko4DFlioMBnANLI
87
- GYNiAYl1BiiNnDEoUGifRSuNnINQsHUeKNgag+Ii7U3ncNpKzhgUD0icM0Bp
88
- 5ByC4p0JijcOZeGcRyuNnENQ7DNEUCPnEBSMzwMF5IxA4U1mPDWUIQTw6o5J
89
- Ub/t63cHyVT9HmnGkAWJTk9172ofZNPchP2nxTmtcmgo2XfIp9YCXpK6bZYr
90
- YL6tE6BIWFHza0GrUwGwmErZ67i+QnekX5cc3QXq8RhvSXWE5kjt82IUw8zr
91
- TknV6+ialsP9+bHvJTiw/OeqsOdodqqw/a8k265r010faP//UYH+vd2y+5nj
92
- Zqd9DKOMr3jYY/sKrlUBPt6rmu2jDlXTmCMWfInsYb5VL5PcE7FVflRmt2FZ
93
- ZJxsZ36Swqu2Htwa7VeccOsQR1ik3XqsXloGo1Zpv1i52I8siojtps7cJyT1
94
- dMMSH2+Xw5zBMv8LAAAA//8DALFUOv0HHQAA
95
-
58
+ body:
59
+ encoding: UTF-8
60
+ string: '{"id":"50fa307696ab5860160c7a7e","created_at":"2012-05-15T21:12:15Z","updated_at":"2013-03-11T21:05:24Z","name":"Minden
61
+ Master II","slug":"minden-master-ii","_type":"Home::Grills::Gas","types":["Propane"],"msrp":479.0,"article_ids":["50fb2e7bbd0286d555013653"],"website_ids":["50e669d7bd028648e0000023"],"publish_on":"2012-05-18T19:34:00+00:00","upc":null,"price_grabber_id":"","rubric_id":null,"brand_id":"50f9ed7cbd0286638e000272","model":"Master
62
+ II","resource_uri":"/products/minden-master-ii","archive_state":"by_date","is_scoring_baseline":false,"archived":false,"product_rating":null,"ranking":{"total":null,"rank":null,"percentile":null},"rubric":{"name":"","permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/rubrics","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics"},"resource":{"rel":"/api/v1/rubrics","href":"https://the-guide-staging.herokuapp.com/api/v1/rubrics"}}},"websites":[{"id":"50e669d7bd028648e0000023","created_at":"2013-01-04T05:34:15Z","updated_at":"2013-01-19T06:42:05Z","name":"Grills","url":"grillsinfo.com","code":"GRI","category":null,"featured_video_id":null,"ad_campaign_group":{"id":"51377ab09f5e85f5a3000484","created_at":"2013-03-06T17:19:44Z","updated_at":"2013-03-06T17:19:44Z","website_id":"50e669d7bd028648e0000023","ad_campaigns":[],"permissions":{"read":false,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/ad_campaign_groups","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups"},"resource":{"rel":"/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484","href":"https://the-guide-staging.herokuapp.com/api/v1/ad_campaign_groups/51377ab09f5e85f5a3000484"}}},"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/websites","href":"https://the-guide-staging.herokuapp.com/api/v1/websites"},"resource":{"rel":"/api/v1/websites/50e669d7bd028648e0000023","href":"https://the-guide-staging.herokuapp.com/api/v1/websites/50e669d7bd028648e0000023"}}}],"manufacturer_specs":[{"id":"50fa369fbd0286ee4a03a536","name":"brand_name","value":"(Minden)","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a537","name":"manufacturer_name","value":"Minden","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a538","name":"manual_url","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a539","name":"manual_text","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53a","name":"manufacturer_text","value":null,"value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53b","name":"manufacturer_url","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53c","name":"series_name","value":"","value_units":"","value_type":"String","order":0,"options":[]},{"id":"50fa369fbd0286ee4a03a53d","name":"Fuel","value":["LP
63
+ Gas"],"value_units":"","value_type":"MultiListItem","order":0,"options":["LP
64
+ Gas","Natural Gas","Charcoal","Electricity","Natural Gas (adaptor sold separately)","Propane
65
+ (adaptor sold separately)"]},{"id":"50fa369fbd0286ee4a03a53e","name":"Install
66
+ Type","value":"Freestanding","value_units":"","value_type":"String","order":0,"options":["Freestanding","Portable","Install"]},{"id":"50fa369fbd0286ee4a03a53f","name":"Finish
67
+ or Color","value":"Green","value_units":"","value_type":"String","order":0,"options":["Electricity"]},{"id":"50fa369fbd0286ee4a03a540","name":"Side
68
+ Burner","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"50fa369fbd0286ee4a03a541","name":"Rotisserie","value":"No","value_units":"","value_type":"String","order":0,"options":["Yes","No"]},{"id":"50fa369fbd0286ee4a03a542","name":"Original
69
+ Price","value":479.0,"value_units":"","value_type":"Decimal","order":0,"options":[]}],"attachments":[{"id":"50fca08abd02862d77009628","created_at":"2013-01-21T01:57:30Z","updated_at":"2013-01-21T01:57:30Z","name":"Minden-360MD-vanity.jpg","type":"file","tags":["vanity"],"versions":{"s50x50":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s50x50_Minden-360MD-vanity.jpg","s150x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s150x150_Minden-360MD-vanity.jpg","s250x250":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s250x250_Minden-360MD-vanity.jpg","s300x150":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x150_Minden-360MD-vanity.jpg","s300x112":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s300x112_Minden-360MD-vanity.jpg","s500x500":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s500x500_Minden-360MD-vanity.jpg","s600x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x400_Minden-360MD-vanity.jpg","s600x600":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s600x600_Minden-360MD-vanity.jpg","s940x400":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x400_Minden-360MD-vanity.jpg","s940x350":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x350_Minden-360MD-vanity.jpg","s940x110":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/s940x110_Minden-360MD-vanity.jpg","original":"http://reviewed-staging.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg"},"caption":null,"alt_text":null,"data":{"url":"http://reviewed-production.s3.amazonaws.com/attachment/3b2dd14de6c1b9abfafa0df5e479b547ef7c7bbd/Minden-360MD-vanity.jpg","file_size":29538,"content_type":"image/jpeg"},"position":0,"processing":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/attachments","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments"},"resource":{"rel":"/api/v1/attachments/50fca08abd02862d77009628","href":"https://the-guide-staging.herokuapp.com/api/v1/attachments/50fca08abd02862d77009628"}}}],"brand":{"id":"50f9ed7cbd0286638e000272","created_at":"2012-05-15T21:11:27Z","updated_at":"2012-05-15T21:11:27Z","name":"Minden","slug":"minden","url":null,"resource_uri":"/products?brand=minden","website_ids":[],"websites":[],"logo_url":null,"permissions":{"read":true,"create":false,"update":false,"destroy":false},"api_links":{"collection":{"rel":"/api/v1/brands","href":"https://the-guide-staging.herokuapp.com/api/v1/brands"},"resource":{"rel":"/api/v1/brands/50f9ed7cbd0286638e000272","href":"https://the-guide-staging.herokuapp.com/api/v1/brands/50f9ed7cbd0286638e000272"}}},"awards":[],"bulk_uploads":[],"permissions":{"read":true,"create":false,"update":false,"destroy":false,"manage_baseline_products":false},"api_links":{"collection":{"rel":"/api/v1/products","href":"https://the-guide-staging.herokuapp.com/api/v1/products"},"resource":{"rel":"/api/v1/products/51cc5d7df82dc772ea000069","href":"https://the-guide-staging.herokuapp.com/api/v1/products/51cc5d7df82dc772ea000069"}}}'
96
70
  http_version:
97
- recorded_at: Sat, 27 Apr 2013 01:46:51 GMT
98
- recorded_with: VCR 2.3.0
71
+ recorded_at: Thu, 27 Jun 2013 15:42:54 GMT
72
+ recorded_with: VCR 2.5.0