reviewed 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. data/lib/faraday/cache.rb +47 -0
  2. data/lib/reviewed/client.rb +4 -6
  3. data/lib/reviewed/request.rb +39 -2
  4. data/lib/reviewed/version.rb +1 -1
  5. data/lib/reviewed.rb +1 -0
  6. data/reviewed.gemspec +1 -0
  7. data/spec/article_spec.rb +3 -5
  8. data/spec/client_spec.rb +4 -0
  9. data/spec/collection_spec.rb +2 -1
  10. data/spec/faraday/cache_spec.rb +59 -0
  11. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/assigns_attachments_to_the_correct_class.yml +296 -304
  12. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_has_many_attachments.yml +231 -204
  13. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_have_any_matching_attachments.yml +296 -246
  14. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/finds_attachments_by_tag.yml +346 -276
  15. data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/gets_gallery_attachments.yml +320 -306
  16. data/spec/fixtures/vcr/Reviewed_Article/associations/deals/has_many_deals.yml +281 -234
  17. data/spec/fixtures/vcr/Reviewed_Article/associations/pages/has_many_pages.yml +231 -204
  18. data/spec/fixtures/vcr/Reviewed_Article/associations/products/has_many_products.yml +231 -204
  19. data/spec/fixtures/vcr/Reviewed_Article/associations/products/returns_products_of_the_correct_class.yml +231 -204
  20. data/spec/fixtures/vcr/Reviewed_Article/associations/related_articles/has_many_related_articles.yml +231 -204
  21. data/spec/fixtures/vcr/Reviewed_Article/fetches_when_a_tag_is_not_in_pre-loaded_set.yml +443 -25
  22. data/spec/fixtures/vcr/Reviewed_Article/find_page/finds_a_page_with_a_matching_slug.yml +360 -313
  23. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_a_product_of_the_correct_class.yml +511 -437
  24. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_nil_if_does_not_respond_to_products.yml +461 -407
  25. data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_the_primary_product.yml +461 -407
  26. data/spec/fixtures/vcr/Reviewed_Article/returns_local_attachments_when_available.yml +443 -87
  27. data/spec/fixtures/vcr/Reviewed_Collection/collection_data/fetches_the_first_page_by_default.yml +201 -71
  28. data/spec/fixtures/vcr/Reviewed_Collection/collection_data/is_enumerable.yml +201 -71
  29. data/spec/fixtures/vcr/Reviewed_Collection/next_page/fetches_the_next_page_of_results.yml +312 -77
  30. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_if_the_page_number_is_out_of_bounds.yml +201 -71
  31. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_whether_this_is_the_first_or_last_page.yml +151 -41
  32. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_limit_value_max_per_page_.yml +151 -41
  33. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_number_of_entries_on_the_current_page.yml +201 -71
  34. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_offset.yml +201 -71
  35. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_item_count.yml +151 -41
  36. data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_number_of_pages.yml +201 -71
  37. data/spec/fixtures/vcr/Reviewed_Collection/previous_page/fetches_the_previous_page_of_results.yml +561 -176
  38. data/spec/fixtures/vcr/Reviewed_Collection/previous_page/returns_nil_if_there_is_no_previous_page.yml +151 -41
  39. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/does_not_have_any_matching_attachments.yml +168 -95
  40. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/matches_attachments_by_tag_properly.yml +103 -113
  41. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/no_longer_has_many_attachments.yml +103 -53
  42. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_by_tag.yml +103 -113
  43. data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_of_the_correct_class.yml +118 -65
  44. data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/has_many_manufacturer_specs.yml +102 -52
  45. data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/returns_attachments_of_the_correct_class.yml +102 -52
  46. data/spec/product_spec.rb +2 -1
  47. data/spec/request_spec.rb +21 -0
  48. data/spec/spec_helper.rb +1 -0
  49. metadata +74 -39
  50. checksums.yaml +0 -7
  51. data/spec/fixtures/vcr/Reviewed_Article/does_not_request_for_an_attachment_if_it_can_be_found_in_attributes.yml +0 -387
  52. data/spec/fixtures/vcr/Reviewed_Article/fetches_all_attachments_when_no_tag_is_asked_for.yml +0 -195
  53. data/spec/fixtures/vcr/Reviewed_Article/fetches_attachments_when_non-existent.yml +0 -137
  54. data/spec/fixtures/vcr/Reviewed_Article/fetches_when_an_tag_is_not_in_pre-loaded_set.yml +0 -75
  55. data/spec/fixtures/vcr/Reviewed_Article/sets_DEFAULT_ATTACHMENTS.yml +0 -75
