reviewed 0.2.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/reviewed.rb +1 -0
- data/lib/reviewed/article.rb +3 -11
- data/lib/reviewed/attachable.rb +21 -0
- data/lib/reviewed/attachment.rb +1 -0
- data/lib/reviewed/base.rb +20 -6
- data/lib/reviewed/client.rb +24 -9
- data/lib/reviewed/collection.rb +1 -1
- data/lib/reviewed/embeddable.rb +4 -0
- data/lib/reviewed/product.rb +2 -11
- data/lib/reviewed/request.rb +9 -7
- data/lib/reviewed/version.rb +1 -1
- data/spec/article_spec.rb +8 -6
- data/spec/base_spec.rb +16 -3
- data/spec/client_spec.rb +22 -19
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/assigns_attachments_to_the_correct_class.yml +330 -0
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_has_many_attachments.yml +249 -0
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/does_not_have_any_matching_attachments.yml +296 -593
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/finds_attachments_by_tag.yml +307 -593
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/gets_gallery_attachments.yml +327 -0
- data/spec/fixtures/vcr/Reviewed_Article/associations/deals/has_many_deals.yml +236 -571
- data/spec/fixtures/vcr/Reviewed_Article/associations/pages/has_many_pages.yml +241 -593
- data/spec/fixtures/vcr/Reviewed_Article/associations/products/has_many_products.yml +236 -569
- data/spec/fixtures/vcr/Reviewed_Article/associations/products/returns_products_of_the_correct_class.yml +241 -593
- data/spec/fixtures/vcr/Reviewed_Article/associations/related_articles/has_many_related_articles.yml +236 -584
- data/spec/fixtures/vcr/Reviewed_Article/find_page/finds_a_page_with_a_matching_slug.yml +393 -769
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_a_product_of_the_correct_class.yml +480 -1184
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_nil_if_does_not_respond_to_products.yml +480 -1184
- data/spec/fixtures/vcr/Reviewed_Article/primary_product/returns_the_primary_product.yml +480 -1184
- data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/not_set/has_nil_query_params.yml +205 -246
- data/spec/fixtures/vcr/Reviewed_Client/_perform/request_params/set/merges_quest_params.yml +73 -90
- data/spec/fixtures/vcr/Reviewed_Collection/collection_data/fetches_the_first_page_by_default.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/collection_data/is_enumerable.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/next_page/fetches_the_next_page_of_results.yml +202 -295
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_if_the_page_number_is_out_of_bounds.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/indicates_whether_this_is_the_first_or_last_page.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_limit_value_max_per_page_.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_number_of_entries_on_the_current_page.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_offset.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_item_count.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/page_attributes_pagination_/returns_the_total_number_of_pages.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Collection/previous_page/fetches_the_previous_page_of_results.yml +315 -468
- data/spec/fixtures/vcr/Reviewed_Collection/previous_page/returns_nil_if_there_is_no_previous_page.yml +115 -175
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/does_not_have_any_matching_attachments.yml +138 -108
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/matches_attachments_by_tag_properly.yml +157 -0
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/no_longer_has_many_attachments.yml +91 -0
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_by_tag.yml +157 -0
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_attachments_of_the_correct_class.yml +138 -111
- data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/has_many_manufacturer_specs.yml +83 -108
- data/spec/fixtures/vcr/Reviewed_Product/manufacturer_specs/returns_attachments_of_the_correct_class.yml +83 -108
- data/spec/fixtures/vcr/Reviewed_Request/_where/filters_collections_using_other_supported_options.yml +69 -102
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_a_collection.yml +205 -246
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_an_empty_set_if_no_matching_data_was_found.yml +50 -75
- data/spec/fixtures/vcr/Reviewed_Request/_where/returns_the_appropriate_page_of_results.yml +210 -280
- data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_a_collection_object.yml +205 -246
- data/spec/fixtures/vcr/Reviewed_Request/collection_from_response/returns_objects_of_the_correct_class.yml +205 -246
- data/spec/fixtures/vcr/Reviewed_Request/object_from_response/returns_an_object_of_the_correct_class.yml +241 -593
- data/spec/product_spec.rb +6 -7
- data/spec/request_spec.rb +18 -8
- data/spec/spec_helper.rb +8 -2
- metadata +15 -14
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/has_many_attachments.yml +0 -601
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/returns_all_attachments.yml +0 -601
- data/spec/fixtures/vcr/Reviewed_Article/associations/attachments/returns_attachments_of_the_correct_class.yml +0 -601
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/finds_attachments_by_tag.yml +0 -116
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/has_many_attachments.yml +0 -119
- data/spec/fixtures/vcr/Reviewed_Product/associations/attachments/returns_all_attachments.yml +0 -116
@@ -1,183 +1,123 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
6
|
-
body:
|
5
|
+
uri: http://localhost:3000/api/v1/products
|
6
|
+
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
11
|
- Faraday v0.8.6
|
12
|
-
X-Reviewed-Authorization:
|
13
|
-
-
|
14
|
-
Accept-Encoding:
|
12
|
+
X-Reviewed-Authorization:
|
13
|
+
- 5bbeff36f992bbb2f6dcaf37f3e630d8
|
14
|
+
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
-
|
18
|
-
response:
|
19
|
-
status:
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
20
|
code: 200
|
21
|
-
message:
|
22
|
-
|
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
|
-
RnJpLCAyMiBNYXIgMjAxMyAxOTo0MTowOSBHTVQ=
|
53
|
-
!binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
|
54
|
-
- !binary |-
|
55
|
-
bWF4LWFnZT0zMTUzNjAwMA==
|
56
|
-
!binary "VmFyeQ==":
|
57
|
-
- !binary |-
|
58
|
-
QWNjZXB0LUVuY29kaW5n
|
59
|
-
!binary "WC1SYWNrLUNhY2hl":
|
60
|
-
- !binary |-
|
61
|
-
bWlzcw==
|
62
|
-
!binary "WC1SZXF1ZXN0LUlk":
|
63
|
-
- !binary |-
|
64
|
-
ZTQ0MTY5MDVhZDY3OGExMGU5ODQ2MWJhOTcwYzE5ZjU=
|
65
|
-
!binary "WC1SdW50aW1l":
|
66
|
-
- !binary |-
|
67
|
-
My4yODI5Mzg=
|
68
|
-
!binary "WC1VYS1Db21wYXRpYmxl":
|
69
|
-
- !binary |-
|
70
|
-
SUU9RWRnZSxjaHJvbWU9MQ==
|
71
|
-
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
72
|
-
- !binary |-
|
73
|
-
Y2h1bmtlZA==
|
74
|
-
!binary "Q29ubmVjdGlvbg==":
|
75
|
-
- !binary |-
|
76
|
-
a2VlcC1hbGl2ZQ==
|
77
|
-
body:
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
Access-Control-Allow-Methods:
|
26
|
+
- OPTIONS, GET, POST, PUT, DELETE
|
27
|
+
Access-Control-Max-Age:
|
28
|
+
- "1000"
|
29
|
+
Access-Control-Allow-Credentials:
|
30
|
+
- "true"
|
31
|
+
Access-Control-Allow-Headers:
|
32
|
+
- x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization, x-skip-cache, Content-Type
|
33
|
+
Cache-Control:
|
34
|
+
- no-cache, no-store
|
35
|
+
Content-Type:
|
36
|
+
- application/json; charset=utf-8
|
37
|
+
Vary:
|
38
|
+
- Accept-Encoding
|
39
|
+
Content-Encoding:
|
40
|
+
- gzip
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge
|
43
|
+
X-Request-Id:
|
44
|
+
- 84df14539866bdf613610f12d978926e
|
45
|
+
X-Runtime:
|
46
|
+
- "1.481307"
|
47
|
+
Connection:
|
48
|
+
- close
|
49
|
+
Server:
|
50
|
+
- thin 1.5.1 codename Straight Razor
|
51
|
+
body:
|
78
52
|
encoding: ASCII-8BIT
|
79
|
-
string: !binary
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
+
|
102
|
-
|
103
|
-
/
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
+
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
j4dEuHqr4wIuacTlDrikFHXeLyHl85qEO8H9ucHjCT1IGCjeIjoaE1KZcBtz
|
148
|
-
JJlPaYWnYU103GKDCyReIPFMIFGfDBL1GiSGMtZGYEa1kSJU+W44Fbu/AySS
|
149
|
-
PI2WR3xnWvK8tJUtJ4G+H6RulLoO57/1wuXQy/38RsD5tyysDrvULWsV12G4
|
150
|
-
b3cCpVbBjzzXtTbbh6WysJXkqbHK+94nLmwFnTRfSTvmSNSExE1TXMpa/58D
|
151
|
-
85mVtZJEOExDbp0Jcaz99KSuGm3ys00YMKrqQvr5dqJURnTZ7u/2lrWe8pAJ
|
152
|
-
LCVnSahRbCWRnMvEJdThMFHYuTixGuFQE4FWDploqay1tuiV0yVaKmutLXzl
|
153
|
-
WImWylprC185T6KlstYDLL50kERLZa21ha+cINFSWetBwsW68IZlrbWFr5wZ
|
154
|
-
0VJZ60HC6fpsb1jWepDwxSkRLZW11hX+bntZa/fl61EP13glE5kTwuWry0Su
|
155
|
-
fFq3kYlc0flrz0Q+PtF7f8+rxI8lJNE2dI5ygoTIt8Cp2NMIXDHk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tUh4B14O/D+LcEbtwTeeAu8NNJEC8OC
|
107
|
+
wAopnGolrt0uAbt2YTaX3vuN4L36sceCq2sXSPPWk5xZMLqfFx7z8R45lYvL
|
108
|
+
XUIKP7mLKxOhmSVEKmsUdptVQZVi3jB1eU17J4Msfu77Pbrl3XLcQbaD7N8S
|
109
|
+
srYlyNpNyGLLNVYSERzzxMbOpWLVV7f7Icsr75aFqEkkVO2k1ODeJ+JtZdJg
|
110
|
+
/4HUn6S4jHxe3Fz99CcGPOc9Bb6KdgKe2MrEUi2JjTAVCa7yZmRDnm5pqgt2
|
111
|
+
dsHOVwWnY09P3G1nE04IS4Yji2KV4Ji6b1oRq4UTYtU2DYbfN+b7LRNmPvuX
|
112
|
+
a99YLNM+nnyLfXo0opRqlNxXu/dS9QsfeUjiPhTtU2vQEEW7Sulo1NHoNdEo
|
113
|
+
Ofb8wd12NmjkMsaSwB2JzGmEqy/sUVC7TCC0OouP1C8TljQS8xS/xRGbdjTq
|
114
|
+
/Twqc30z1Pmk9zMJMP1wveISTNKRP3UChRPwp05geF/Lp+x+Mi1tfg3XZdb+
|
115
|
+
+a5EPfPxBGpv2xjGIOGCJUkUMEYjt/GCMG+Irnq9dQjrEPaqEHbs4YS77awj
|
116
|
+
DCWasiBSQkdcCoQFMtJyWxvpYO7DVUxDXHdaC2AO91GV3bax2rvQMGd6Fxe3
|
117
|
+
hK1lu8Su1I/jR8KaH6IKTHmE+br/JNWXLP4IrsXWsuPb2JpP1h1wzSf0IXRV
|
118
|
+
QYzAbgQxiFlH11Jd9QDbVGBHrY5ar4pax57ft9sOqO3Xr/8TAAAA//8DAOFo
|
119
|
+
WtzfZAAA
|
120
|
+
|
181
121
|
http_version:
|
182
|
-
recorded_at:
|
122
|
+
recorded_at: Tue, 16 Apr 2013 20:44:54 GMT
|
183
123
|
recorded_with: VCR 2.4.0
|
@@ -1,116 +1,146 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
6
|
-
body:
|
5
|
+
uri: http://localhost:3000/api/v1/products/minden-master-ii
|
6
|
+
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
11
|
- Faraday v0.8.6
|
12
|
-
X-Reviewed-Authorization:
|
13
|
-
-
|
14
|
-
Accept-Encoding:
|
12
|
+
X-Reviewed-Authorization:
|
13
|
+
- 5bbeff36f992bbb2f6dcaf37f3e630d8
|
14
|
+
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
-
|
18
|
-
response:
|
19
|
-
status:
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
20
|
code: 200
|
21
|
-
message:
|
22
|
-
|
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
|
-
RnJpLCAyMiBNYXIgMjAxMyAxOTo0MToyMCBHTVQ=
|
53
|
-
!binary "U3RyaWN0LVRyYW5zcG9ydC1TZWN1cml0eQ==":
|
54
|
-
- !binary |-
|
55
|
-
bWF4LWFnZT0zMTUzNjAwMA==
|
56
|
-
!binary "VmFyeQ==":
|
57
|
-
- !binary |-
|
58
|
-
QWNjZXB0LUVuY29kaW5n
|
59
|
-
!binary "WC1SYWNrLUNhY2hl":
|
60
|
-
- !binary |-
|
61
|
-
bWlzcw==
|
62
|
-
!binary "WC1SZXF1ZXN0LUlk":
|
63
|
-
- !binary |-
|
64
|
-
MGFiMzVkMmUxMTJiMjdmYThjZWU2YjNmYjQxMmUwNzM=
|
65
|
-
!binary "WC1SdW50aW1l":
|
66
|
-
- !binary |-
|
67
|
-
MC4wMTk3OTA=
|
68
|
-
!binary "WC1VYS1Db21wYXRpYmxl":
|
69
|
-
- !binary |-
|
70
|
-
SUU9RWRnZSxjaHJvbWU9MQ==
|
71
|
-
!binary "VHJhbnNmZXItRW5jb2Rpbmc=":
|
72
|
-
- !binary |-
|
73
|
-
Y2h1bmtlZA==
|
74
|
-
!binary "Q29ubmVjdGlvbg==":
|
75
|
-
- !binary |-
|
76
|
-
a2VlcC1hbGl2ZQ==
|
77
|
-
body:
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
Access-Control-Allow-Methods:
|
26
|
+
- OPTIONS, GET, POST, PUT, DELETE
|
27
|
+
Access-Control-Max-Age:
|
28
|
+
- "1000"
|
29
|
+
Access-Control-Allow-Credentials:
|
30
|
+
- "true"
|
31
|
+
Access-Control-Allow-Headers:
|
32
|
+
- x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization, x-skip-cache, Content-Type
|
33
|
+
Cache-Control:
|
34
|
+
- no-cache, no-store
|
35
|
+
Content-Type:
|
36
|
+
- application/json; charset=utf-8
|
37
|
+
Vary:
|
38
|
+
- Accept-Encoding
|
39
|
+
Content-Encoding:
|
40
|
+
- gzip
|
41
|
+
X-Ua-Compatible:
|
42
|
+
- IE=Edge
|
43
|
+
X-Request-Id:
|
44
|
+
- 5044f759eb0599617babee27e58048dc
|
45
|
+
X-Runtime:
|
46
|
+
- "0.162348"
|
47
|
+
Connection:
|
48
|
+
- close
|
49
|
+
Server:
|
50
|
+
- thin 1.5.1 codename Straight Razor
|
51
|
+
body:
|
78
52
|
encoding: ASCII-8BIT
|
79
|
-
string: !binary
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
/
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
53
|
+
string: !binary |
|
54
|
+
H4sIAFK4bVEAA8RZbW/bNhD+K4Y+dZgdkXq1BAwD1q5dgKYNWn/ZikCgRNpm
|
55
|
+
K4sCSSVNi/z3HSXZsp1IdtfZCYIEJB/yHh7veMfTd4tTK7Z8NCcuCoMoIKk/
|
56
|
+
DRAOUBaSkFljK5OMaEYTogHnIOxMkD/B/szBMXZi7P8DmKqkOxh3gtwJxgaD
|
57
|
+
/NjxDKYgKwajV7ygrBhdEaWZHF1ewojKqwWMrOqRyaoemXAOI4m+L82kv8SK
|
58
|
+
xfEbyfNcwX+iYMwMKSv+ZF1LUZKCWTdja6VkacVeGF2gsUWk5lnOEk5rGGwx
|
59
|
+
dViYphQ504D6vg88A9818+5YqrjegrIgiGjYQL0pQ+bHqaFlleZcLRNRbKtj
|
60
|
+
OsNR7HoxQr8iBH9rnWRWXFR5DnMkz1iykCRNmUxqhQNAVin0180GlkpS0GR9
|
61
|
+
HhGjYdYwCNyaghM6MG0lKMuNIrc0KJkSlQQZleQwZJdS0CrTyn5Cp0RmS37L
|
62
|
+
EqXhyACc3ifm8GCEq0RlQvJikaREsZyDUuM5yRXbzKKbjlZEIomGCestwA6+
|
63
|
+
1M3vlhaa5Nv9G20wYFponrOm52GtCjOrtRKrhq24UlwUygyAFYJwLSu2NskN
|
64
|
+
lcb6Nk3KlJbivm3D6qTkCWzmS71OJvKcZZqb8zOrGlXagLBvsd3QMMa1lGwO
|
65
|
+
A0uty9i2c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5FWzhAVByDOGai0coao
|
81
|
+
QM54Fq20cg5Swc55qGBniIqPjDWdw2hrOUNUAoB4Z6DSyjlEJTgTlWCYSuSd
|
82
|
+
RyutnENU3DN4UCvnEBWMz0MF5AxQEW1kPDWVPgbwxs5I2bzbm3cHyXXzHmnb
|
83
|
+
EAWJCU9NzWmfZFtwhPmn5TmuY2ii+DeIp04EL0lT7io0LL7OEyBJWDD7c8nq
|
84
|
+
XT1DnWM7CzmyerM1Y7hw1AHtgbzmB2X2L9XUPOqqRVc27K9+D32NwLETPpVP
|
85
|
+
PYXZyaf2v0Gs655t7bqnuP57Tfq3zZRcLESyNe8Z7KJmdKxJtOBBa2gw9sCB
|
86
|
+
HC+pf5W6XEjuiKRDpdnTqm59qkduaQMfVN/mO4yPA5pOfccPMGNuRH1IMRCe
|
87
|
+
Hls6PLwOqPBfAQAAAP//AwBvnIGQyxsAAA==
|
88
|
+
|
114
89
|
http_version:
|
115
|
-
recorded_at:
|
90
|
+
recorded_at: Tue, 16 Apr 2013 20:45:06 GMT
|
91
|
+
- request:
|
92
|
+
method: get
|
93
|
+
uri: http://localhost:3000/api/v1/products/50fa307696ab5860160c7a7e/attachments?tags=doesnotcompute
|
94
|
+
body:
|
95
|
+
encoding: US-ASCII
|
96
|
+
string: ""
|
97
|
+
headers:
|
98
|
+
User-Agent:
|
99
|
+
- Faraday v0.8.6
|
100
|
+
X-Reviewed-Authorization:
|
101
|
+
- 5bbeff36f992bbb2f6dcaf37f3e630d8
|
102
|
+
Accept-Encoding:
|
103
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
104
|
+
Accept:
|
105
|
+
- "*/*"
|
106
|
+
response:
|
107
|
+
status:
|
108
|
+
code: 200
|
109
|
+
message: OK
|
110
|
+
headers:
|
111
|
+
Access-Control-Allow-Origin:
|
112
|
+
- "*"
|
113
|
+
Access-Control-Allow-Methods:
|
114
|
+
- OPTIONS, GET, POST, PUT, DELETE
|
115
|
+
Access-Control-Max-Age:
|
116
|
+
- "1000"
|
117
|
+
Access-Control-Allow-Credentials:
|
118
|
+
- "true"
|
119
|
+
Access-Control-Allow-Headers:
|
120
|
+
- x-pagination, x-requested-with, x-requested-by, x-reviewed-authorization, x-skip-cache, Content-Type
|
121
|
+
Cache-Control:
|
122
|
+
- no-cache, no-store
|
123
|
+
Content-Type:
|
124
|
+
- application/json; charset=utf-8
|
125
|
+
Vary:
|
126
|
+
- Accept-Encoding
|
127
|
+
Content-Encoding:
|
128
|
+
- gzip
|
129
|
+
X-Ua-Compatible:
|
130
|
+
- IE=Edge
|
131
|
+
X-Request-Id:
|
132
|
+
- 1fe6d7674156962e611098147359e007
|
133
|
+
X-Runtime:
|
134
|
+
- "0.088219"
|
135
|
+
Connection:
|
136
|
+
- close
|
137
|
+
Server:
|
138
|
+
- thin 1.5.1 codename Straight Razor
|
139
|
+
body:
|
140
|
+
encoding: ASCII-8BIT
|
141
|
+
string: !binary |
|
142
|
+
H4sIAFK4bVEAA6pWSkksSVSyio6tBQAAAP//AwCUZLJeCwAAAA==
|
143
|
+
|
144
|
+
http_version:
|
145
|
+
recorded_at: Tue, 16 Apr 2013 20:45:06 GMT
|
116
146
|
recorded_with: VCR 2.4.0
|