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.
- data/lib/faraday/cache.rb +47 -0
- data/lib/reviewed/client.rb +4 -6
- data/lib/reviewed/request.rb +39 -2
- data/lib/reviewed/version.rb +1 -1
- data/lib/reviewed.rb +1 -0
- data/reviewed.gemspec +1 -0
- data/spec/article_spec.rb +3 -5
- data/spec/client_spec.rb +4 -0
- data/spec/collection_spec.rb +2 -1
- data/spec/faraday/cache_spec.rb +59 -0
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/assigns_attachments_to_the_correct_class.yml +296 -304
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_has_many_attachments.yml +231 -204
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_have_any_matching_attachments.yml +296 -246
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/finds_attachments_by_tag.yml +346 -276
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/gets_gallery_attachments.yml +320 -306
- data/spec/fixtures/vcr/Reviewed_Article/associations/deals/has_many_deals.yml +281 -234
- data/spec/fixtures/vcr/Reviewed_Article/associations/pages/has_many_pages.yml +231 -204
- data/spec/fixtures/vcr/Reviewed_Article/associations/products/has_many_products.yml +231 -204
- data/spec/fixtures/vcr/Reviewed_Article/associations/products/returns_products_of_the_correct_class.yml +231 -204
- data/spec/fixtures/vcr/Reviewed_Article/associations/related_articles/has_many_related_articles.yml +231 -204
- data/spec/fixtures/vcr/Reviewed_Article/fetches_when_a_tag_is_not_in_pre-loaded_set.yml +443 -25
- data/spec/fixtures/vcr/Reviewed_Article/find_page/finds_a_page_with_a_matching_slug.yml +360 -313
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_a_product_of_the_correct_class.yml +511 -437
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_nil_if_does_not_respond_to_products.yml +461 -407
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_the_primary_product.yml +461 -407
- data/spec/fixtures/vcr/Reviewed_Article/returns_local_attachments_when_available.yml +443 -87
- data/spec/fixtures/vcr/Reviewed_Collection/collection_data/fetches_the_first_page_by_default.yml +201 -71
- data/spec/fixtures/vcr/Reviewed_Collection/collection_data/is_enumerable.yml +201 -71
- data/spec/fixtures/vcr/Reviewed_Collection/next_page/fetches_the_next_page_of_results.yml +312 -77
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_if_the_page_number_is_out_of_bounds.yml +201 -71
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_whether_this_is_the_first_or_last_page.yml +151 -41
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_limit_value_max_per_page_.yml +151 -41
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_number_of_entries_on_the_current_page.yml +201 -71
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_offset.yml +201 -71
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_item_count.yml +151 -41
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_number_of_pages.yml +201 -71
- data/spec/fixtures/vcr/Reviewed_Collection/previous_page/fetches_the_previous_page_of_results.yml +561 -176
- data/spec/fixtures/vcr/Reviewed_Collection/previous_page/returns_nil_if_there_is_no_previous_page.yml +151 -41
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/does_not_have_any_matching_attachments.yml +168 -95
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/matches_attachments_by_tag_properly.yml +103 -113
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/no_longer_has_many_attachments.yml +103 -53
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_by_tag.yml +103 -113
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_of_the_correct_class.yml +118 -65
- data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/has_many_manufacturer_specs.yml +102 -52
- data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/returns_attachments_of_the_correct_class.yml +102 -52
- data/spec/product_spec.rb +2 -1
- data/spec/request_spec.rb +21 -0
- data/spec/spec_helper.rb +1 -0
- metadata +74 -39
- checksums.yaml +0 -7
- data/spec/fixtures/vcr/Reviewed_Article/does_not_request_for_an_attachment_if_it_can_be_found_in_attributes.yml +0 -387
- data/spec/fixtures/vcr/Reviewed_Article/fetches_all_attachments_when_no_tag_is_asked_for.yml +0 -195
- data/spec/fixtures/vcr/Reviewed_Article/fetches_attachments_when_non-existent.yml +0 -137
- data/spec/fixtures/vcr/Reviewed_Article/fetches_when_an_tag_is_not_in_pre-loaded_set.yml +0 -75
- data/spec/fixtures/vcr/Reviewed_Article/sets_DEFAULT_ATTACHMENTS.yml +0 -75
data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/no_longer_has_many_attachments.yml
CHANGED
@@ -2,71 +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.
|
11
|
+
- Faraday v0.8.6
|
12
12
|
X-Reviewed-Authorization:
|
13
|
-
-
|
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:
|
21
|
+
message: !binary |-
|
22
|
+
T0s=
|
22
23
|
headers:
|
23
|
-
|
24
|
-
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
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
|
+
V2VkLCAyNCBKdWwgMjAxMyAyMTowMzoyMyBHTVQ=
|
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
|
+
NDMwNmNiZmQ3ODE4Y2I1NTQ3ODI3N2FiOThlOTI1ODM=
|
68
|
+
!binary "WC1SdW50aW1l":
|
69
|
+
- !binary |-
|
70
|
+
MC4xNjAwMzQ=
|
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:
|
60
|
-
string:
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
81
|
+
encoding: ASCII-8BIT
|
82
|
+
string: !binary |-
|
83
|
+
H4sIABtB8FEAA8RZbW/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
x4YyhOBR9+6qpvvRdugK1dzU2jFUBkQf2U0vcB9k29SG9cfFeWbqiliyb1Bj
|
115
|
+
2KHnzHUHslTAfFM9Qem0pLMvFTW7qrhkzbaQab2nVErTZ2+fHU7fTOoXbi9u
|
116
|
+
mvV4jHfwtoSzkeLw1SiGmTeNJdMa2nutePaRZuwpDUd28FyZ+hzNTpm6/4C2
|
117
|
+
aWk3PjD0BvSHAf17t2T3BexmpzcPo4Ivedxj+xNcywB+uVe1y0cdqqGZjVjw
|
118
|
+
NbKH+ZrWL7knYqP8pC5u47oqONl8+UEKN11QSCHdU168cYgXWKRb+lK9dAxG
|
119
|
+
rdI9W3o4Ry7GCWTVMJyniZvq/q6TvVr+MGewzP8CAAAA//8DADpqlq0iHwAA
|
70
120
|
http_version:
|
71
|
-
recorded_at:
|
72
|
-
recorded_with: VCR 2.
|
121
|
+
recorded_at: Wed, 24 Jul 2013 21:03:23 GMT
|
122
|
+
recorded_with: VCR 2.4.0
|
data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_by_tag.yml
CHANGED
@@ -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.
|
11
|
+
- Faraday v0.8.6
|
12
12
|
X-Reviewed-Authorization:
|
13
|
-
-
|
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:
|
21
|
+
message: !binary |-
|
22
|
+
T0s=
|
22
23
|
headers:
|
23
|
-
|
24
|
-
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
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
|
+
NzQ5NWNhM2ZmM2Y3Y2E0MWEzMTM5MzlhNzczNDc5ZTQ=
|
68
|
+
!binary "WC1SdW50aW1l":
|
69
|
+
- !binary |-
|
70
|
+
MC4xMjg3ODU=
|
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:
|
60
|
-
string:
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
81
|
+
encoding: ASCII-8BIT
|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5pDNTKOQTFOUEwt3IOQcH4NFBAzggU3tYL
|
114
|
+
x4YyhOBR9+6qpvvRdugK1dzU2jFUBkQf2U0vcB9k29SG9cfFeWbqiliyb1Bj
|
115
|
+
2KHnzHUHslTAfFM9Qem0pLMvFTW7qrhkzbaQab2nVErTZ2+fHU7fTOoXbi9u
|
116
|
+
mvV4jHfwtoSzkeLw1SiGmTeNJdMa2nutePaRZuwpDUd28FyZ+hzNTpm6/4C2
|
117
|
+
aWk3PjD0BvSHAf17t2T3BexmpzcPo4Ivedxj+xNcywB+uVe1y0cdqqGZjVjw
|
118
|
+
NbKH+ZrWL7knYqP8pC5u47oqONl8+UEKN11QSCHdU168cYgXWKRb+lK9dAxG
|
119
|
+
rdI9W3o4Ry7GEIpZGM6zJM11f9fFr5Y/zBks878AAAAA//8DAIlV9SEiHwAA
|
70
120
|
http_version:
|
71
|
-
recorded_at:
|
72
|
-
|
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:49 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
|
-
- ca5e09823911818c9a48a56ba5830630
|
119
|
-
X-Runtime:
|
120
|
-
- '0.000519'
|
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:24 GMT
|
122
|
+
recorded_with: VCR 2.4.0
|