@@ -2,73 +2,123 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://the-guide-staging.herokuapp.com/api/v1/products/minden-master-ii
5
+ uri: https://the-guide-staging.herokuapp.com/api/v1/products/minden-master-ii?skip-cache=true
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.8.7
11
+ - Faraday v0.8.6
12
12
  X-Reviewed-Authorization:
13
- - 38e397252ec670ec441733a95204f141
13
+ - 5bbeff36f992bbb2f6dcaf37f3e630d8
14
14
  Accept-Encoding:
15
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
16
  Accept:
17
- - '*/*'
17
+ - ! '*/*'
18
18
  response:
19
19
  status:
20
20
  code: 200
21
- message: OK
21
+ message: !binary |-
22
+ T0s=
22
23
  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:
29
- - OPTIONS, GET, POST, PUT, DELETE
30
- Access-Control-Allow-Origin:
31
- - '*'
32
- Access-Control-Max-Age:
33
- - '1000'
34
- Cache-Control:
35
- - no-cache, no-store
36
- Content-Type:
37
- - application/json; charset=utf-8
38
- Date:
39
- - Thu, 27 Jun 2013 15:42:51 GMT
40
- Etag:
41
- - '"e0aa021e21dddbd6d8cecec71e9cf564"'
42
- Status:
43
- - 200 OK
44
- Strict-Transport-Security:
45
- - max-age=31536000
46
- Vary:
47
- - Accept-Encoding
48
- X-Request-Id:
49
- - ca529ecde8cf84554463598a845caa0b
50
- X-Runtime:
51
- - '0.000803'
52
- X-Ua-Compatible:
53
- - IE=Edge,chrome=1
54
- Transfer-Encoding:
55
- - chunked
56
- Connection:
57
- - keep-alive
24
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM=":
25
+ - !binary |-
26
+ dHJ1ZQ==
27
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctSGVhZGVycw==":
28
+ - !binary |-
29
+ eC1wYWdpbmF0aW9uLCB4LXJlcXVlc3RlZC13aXRoLCB4LXJlcXVlc3RlZC1i
30
+ eSwgeC1yZXZpZXdlZC1hdXRob3JpemF0aW9uLCB4LXNraXAtY2FjaGUsIENv
31
+ bnRlbnQtVHlwZQ==
32
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctTWV0aG9kcw==":
33
+ - !binary |-
34
+ T1BUSU9OUywgR0VULCBQT1NULCBQVVQsIERFTEVURQ==
35
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
36
+ - !binary |-
37
+ Kg==
38
+ !binary "QWNjZXNzLUNvbnRyb2wtTWF4LUFnZQ==":
39
+ - !binary |-
40
+ MTAwMA==
41
+ !binary "Q2FjaGUtQ29udHJvbA==":
42
+ - !binary |-
43
+ bm8tY2FjaGUsIG5vLXN0b3Jl
44
+ !binary "Q29udGVudC1FbmNvZGluZw==":
45
+ - !binary |-
46
+ Z3ppcA==
47
+ !binary "Q29udGVudC1UeXBl":
48
+ - !binary |-
49
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
50
+ !binary "RGF0ZQ==":
51
+ - !binary |-
52
+ V2VkLCAyNCBKdWwgMjAxMyAyMTowMzoyNSBHTVQ=
53
+ !binary "U3RhdHVz":
54
+ - !binary |-
55
+ MjAwIE9L
56
+ !binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
57
+ - !binary |-
58
+ bWF4LWFnZT0zMTUzNjAwMA==
59
+ !binary "VmFyeQ==":
60
+ - !binary |-
61
+ QWNjZXB0LUVuY29kaW5n
62
+ !binary "WC1SYWNrLUNhY2hl":
63
+ - !binary |-
64
+ bWlzcw==
65
+ !binary "WC1SZXF1ZXN0LUlk":
66
+ - !binary |-
67
+ MDlmMDRhYjQ1NDEwNjkxYzI3YThkMWI4YWZlOWEyYjc=
68
+ !binary "WC1SdW50aW1l":
69
+ - !binary |-
70
+ MC4yNzMwMTc=
71
+ !binary "WC1VYS1Db21wYXRpYmxl":
72
+ - !binary |-
73
+ SUU9RWRnZSxjaHJvbWU9MQ==
74
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
75
+ - !binary |-
76
+ Y2h1bmtlZA==
77
+ !binary "Q29ubmVjdGlvbg==":
78
+ - !binary |-
79
+ a2VlcC1hbGl2ZQ==
58
80
  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"}}}'
