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:49 GMT
41
- Status:
38
+ Date:
39
+ - Thu, 27 Jun 2013 15:42:51 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
- - 8a17a907e6addb8e8e289a8b23a94e99
49
- X-Runtime:
50
- - "0.216941"
51
- X-Ua-Compatible:
48
+ X-Request-Id:
49
+ - ca529ecde8cf84554463598a845caa0b
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
- 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
- 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
- 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
- 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
- Qxi+FyzLJP6nEtf0kjTCL8a14AXNwbgZG2spCiN0/OCCjA0qFEsyiFhakeER
65
- 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
- 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
- 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
- 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
- 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
- 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
- sFKqkOF0qlYwWZYshQlqbYkHvFiB4LclLYqLhK/39z92FjmhkMfH1nG11/7Y
72
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 8h7bscghVA7pUH3GfDP6sxQ5bCP6yI+E82+VYJHNQSxmh+UTV1gM6Mh6HShW
83
- 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
- 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
- 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
- 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
- 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
- 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
- v+3rdwfNVP0eacaYBalOT3Xvah9k09zE/afFOa5yaCTZd8ynVoAvSd02yxUy
90
- 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
- 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
- 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
- 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
94
- blh6wdHy+zmjZf4XAAAA//8DAL3JtPEHHQAA
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/51cc5d7b9156bd99c3000063","href":"https://the-guide-staging.herokuapp.com/api/v1/products/51cc5d7b9156bd99c3000063"}}}'
96
70
  http_version:
97
- recorded_at: Sat, 27 Apr 2013 01:46:49 GMT
98
- - request:
71
+ recorded_at: Thu, 27 Jun 2013 15:42:52 GMT
72
+ - request:
99
73
  method: get
100
74
  uri: https://the-guide-staging.herokuapp.com/api/v1/products/50fa307696ab5860160c7a7e/attachments?tags=doesnotcompute
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:49 GMT
136
- Status:
107
+ Date:
108
+ - Thu, 27 Jun 2013 15:42:51 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
- - 025de5bb529ef0c640653b8474b61a7f
144
- X-Runtime:
145
- - "0.022606"
146
- X-Ua-Compatible:
117
+ X-Request-Id:
118
+ - 00f667ae0358ab5fcf245f64d1419b8b
119
+ X-Runtime:
120
+ - '0.025699'
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
- H4sIAAkue1EAA6pWSkksSVSyio6tBQAAAP//AwCUZLJeCwAAAA==
156
-
127
+ body:
128
+ encoding: UTF-8
129
+ string: '{"data":[]}'
157
130
  http_version:
158
- recorded_at: Sat, 27 Apr 2013 01:46:50 GMT
159
- recorded_with: VCR 2.3.0
131
+ recorded_at: Thu, 27 Jun 2013 15:42:52 GMT
132
+ recorded_with: VCR 2.5.0
@@ -1,170 +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:48 GMT
41
- Status:
38
+ Date:
39
+ - Thu, 27 Jun 2013 15:42:50 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
- - b7f04b97fad9b4cb6ceb6e772f26ca0b
49
- X-Runtime:
50
- - "0.213073"
51
- X-Ua-Compatible:
48
+ X-Request-Id:
49
+ - dab1dbf5a79ce7bf014a42314c26396b
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
- 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
- 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
- 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
- QW5oOYqmwBsCq1e0SEkxucJCEj65vIQVkVcrWNnoldlGr8wohZVIPpRq099s
64
- Q8LwPad5LuA/FrCmloQRfjGuOStxQYybqbERvDRCxw8u0NTAXNIkJxFNNRkc
65
- MbaIH8cpshZe6rou4PRcW+27J7GgskdKPC9I/ZrUWRCkfixNWlZxTsU6YkVf
66
- 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
- tvYISOonNQLP1hAs34JtG5aSXCmyp0FOBKs4yKg4haV5yVlaJVLMn9Ep5sma
68
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- yTobvOMEcgNcXrWij7DHPqtrxiWOcyWskX0Yb9YzGS3gcTGBY79hOeM9yO9B
82
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- nOHtzE9SuG7rwa3RfsWJtg7xAou0W1+ql5bBqFXaL1au6ccWQQvbzZyFj93A
94
- VQ1L/Ro9Tv4wZ7DM/wIAAAD//wMAa8LAQQcdAAA=
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/51cc5d7a9156bd99c3000062","href":"https://the-guide-staging.herokuapp.com/api/v1/products/51cc5d7a9156bd99c3000062"}}}'
96
70
  http_version:
97
- recorded_at: Sat, 27 Apr 2013 01:46:48 GMT
98
- - request:
71
+ recorded_at: Thu, 27 Jun 2013 15:42:51 GMT
72
+ - request:
99
73
  method: get
100
74
  uri: https://the-guide-staging.herokuapp.com/api/v1/products/50fa307696ab5860160c7a7e/attachments?tags=vanity
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:49 GMT
136
- Status:
107
+ Date:
108
+ - Thu, 27 Jun 2013 15:42:50 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
- - caac7a2d318e8eae29351eca8df89f0a
144
- X-Runtime:
145
- - "0.027172"
146
- X-Ua-Compatible:
117
+ X-Request-Id:
118
+ - e62a01a4341ad84dd06c2d428cb96854
119
+ X-Runtime:
120
+ - '0.019178'
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
- H4sIAAkue1EAA7yWT2+jMBDFv4vPIdgQIOG819721KpCgz0kbvlj2SZtGuW7
156
- 75CQaKXdkENVjgPP835+GI2PTIEHlr8cmVYsZwmvJPA1lIpH6zRSWcb5Jo3W
157
- bMGkRfCoCvCki7iIAy6CSPzmIk+yPObPpOmNeqhpoUF6+6RbhW0Qp/zpV7CH
158
- VvvD8s1sSeAPZhBUusahgq0jPnaRsNcF26N1umvp6ZG5hH8mnNQ7700ehhb3
159
- Gj9QBY7W6Xa7dPESGvjqWvhwS9k1IXgPctdg68O4jJQSK4WpFOUGygoq4KpK
160
- cJVtymSVYZXJrCxVeHEp7iM7QQoxA8joM4USkSSaAWX0mUKJ+TypjD4PUUQ0
161
- D4qIplASPpymOQ7t2WcKJSXJagaU0ecRSjoTSjqNslnNk8ro8wglnuEPGn0e
162
- oQgxDwr5TKB0VpMf1D+Nco/gRMMQjKcZxPK2r+sFg9oXHj/9tb4M1SPr7f8g
163
- je1UL4f1P8u5OM/QwukvmqfRJonXBN61npoX45DVDWwxfDN43hWBSXSOArxu
164
- xKBttLuNW7oC0C3B2x6v9wGWV1A7vI7+W6nQedsdxpp6g9FFrdv3cx/Z1TXK
165
- S4JD1yGlkBThXvyVgKMd7CxWY4SOMvQ7DLa9Vnj70ju03XsPxlzi+7cHeVt0
166
- XW8lTpqFE3efb1Pcb346nV5PfwAAAP//AwCER4/nhwkAAA==
167
-
127
+ body:
128
+ encoding: UTF-8
129
+ string: '{"data":[{"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"}}}]}'
168
130
  http_version:
169
- recorded_at: Sat, 27 Apr 2013 01:46:49 GMT
170
- recorded_with: VCR 2.3.0
131
+ recorded_at: Thu, 27 Jun 2013 15:42:51 GMT
132
+ recorded_with: VCR 2.5.0