locomotivecms_coal 1.0.0.pre.beta.1 → 1.0.0.pre.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/locomotive/coal/resources/concerns/request.rb +24 -1
- data/lib/locomotive/coal/version.rb +1 -1
- data/spec/fixtures/coal_cassettes/client.yml +81 -86
- data/spec/fixtures/coal_cassettes/content_assets.yml +33 -33
- data/spec/fixtures/coal_cassettes/content_entries.yml +225 -225
- data/spec/fixtures/coal_cassettes/content_types.yml +88 -88
- data/spec/fixtures/coal_cassettes/current_site.yml +21 -21
- data/spec/fixtures/coal_cassettes/memberships.yml +34 -34
- data/spec/fixtures/coal_cassettes/my_account.yml +68 -68
- data/spec/fixtures/coal_cassettes/pages.yml +45 -45
- data/spec/fixtures/coal_cassettes/sites.yml +30 -34
- data/spec/fixtures/coal_cassettes/snippets.yml +32 -32
- data/spec/fixtures/coal_cassettes/theme_assets.yml +32 -32
- data/spec/fixtures/coal_cassettes/token.yml +8 -8
- data/spec/fixtures/coal_cassettes/translations.yml +32 -32
- data/spec/fixtures/coal_cassettes/version.yml +10 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b713be281a717b702f0a6c08c2338e8caf64000c
|
4
|
+
data.tar.gz: 1d72b964e8c0bb8e9794b6bf1dc7e0989e622cc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8249d8b21debd27a354576eb7364396bffdc70e78c083cdb54159975a0a8e7f2913f1c76cefdda772611cc98c47917eaf23a614f46d1374465a7c9467451d93
|
7
|
+
data.tar.gz: d91deb0a77005b742bceb2231c076b6173e27cdcd3d92fb42caddeef12f48ef7f1ea86f81cd7a5a735d7f766448c1c1d45a45bbc3dad9bbf0cb0fa178666b6b9
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -77,7 +77,7 @@ We do not garantee that all the API resources will work with the V2 Client but P
|
|
77
77
|
|
78
78
|
**Create a new site**
|
79
79
|
|
80
|
-
my_site = client.sites.create(name: 'Acme',
|
80
|
+
my_site = client.sites.create(name: 'Acme', handle: 'acme', locales: ['en'], timezone: 'UTC')
|
81
81
|
|
82
82
|
**Destroy a site**
|
83
83
|
|
@@ -54,7 +54,7 @@ module Locomotive::Coal::Resources
|
|
54
54
|
request.headers = _request_headers(parameters)
|
55
55
|
|
56
56
|
if %i(post put).include?(action)
|
57
|
-
request.body = parameters
|
57
|
+
request.body = _encode_parameters(parameters)
|
58
58
|
else
|
59
59
|
request.params = parameters
|
60
60
|
end
|
@@ -95,6 +95,29 @@ module Locomotive::Coal::Resources
|
|
95
95
|
credentials[:token]
|
96
96
|
end
|
97
97
|
|
98
|
+
# https://github.com/ruby-grape/grape/issues/1028
|
99
|
+
def _encode_parameters(parameters)
|
100
|
+
return parameters unless parameters.is_a?(Hash)
|
101
|
+
parameters.tap do
|
102
|
+
parameters.each do |key, value|
|
103
|
+
if value.is_a?(Array)
|
104
|
+
parameters[key] = encode_array_to_hash(value) if value.first.is_a?(Hash)
|
105
|
+
elsif value.is_a?(Hash)
|
106
|
+
parameters[key] = _encode_parameters(value)
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# [{ name: 'a' }, { name: 'b' }] => { 0 => { name: 'a' }, 1 => { name: 'b' } }
|
113
|
+
def encode_array_to_hash(value)
|
114
|
+
{}.tap do |hash|
|
115
|
+
value.each_with_index do |v, index|
|
116
|
+
hash[index] = v.to_hash
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
98
121
|
end
|
99
122
|
|
100
123
|
end
|
@@ -23,23 +23,23 @@ http_interactions:
|
|
23
23
|
Content-Type:
|
24
24
|
- application/json
|
25
25
|
Etag:
|
26
|
-
- W/"
|
26
|
+
- W/"3b6ceb0d2ba232a8d48dd0dc8f702ef4"
|
27
27
|
Cache-Control:
|
28
28
|
- max-age=0, private, must-revalidate
|
29
29
|
X-Request-Id:
|
30
|
-
-
|
30
|
+
- 59c588e9-d44c-4288-9ff8-5797795137ee
|
31
31
|
X-Runtime:
|
32
|
-
- '0.
|
32
|
+
- '0.014395'
|
33
33
|
Content-Length:
|
34
34
|
- '32'
|
35
35
|
body:
|
36
36
|
encoding: UTF-8
|
37
|
-
string: '{"token":"
|
37
|
+
string: '{"token":"xM_3r1zn2aQAinPFqSvd"}'
|
38
38
|
http_version:
|
39
|
-
recorded_at:
|
39
|
+
recorded_at: Tue, 11 Aug 2015 13:12:34 GMT
|
40
40
|
- request:
|
41
41
|
method: get
|
42
|
-
uri: http://localhost:3000/locomotive/api/v3/
|
42
|
+
uri: http://localhost:3000/locomotive/api/v3/sites.json?auth_token=xM_3r1zn2aQAinPFqSvd
|
43
43
|
body:
|
44
44
|
encoding: US-ASCII
|
45
45
|
string: ''
|
@@ -49,7 +49,7 @@ http_interactions:
|
|
49
49
|
X-Locomotive-Account-Email:
|
50
50
|
- admin@locomotivecms.com
|
51
51
|
X-Locomotive-Account-Token:
|
52
|
-
-
|
52
|
+
- xM_3r1zn2aQAinPFqSvd
|
53
53
|
Accept-Encoding:
|
54
54
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
55
55
|
User-Agent:
|
@@ -62,103 +62,100 @@ http_interactions:
|
|
62
62
|
Content-Type:
|
63
63
|
- application/json
|
64
64
|
Etag:
|
65
|
-
- W/"
|
65
|
+
- W/"e98c3f1e3ad87ab3eb5f6a4ca52de628"
|
66
66
|
Cache-Control:
|
67
67
|
- max-age=0, private, must-revalidate
|
68
68
|
X-Request-Id:
|
69
|
-
-
|
69
|
+
- 10523d85-ba59-4bc2-93f5-f810fbf1d63e
|
70
70
|
X-Runtime:
|
71
|
-
- '0.
|
71
|
+
- '0.025750'
|
72
72
|
Content-Length:
|
73
|
-
- '
|
73
|
+
- '1114'
|
74
74
|
body:
|
75
75
|
encoding: UTF-8
|
76
|
-
string: '{"_id":"
|
77
|
-
Doe","
|
76
|
+
string: '[{"_id":"55c9f4a387f6432a1e000002","created_at":"2015-08-11T13:12:03Z","updated_at":"2015-08-11T13:12:04Z","name":"LocomotiveCMS","handle":"www","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["www.example.com"],"memberships":[{"_id":"55c9f4a487f6432a1e000005","created_at":null,"updated_at":null,"role":"admin","account_id":"55c9f4a387f6432a1e000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"picture_thumbnail_url":null},{"_id":"55c9f4a487f6432a1e000006","created_at":"2015-08-11T13:12:04Z","updated_at":"2015-08-11T13:12:34Z","name":"John
|
77
|
+
Doe","handle":"sample","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["sample.example.com"],"memberships":[{"_id":"55c9f4a487f6432a1e000009","created_at":null,"updated_at":null,"role":"admin","account_id":"55c9f4a387f6432a1e000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"picture_thumbnail_url":null}]'
|
78
78
|
http_version:
|
79
|
-
recorded_at:
|
79
|
+
recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
|
80
80
|
- request:
|
81
|
-
method:
|
82
|
-
uri: http://
|
81
|
+
method: get
|
82
|
+
uri: http://localhost:3000/locomotive/api/v3/version.json?auth_token=xM_3r1zn2aQAinPFqSvd&email=admin@locomotivecms.com&handle=&password=locomotive&token=xM_3r1zn2aQAinPFqSvd
|
83
83
|
body:
|
84
|
-
encoding:
|
85
|
-
string:
|
84
|
+
encoding: US-ASCII
|
85
|
+
string: ''
|
86
86
|
headers:
|
87
87
|
Accept:
|
88
88
|
- application/json
|
89
|
-
|
90
|
-
-
|
89
|
+
X-Locomotive-Account-Email:
|
90
|
+
- admin@locomotivecms.com
|
91
|
+
X-Locomotive-Account-Token:
|
92
|
+
- xM_3r1zn2aQAinPFqSvd
|
91
93
|
Accept-Encoding:
|
92
94
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
93
95
|
User-Agent:
|
94
96
|
- Ruby
|
95
97
|
response:
|
96
98
|
status:
|
97
|
-
code:
|
98
|
-
message:
|
99
|
+
code: 200
|
100
|
+
message: OK
|
99
101
|
headers:
|
100
102
|
Content-Type:
|
101
103
|
- application/json
|
102
104
|
Etag:
|
103
|
-
- W/"
|
105
|
+
- W/"4f482497f0c1e5f67e0c6bc908159a8b"
|
104
106
|
Cache-Control:
|
105
107
|
- max-age=0, private, must-revalidate
|
106
108
|
X-Request-Id:
|
107
|
-
-
|
109
|
+
- 9c6d68a3-6dc0-4fec-a59c-c8367e437831
|
108
110
|
X-Runtime:
|
109
|
-
- '0.
|
111
|
+
- '0.011870'
|
110
112
|
Content-Length:
|
111
|
-
- '
|
113
|
+
- '26'
|
112
114
|
body:
|
113
115
|
encoding: UTF-8
|
114
|
-
string: '{"
|
116
|
+
string: '{"engine":"3.0.0-alpha.3"}'
|
115
117
|
http_version:
|
116
|
-
recorded_at:
|
118
|
+
recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
|
117
119
|
- request:
|
118
|
-
method:
|
119
|
-
uri: http://www.example.com:3000/locomotive/api/v3/
|
120
|
+
method: post
|
121
|
+
uri: http://www.example.com:3000/locomotive/api/v3/tokens.json
|
120
122
|
body:
|
121
|
-
encoding:
|
122
|
-
string:
|
123
|
+
encoding: UTF-8
|
124
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
123
125
|
headers:
|
124
126
|
Accept:
|
125
127
|
- application/json
|
126
|
-
|
127
|
-
-
|
128
|
-
X-Locomotive-Account-Token:
|
129
|
-
- v6XDp282UyPDeM6DgA-S
|
128
|
+
Content-Type:
|
129
|
+
- application/x-www-form-urlencoded
|
130
130
|
Accept-Encoding:
|
131
131
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
132
132
|
User-Agent:
|
133
133
|
- Ruby
|
134
134
|
response:
|
135
135
|
status:
|
136
|
-
code:
|
137
|
-
message:
|
136
|
+
code: 201
|
137
|
+
message: Created
|
138
138
|
headers:
|
139
139
|
Content-Type:
|
140
140
|
- application/json
|
141
141
|
Etag:
|
142
|
-
- W/"
|
142
|
+
- W/"3b6ceb0d2ba232a8d48dd0dc8f702ef4"
|
143
143
|
Cache-Control:
|
144
144
|
- max-age=0, private, must-revalidate
|
145
145
|
X-Request-Id:
|
146
|
-
-
|
146
|
+
- f5f8b833-5f1d-432b-81d2-e843afd79f9e
|
147
147
|
X-Runtime:
|
148
|
-
- '0.
|
148
|
+
- '0.018178'
|
149
149
|
Content-Length:
|
150
|
-
- '
|
150
|
+
- '32'
|
151
151
|
body:
|
152
152
|
encoding: UTF-8
|
153
|
-
string: '
|
154
|
-
Doe","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"picture_thumbnail_url":null},{"_id":"55b8f2ea4469646440000006","created_at":"2015-07-29T15:36:10Z","updated_at":"2015-07-29T15:36:34Z","name":"John
|
155
|
-
Doe","handle":"sample","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["sample.example.com"],"memberships":[{"_id":"55b8f2ea4469646440000009","created_at":null,"updated_at":null,"role":"admin","account_id":"55b8f2ea4469646440000000","name":"John
|
156
|
-
Doe","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"picture_thumbnail_url":null}]'
|
153
|
+
string: '{"token":"xM_3r1zn2aQAinPFqSvd"}'
|
157
154
|
http_version:
|
158
|
-
recorded_at:
|
155
|
+
recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
|
159
156
|
- request:
|
160
157
|
method: get
|
161
|
-
uri: http://
|
158
|
+
uri: http://www.example.com:3000/locomotive/api/v3/sites.json?auth_token=xM_3r1zn2aQAinPFqSvd
|
162
159
|
body:
|
163
160
|
encoding: US-ASCII
|
164
161
|
string: ''
|
@@ -168,7 +165,7 @@ http_interactions:
|
|
168
165
|
X-Locomotive-Account-Email:
|
169
166
|
- admin@locomotivecms.com
|
170
167
|
X-Locomotive-Account-Token:
|
171
|
-
-
|
168
|
+
- xM_3r1zn2aQAinPFqSvd
|
172
169
|
Accept-Encoding:
|
173
170
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
174
171
|
User-Agent:
|
@@ -181,26 +178,24 @@ http_interactions:
|
|
181
178
|
Content-Type:
|
182
179
|
- application/json
|
183
180
|
Etag:
|
184
|
-
- W/"
|
181
|
+
- W/"e98c3f1e3ad87ab3eb5f6a4ca52de628"
|
185
182
|
Cache-Control:
|
186
183
|
- max-age=0, private, must-revalidate
|
187
184
|
X-Request-Id:
|
188
|
-
-
|
185
|
+
- 73104d8b-983d-4416-8952-c6c99330ed26
|
189
186
|
X-Runtime:
|
190
|
-
- '0.
|
187
|
+
- '0.023492'
|
191
188
|
Content-Length:
|
192
|
-
- '
|
189
|
+
- '1114'
|
193
190
|
body:
|
194
191
|
encoding: UTF-8
|
195
|
-
string: '[{"_id":"
|
196
|
-
Doe","
|
197
|
-
Doe","handle":"sample","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["sample.example.com"],"memberships":[{"_id":"55b8f2ea4469646440000009","created_at":null,"updated_at":null,"role":"admin","account_id":"55b8f2ea4469646440000000","name":"John
|
198
|
-
Doe","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"picture_thumbnail_url":null}]'
|
192
|
+
string: '[{"_id":"55c9f4a387f6432a1e000002","created_at":"2015-08-11T13:12:03Z","updated_at":"2015-08-11T13:12:04Z","name":"LocomotiveCMS","handle":"www","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["www.example.com"],"memberships":[{"_id":"55c9f4a487f6432a1e000005","created_at":null,"updated_at":null,"role":"admin","account_id":"55c9f4a387f6432a1e000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"picture_thumbnail_url":null},{"_id":"55c9f4a487f6432a1e000006","created_at":"2015-08-11T13:12:04Z","updated_at":"2015-08-11T13:12:34Z","name":"John
|
193
|
+
Doe","handle":"sample","seo_title":null,"meta_keywords":null,"meta_description":null,"robots_txt":null,"locales":["en"],"domains":["sample.example.com"],"memberships":[{"_id":"55c9f4a487f6432a1e000009","created_at":null,"updated_at":null,"role":"admin","account_id":"55c9f4a387f6432a1e000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}],"timezone":"UTC","picture_url":null,"picture_thumbnail_url":null}]'
|
199
194
|
http_version:
|
200
|
-
recorded_at:
|
195
|
+
recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
|
201
196
|
- request:
|
202
197
|
method: get
|
203
|
-
uri: http://localhost:3000/locomotive/api/v3/
|
198
|
+
uri: http://localhost:3000/locomotive/api/v3/my_account.json?auth_token=xM_3r1zn2aQAinPFqSvd
|
204
199
|
body:
|
205
200
|
encoding: US-ASCII
|
206
201
|
string: ''
|
@@ -210,9 +205,7 @@ http_interactions:
|
|
210
205
|
X-Locomotive-Account-Email:
|
211
206
|
- admin@locomotivecms.com
|
212
207
|
X-Locomotive-Account-Token:
|
213
|
-
-
|
214
|
-
X-Locomotive-Site-Handle:
|
215
|
-
- sample
|
208
|
+
- xM_3r1zn2aQAinPFqSvd
|
216
209
|
Accept-Encoding:
|
217
210
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
218
211
|
User-Agent:
|
@@ -225,23 +218,23 @@ http_interactions:
|
|
225
218
|
Content-Type:
|
226
219
|
- application/json
|
227
220
|
Etag:
|
228
|
-
- W/"
|
221
|
+
- W/"5d81ea9f3bdc8f0d8d64e6987d114b29"
|
229
222
|
Cache-Control:
|
230
223
|
- max-age=0, private, must-revalidate
|
231
224
|
X-Request-Id:
|
232
|
-
-
|
225
|
+
- 075f9471-a109-4c39-bcd6-554672c3e8ef
|
233
226
|
X-Runtime:
|
234
|
-
- '0.
|
227
|
+
- '0.015601'
|
235
228
|
Content-Length:
|
236
|
-
- '
|
229
|
+
- '261'
|
237
230
|
body:
|
238
231
|
encoding: UTF-8
|
239
|
-
string: "
|
232
|
+
string: '{"_id":"55c9f4a387f6432a1e000000","created_at":"2015-08-11T13:12:03Z","updated_at":"2015-08-11T13:12:03Z","name":"Admin","email":"admin@locomotivecms.com","locale":"en","api_key":"d49cd50f6f0d2b163f48fc73cb249f0244c37074","super_admin":false,"local_admin":true}'
|
240
233
|
http_version:
|
241
|
-
recorded_at:
|
234
|
+
recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
|
242
235
|
- request:
|
243
236
|
method: get
|
244
|
-
uri: http://localhost:3000/locomotive/api/v3/snippets.json?auth_token=
|
237
|
+
uri: http://localhost:3000/locomotive/api/v3/snippets.json?auth_token=xM_3r1zn2aQAinPFqSvd
|
245
238
|
body:
|
246
239
|
encoding: US-ASCII
|
247
240
|
string: ''
|
@@ -251,7 +244,7 @@ http_interactions:
|
|
251
244
|
X-Locomotive-Account-Email:
|
252
245
|
- admin@locomotivecms.com
|
253
246
|
X-Locomotive-Account-Token:
|
254
|
-
-
|
247
|
+
- xM_3r1zn2aQAinPFqSvd
|
255
248
|
X-Locomotive-Site-Handle:
|
256
249
|
- sample
|
257
250
|
X-Locomotive-Locale:
|
@@ -272,19 +265,19 @@ http_interactions:
|
|
272
265
|
Cache-Control:
|
273
266
|
- max-age=0, private, must-revalidate
|
274
267
|
X-Request-Id:
|
275
|
-
-
|
268
|
+
- aa3d08aa-2ed1-4780-986b-a246c8e3ff90
|
276
269
|
X-Runtime:
|
277
|
-
- '0.
|
270
|
+
- '0.031246'
|
278
271
|
Content-Length:
|
279
272
|
- '2'
|
280
273
|
body:
|
281
274
|
encoding: UTF-8
|
282
275
|
string: "[]"
|
283
276
|
http_version:
|
284
|
-
recorded_at:
|
277
|
+
recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
|
285
278
|
- request:
|
286
279
|
method: get
|
287
|
-
uri: http://localhost:3000/locomotive/api/v3/theme_assets.json?auth_token=
|
280
|
+
uri: http://localhost:3000/locomotive/api/v3/theme_assets.json?auth_token=xM_3r1zn2aQAinPFqSvd
|
288
281
|
body:
|
289
282
|
encoding: US-ASCII
|
290
283
|
string: ''
|
@@ -294,7 +287,7 @@ http_interactions:
|
|
294
287
|
X-Locomotive-Account-Email:
|
295
288
|
- admin@locomotivecms.com
|
296
289
|
X-Locomotive-Account-Token:
|
297
|
-
-
|
290
|
+
- xM_3r1zn2aQAinPFqSvd
|
298
291
|
X-Locomotive-Site-Handle:
|
299
292
|
- sample
|
300
293
|
Accept-Encoding:
|
@@ -313,19 +306,19 @@ http_interactions:
|
|
313
306
|
Cache-Control:
|
314
307
|
- max-age=0, private, must-revalidate
|
315
308
|
X-Request-Id:
|
316
|
-
-
|
309
|
+
- a861cc5a-dfaa-480e-b4e9-9a74c7ce91e5
|
317
310
|
X-Runtime:
|
318
|
-
- '0.
|
311
|
+
- '0.040103'
|
319
312
|
Content-Length:
|
320
313
|
- '2'
|
321
314
|
body:
|
322
315
|
encoding: UTF-8
|
323
316
|
string: "[]"
|
324
317
|
http_version:
|
325
|
-
recorded_at:
|
318
|
+
recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
|
326
319
|
- request:
|
327
320
|
method: get
|
328
|
-
uri: http://localhost:3000/locomotive/api/v3/
|
321
|
+
uri: http://localhost:3000/locomotive/api/v3/translations.json?auth_token=xM_3r1zn2aQAinPFqSvd
|
329
322
|
body:
|
330
323
|
encoding: US-ASCII
|
331
324
|
string: ''
|
@@ -335,7 +328,9 @@ http_interactions:
|
|
335
328
|
X-Locomotive-Account-Email:
|
336
329
|
- admin@locomotivecms.com
|
337
330
|
X-Locomotive-Account-Token:
|
338
|
-
-
|
331
|
+
- xM_3r1zn2aQAinPFqSvd
|
332
|
+
X-Locomotive-Site-Handle:
|
333
|
+
- sample
|
339
334
|
Accept-Encoding:
|
340
335
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
341
336
|
User-Agent:
|
@@ -348,18 +343,18 @@ http_interactions:
|
|
348
343
|
Content-Type:
|
349
344
|
- application/json
|
350
345
|
Etag:
|
351
|
-
- W/"
|
346
|
+
- W/"d751713988987e9331980363e24189ce"
|
352
347
|
Cache-Control:
|
353
348
|
- max-age=0, private, must-revalidate
|
354
349
|
X-Request-Id:
|
355
|
-
-
|
350
|
+
- e1df8afd-b02b-428e-8459-4f228dc57456
|
356
351
|
X-Runtime:
|
357
|
-
- '0.
|
352
|
+
- '0.046831'
|
358
353
|
Content-Length:
|
359
|
-
- '
|
354
|
+
- '2'
|
360
355
|
body:
|
361
356
|
encoding: UTF-8
|
362
|
-
string:
|
357
|
+
string: "[]"
|
363
358
|
http_version:
|
364
|
-
recorded_at:
|
359
|
+
recorded_at: Tue, 11 Aug 2015 13:12:35 GMT
|
365
360
|
recorded_with: VCR 2.9.3
|