81
+ encoding: ASCII-8BIT
82
+ string: !binary |-
83
+ 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
70
120
  http_version:
71
- recorded_at: Thu, 27 Jun 2013 15:42:52 GMT
121
+ recorded_at: Wed, 24 Jul 2013 21:03:25 GMT
72
122
  - request:
73
123
  method: get
74
124
  uri: https://the-guide-staging.herokuapp.com/api/v1/products/50fa307696ab5860160c7a7e/attachments?tags=doesnotcompute
@@ -77,56 +127,79 @@ http_interactions:
77
127
  string: ''
78
128
  headers:
79
129
  User-Agent:
80
- - Faraday v0.8.7
130
+ - Faraday v0.8.6
81
131
  X-Reviewed-Authorization:
82
- - 38e397252ec670ec441733a95204f141
132
+ - 5bbeff36f992bbb2f6dcaf37f3e630d8
83
133
  Accept-Encoding:
84
134
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
85
135
  Accept:
86
- - '*/*'
136
+ - ! '*/*'
87
137
  response:
88
138
  status:
89
139
  code: 200
90
- message: OK
140
+ message: !binary |-
141
+ T0s=
91
142
  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:
98
- - OPTIONS, GET, POST, PUT, DELETE
99
- Access-Control-Allow-Origin:
100
- - '*'
101
- Access-Control-Max-Age:
102
- - '1000'
103
- Cache-Control:
104
- - no-cache, no-store
105
- Content-Type:
106
- - application/json; charset=utf-8
107
- Date:
108
- - Thu, 27 Jun 2013 15:42:51 GMT
109
- Etag:
110
- - '"e0aa021e21dddbd6d8cecec71e9cf564"'
111
- Status:
112
- - 200 OK
113
- Strict-Transport-Security:
114
- - max-age=31536000
115
- Vary:
116
- - Accept-Encoding
117
- X-Request-Id:
118
- - 00f667ae0358ab5fcf245f64d1419b8b
119
- X-Runtime:
120
- - '0.025699'
121
- X-Ua-Compatible:
122
- - IE=Edge,chrome=1
123
- Transfer-Encoding:
124
- - chunked
125
- Connection:
126
- - keep-alive
143
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM=":
144
+ - !binary |-
145
+ dHJ1ZQ==
146
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctSGVhZGVycw==":
147
+ - !binary |-
148
+ eC1wYWdpbmF0aW9uLCB4LXJlcXVlc3RlZC13aXRoLCB4LXJlcXVlc3RlZC1i
149
+ eSwgeC1yZXZpZXdlZC1hdXRob3JpemF0aW9uLCB4LXNraXAtY2FjaGUsIENv
150
+ bnRlbnQtVHlwZQ==
151
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctTWV0aG9kcw==":
152
+ - !binary |-
153
+ T1BUSU9OUywgR0VULCBQT1NULCBQVVQsIERFTEVURQ==
154
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
155
+ - !binary |-
156
+ Kg==
157
+ !binary "QWNjZXNzLUNvbnRyb2wtTWF4LUFnZQ==":
158
+ - !binary |-
159
+ MTAwMA==
160
+ !binary "Q2FjaGUtQ29udHJvbA==":
161
+ - !binary |-
162
+ bm8tY2FjaGUsIG5vLXN0b3Jl
163
+ !binary "Q29udGVudC1FbmNvZGluZw==":
164
+ - !binary |-
165
+ Z3ppcA==
166
+ !binary "Q29udGVudC1UeXBl":
167
+ - !binary |-
168
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
169
+ !binary "RGF0ZQ==":
170
+ - !binary |-
171
+ V2VkLCAyNCBKdWwgMjAxMyAyMTowMzoyNSBHTVQ=
172
+ !binary "U3RhdHVz":
173
+ - !binary |-
174
+ MjAwIE9L
175
+ !binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
176
+ - !binary |-
177
+ bWF4LWFnZT0zMTUzNjAwMA==
178
+ !binary "VmFyeQ==":
179
+ - !binary |-
180
+ QWNjZXB0LUVuY29kaW5n
181
+ !binary "WC1SYWNrLUNhY2hl":
182
+ - !binary |-
183
+ bWlzcw==
184
+ !binary "WC1SZXF1ZXN0LUlk":
185
+ - !binary |-
186
+ MTk2YThjNWMyNDcyZTY2YTJhYWE5YzMyNDU5NzQ5MGQ=
187
+ !binary "WC1SdW50aW1l":
188
+ - !binary |-
189
+ MC4wMzUyNDQ=
190
+ !binary "WC1VYS1Db21wYXRpYmxl":
191
+ - !binary |-
192
+ SUU9RWRnZSxjaHJvbWU9MQ==
193
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
194
+ - !binary |-
195
+ Y2h1bmtlZA==
196
+ !binary "Q29ubmVjdGlvbg==":
197
+ - !binary |-
198
+ a2VlcC1hbGl2ZQ==
127
199
  body:
128
- encoding: UTF-8
129
- string: '{"data":[]}'
200
+ encoding: ASCII-8BIT
201
+ string: !binary |-
202
+ H4sIAB1B8FEAA6pWSkksSVSyio6tBQAAAP//AwCUZLJeCwAAAA==
130
203
  http_version:
131
- recorded_at: Thu, 27 Jun 2013 15:42:52 GMT
132
- recorded_with: VCR 2.5.0
204
+ recorded_at: Wed, 24 Jul 2013 21:03:25 GMT
205
+ recorded_with: VCR 2.4.0
@@ -2,131 +2,121 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://the-guide-staging.herokuapp.com/api/v1/products/minden-master-ii
5
+ uri: https://the-guide-staging.herokuapp.com/api/v1/products/minden-master-ii?skip-cache=true
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.8.7
11
+ - Faraday v0.8.6
12
12
  X-Reviewed-Authorization:
13
- - 38e397252ec670ec441733a95204f141
13
+ - 5bbeff36f992bbb2f6dcaf37f3e630d8
14
14
  Accept-Encoding:
15
15
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
16
  Accept:
17
- - '*/*'
17
+ - ! '*/*'
18
18
  response:
19
19
  status:
20
20
  code: 200
21
- message: OK
21
+ message: !binary |-
22
+ T0s=
22
23
  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:
29
- - OPTIONS, GET, POST, PUT, DELETE
30
- Access-Control-Allow-Origin:
31
- - '*'
32
- Access-Control-Max-Age:
33
- - '1000'
34
- Cache-Control:
35
- - no-cache, no-store
36
- Content-Type:
37
- - application/json; charset=utf-8
38
- Date:
39
- - Thu, 27 Jun 2013 15:42:50 GMT
40
- Etag:
41
- - '"e0aa021e21dddbd6d8cecec71e9cf564"'
42
- Status:
43
- - 200 OK
44
- Strict-Transport-Security:
45
- - max-age=31536000
46
- Vary:
47
- - Accept-Encoding
48
- X-Request-Id:
49
- - dab1dbf5a79ce7bf014a42314c26396b
50
- X-Runtime:
51
- - '0.000803'
52
- X-Ua-Compatible:
53
- - IE=Edge,chrome=1
54
- Transfer-Encoding:
55
- - chunked
56
- Connection:
57
- - keep-alive
24
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM=":
25
+ - !binary |-
26
+ dHJ1ZQ==
27
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctSGVhZGVycw==":
28
+ - !binary |-
29
+ eC1wYWdpbmF0aW9uLCB4LXJlcXVlc3RlZC13aXRoLCB4LXJlcXVlc3RlZC1i
30
+ eSwgeC1yZXZpZXdlZC1hdXRob3JpemF0aW9uLCB4LXNraXAtY2FjaGUsIENv
31
+ bnRlbnQtVHlwZQ==
32
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctTWV0aG9kcw==":
33
+ - !binary |-
34
+ T1BUSU9OUywgR0VULCBQT1NULCBQVVQsIERFTEVURQ==
35
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
36
+ - !binary |-
37
+ Kg==
38
+ !binary "QWNjZXNzLUNvbnRyb2wtTWF4LUFnZQ==":
39
+ - !binary |-
40
+ MTAwMA==
41
+ !binary "Q2FjaGUtQ29udHJvbA==":
42
+ - !binary |-
43
+ bm8tY2FjaGUsIG5vLXN0b3Jl
44
+ !binary "Q29udGVudC1FbmNvZGluZw==":
45
+ - !binary |-
46
+ Z3ppcA==
47
+ !binary "Q29udGVudC1UeXBl":
48
+ - !binary |-
49
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
50
+ !binary "RGF0ZQ==":
51
+ - !binary |-
52
+ V2VkLCAyNCBKdWwgMjAxMyAyMTowMzoyNCBHTVQ=
53
+ !binary "U3RhdHVz":
54
+ - !binary |-
55
+ MjAwIE9L
56
+ !binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
57
+ - !binary |-
58
+ bWF4LWFnZT0zMTUzNjAwMA==
59
+ !binary "VmFyeQ==":
60
+ - !binary |-
61
+ QWNjZXB0LUVuY29kaW5n
62
+ !binary "WC1SYWNrLUNhY2hl":
63
+ - !binary |-
64
+ bWlzcw==
65
+ !binary "WC1SZXF1ZXN0LUlk":
66
+ - !binary |-
67
+ MjAyMTFiZTQ4Mjg3MjRhNDU0ZTAwMDNiNTAyZDg1YzM=
68
+ !binary "WC1SdW50aW1l":
69
+ - !binary |-
70
+ MC4xOTYyNjc=
71
+ !binary "WC1VYS1Db21wYXRpYmxl":
72
+ - !binary |-
73
+ SUU9RWRnZSxjaHJvbWU9MQ==
74
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
75
+ - !binary |-
76
+ Y2h1bmtlZA==
77
+ !binary "Q29ubmVjdGlvbg==":
78
+ - !binary |-
79
+ a2VlcC1hbGl2ZQ==
58
80
  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"}}}'
81
+ encoding: ASCII-8BIT
82
+ string: !binary |-
83
+ H4sIABxB8FEAA8RZbW/bNhD+K4Y+bVgckXq1BAwD1q5dgKYLWn/ZgkCgJMpm
84
+ I4sCSSV1i/z3HSVZlp1IBpzaDYIEFI93D++Nx+N3g6VGaLgoIzbyvcAjsTvz
85
+ EPZQ4hOfGhdGIihRNI2IAjoLYWuK3Cl25xYOsRVi9z+gqcp0h8bWNJY9x25o
86
+ BaFjaZqCrCjMXrMipcXkmkhFxeTqCmZkXi1gZlXPTFf1zJQxmInUutSL/uYr
87
+ GobvBctzCf+JhDk9JY3w1rgRvCQFNe4ujJUUpRE6fnCJLgwiFEtyGrG0JoMt
88
+ xhb14zhF1sxLXdcFnJ5r63WPNJZM9Uip5wWp35A6M4r0j1WTllWcM7mMeNFX
89
+ x2yOg9B2QoR+Qwj+1jpJjLCo8hzWCJbQaCFIHFMR1QoHAlHF8D3a6D+gaWA3
90
+ Ej27FmnHDpDFghRpn8pPdqgs3wKqFU9prtXb06ugklcCJFeCwZRZCp5WiZLm
91
+ C5omIlmyBxpJBYYE4ngdaZPCDJORTLhgxSKKiaQ5A1WHGckl7Val3YdWRCSI
92
+ ggVGOLt0bABCivt6+N1QXBHAid3mK1DAIgogC8Vyqm33tNGMJj+knH3nBMfD
93
+ UxzMwQhOEFr2gHM+o2mdE2bxBNxrUrva5FODo0a4YlIyXkiNCoQCLiUqukHQ
94
+ KaAR1g1TKpXg63YMWyMli0CF9zWfhOc5TRTTvqS5agOaQGE+YLPRgXb0paAZ
95
+ TCyVKmVommpJp4uKpXQKtlqAWi+XVPD7ipTlZcJX++uftn4wKMQc0fCrpA8z
96
+ fnp66sJOx1xn6oHIGzA1cubI1YE3mIf8KbLnFgqxF9pez9RNMtFrhNbIoh5e
97
+ CvrA6CNN9V60TIgqTftJh1MCrBdcrDdRnQGeSoC0B1AHryO0mSBplJBVSdii
98
+ gKDnVbn1ZGz7PolRkLl05mYu5FyEnNmAJ8OvN8d+CKnFcQbTLIY0C3ubQTbW
99
+ NNtUNq7OHkit/7sBJ2/9+FRe/kxVxzv8C6xGff85vTlinh+FaVhGHRE/IdF0
100
+ QXjsJjsGo+reUJkjPvk6+cOcQbW6OCBFlZFEx6yIZEmTft7BAXFIlmVp4uHY
101
+ 8ynWVgnQNl80x3A9uDAeSF7pj7801cyvm09RVTAlm+O9+dAWMJ+VPkDhKxcp
102
+ FUYI5QkvVWNmnTSeLsaB4C2QnW3s4WngnByNtYuG5JFOolsYJwdgPwOg6Fd1
103
+ TgTOgEHOjcMdwHFmg3hbGJIKRuW+Z54cgb9F8K6ivc3fGh9udE2ni/dxCNdV
104
+ rtgHJtWVoquXkXTMLoyP+vQneTt6s4RamBMt9y+daqH6YWq9Szb5haSkVFxM
105
+ JM/TiaQlgTqZ5mudP9pbzAjN3SEVzLYquCogZUIFO9c721rhnaBwTkAia1R9
106
+ vEVu91ndcKFInGthrezDeIOeyVgBl6oJbPsNz7noQX4Pcl6X0W53LHIQFdmi
107
+ +gxnz+TPShS0j+gjfyWcf+vDFtgcxBJvsXziCgoDHVs/B0qyhfKPYHAag0/f
108
+ 6HttDw5cvA/ieUsTtqrjZCjQIU6JUiRZruBSuHM3yBKCZqQ53q3U9xEKPGs2
109
+ dDew8Bzh0PVDGw1eA/dodnoUU9tD12+nDwR2sr78Ui7apgMQZKz2dKhKai02
110
+ JHWCoaIr3qSLvrqorWegnNncLbpqRtqXZEW+8YI8yqag6bZt2rGVpthJqZfg
111
+ OCBxRjKCUqgZQcex6/g08xPdyzAbKdEwZImBAp8BSCtnDIqF0FffPTmSRswo
112
+ EMBqnUEnrZwxKFD/n8U8rZyDULB1HijYGoPiIu3W54ieWs4YFA9InDNAaeUc
113
+ guKdCYp3AIoNnm2fPpZbOWNQAuc8BmrlHIJinyGYWzmHoGB8HiggZwQKb+uF
114
+ U0MZQvCke3dl0/1oO3S5am5q7RgqA6KP7KYXuA+ybWrD+tPivKjrikiyb1Bj
115
+ WIFrz3QHslDAfFM9Qem0oOaXkta7KrlkzbZQ3XpPqJR1n719djh/M6lfuB3d
116
+ NOvxGO/gbQnNkeLw1SiGmTeNpbo1tPda8eIjzdhTGg4t/6Uy9SWanTJ1/wFt
117
+ 09JufGDoDeiPGvTv3ZLdF7C7nd48jHK+4FGP7U9wrRrw8V7VLh91qIbGHLHg
118
+ a2QP861bv+SRiI3y4yq/j6oy52Tz5QcpvO6CQgrpnvKijUMcYZFu6bF66RiM
119
+ WqV7tnRxhhyMIRTTIJilcZLp/q5zvF0OcwbL/C8AAAAA//8DAK0t88wiHwAA
70
120
  http_version:
71
- recorded_at: Thu, 27 Jun 2013 15:42:51 GMT
72
- - request:
73
- method: get
74
- uri: https://the-guide-staging.herokuapp.com/api/v1/products/50fa307696ab5860160c7a7e/attachments?tags=vanity
75
- body:
76
- encoding: US-ASCII
77
- string: ''
78
- headers:
79
- User-Agent:
80
- - Faraday v0.8.7
81
- X-Reviewed-Authorization:
82
- - 38e397252ec670ec441733a95204f141
83
- Accept-Encoding:
84
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
85
- Accept:
86
- - '*/*'
87
- response:
88
- status:
89
- code: 200
90
- message: OK
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:
98
- - OPTIONS, GET, POST, PUT, DELETE
99
- Access-Control-Allow-Origin:
100
- - '*'
101
- Access-Control-Max-Age:
102
- - '1000'
103
- Cache-Control:
104
- - no-cache, no-store
105
- Content-Type:
106
- - application/json; charset=utf-8
107
- Date:
108
- - Thu, 27 Jun 2013 15:42:50 GMT
109
- Etag:
110
- - '"e0aa021e21dddbd6d8cecec71e9cf564"'
111
- Status:
112
- - 200 OK
113
- Strict-Transport-Security:
114
- - max-age=31536000
115
- Vary:
116
- - Accept-Encoding
117
- X-Request-Id:
118
- - e62a01a4341ad84dd06c2d428cb96854
119
- X-Runtime:
120
- - '0.019178'
121
- X-Ua-Compatible:
122
- - IE=Edge,chrome=1
123
- Transfer-Encoding:
124
- - chunked
125
- Connection:
126
- - keep-alive
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"}}}]}'
130
- http_version:
131
- recorded_at: Thu, 27 Jun 2013 15:42:51 GMT
132
- recorded_with: VCR 2.5.0
121
+ recorded_at: Wed, 24 Jul 2013 21:03:25 GMT
122
+ recorded_with: VCR 2.4.0