parse_resource 1.7.2 → 1.7.3

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 (41) hide show
  1. data/.travis.yml +6 -0
  2. data/Gemfile +5 -1
  3. data/Gemfile.lock +11 -1
  4. data/README.md +21 -8
  5. data/VERSION +1 -1
  6. data/fixtures/vcr_cassettes/test_all.yml +161 -0
  7. data/fixtures/vcr_cassettes/test_attribute_getters.yml +57 -0
  8. data/fixtures/vcr_cassettes/test_attribute_setters.yml +57 -0
  9. data/fixtures/vcr_cassettes/test_authenticate.yml +155 -0
  10. data/fixtures/vcr_cassettes/test_chained_wheres.yml +161 -0
  11. data/fixtures/vcr_cassettes/test_count.yml +411 -0
  12. data/fixtures/vcr_cassettes/test_create.yml +57 -0
  13. data/fixtures/vcr_cassettes/test_created_at.yml +57 -0
  14. data/fixtures/vcr_cassettes/test_destroy.yml +157 -0
  15. data/fixtures/vcr_cassettes/test_destroy_all.yml +207 -0
  16. data/fixtures/vcr_cassettes/test_each.yml +269 -0
  17. data/fixtures/vcr_cassettes/test_find.yml +107 -0
  18. data/fixtures/vcr_cassettes/test_find_all_by.yml +157 -0
  19. data/fixtures/vcr_cassettes/test_find_by.yml +157 -0
  20. data/fixtures/vcr_cassettes/test_first.yml +107 -0
  21. data/fixtures/vcr_cassettes/test_id.yml +57 -0
  22. data/fixtures/vcr_cassettes/test_limit.yml +864 -0
  23. data/fixtures/vcr_cassettes/test_map.yml +269 -0
  24. data/fixtures/vcr_cassettes/test_save.yml +111 -0
  25. data/fixtures/vcr_cassettes/test_skip.yml +843 -0
  26. data/fixtures/vcr_cassettes/test_update.yml +111 -0
  27. data/fixtures/vcr_cassettes/test_updated_at.yml +111 -0
  28. data/fixtures/vcr_cassettes/test_username_should_be_unique.yml +109 -0
  29. data/fixtures/vcr_cassettes/test_where.yml +107 -0
  30. data/lib/parse_resource/base.rb +66 -69
  31. data/lib/parse_resource/parse_user.rb +1 -1
  32. data/lib/parse_resource/query.rb +9 -9
  33. data/parse_resource.gemspec +41 -7
  34. data/parse_resource.yml +12 -0
  35. data/test/active_model_lint_test.rb +5 -6
  36. data/test/helper.rb +8 -0
  37. data/test/test_parse_resource.rb +183 -117
  38. data/test/test_parse_user.rb +39 -32
  39. data/test/test_query_options.rb +43 -17
  40. metadata +149 -26
  41. data/test/test_associations.rb +0 -105
@@ -0,0 +1,161 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Straw
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"title":"chained_wheres","body":"testing"}'
9
+ headers:
10
+ Accept:
11
+ - ! '*/*; q=0.5, application/xml'
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ Content-Length:
17
+ - '43'
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Access-Control-Allow-Origin:
26
+ - https://parse.com, https://www.parse.com
27
+ Access-Control-Request-Method:
28
+ - ! '*'
29
+ Cache-Control:
30
+ - no-cache
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ Date:
34
+ - Thu, 20 Sep 2012 04:31:38 GMT
35
+ Location:
36
+ - https://api.parse.com/1/classes/Straw/FL3FsElVDU
37
+ Server:
38
+ - nginx/1.2.2
39
+ Set-Cookie:
40
+ - _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMjUwZTU4MmM4ZTRhODA4ZTFiNDg0YzAzNTJlNzU5ODk%3D--1b9978b036952a4d2853c52700ddb5de8dfa6b46;
41
+ domain=.parse.com; path=/; expires=Tue, 20-Sep-2022 04:31:38 GMT; HttpOnly
42
+ Status:
43
+ - 201 Created
44
+ X-Runtime:
45
+ - '0.013914'
46
+ X-Ua-Compatible:
47
+ - IE=Edge,chrome=1
48
+ Content-Length:
49
+ - '64'
50
+ Connection:
51
+ - keep-alive
52
+ body:
53
+ encoding: US-ASCII
54
+ string: ! '{"createdAt":"2012-09-20T04:31:38.398Z","objectId":"FL3FsElVDU"}'
55
+ http_version:
56
+ recorded_at: Thu, 20 Sep 2012 04:31:38 GMT
57
+ - request:
58
+ method: post
59
+ uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Straw
60
+ body:
61
+ encoding: UTF-8
62
+ string: ! '{"title":"chained_wheres","body":"testing_2"}'
63
+ headers:
64
+ Accept:
65
+ - ! '*/*; q=0.5, application/xml'
66
+ Accept-Encoding:
67
+ - gzip, deflate
68
+ Content-Type:
69
+ - application/json
70
+ Content-Length:
71
+ - '45'
72
+ User-Agent:
73
+ - Ruby
74
+ response:
75
+ status:
76
+ code: 201
77
+ message: Created
78
+ headers:
79
+ Access-Control-Allow-Origin:
80
+ - https://parse.com, https://www.parse.com
81
+ Access-Control-Request-Method:
82
+ - ! '*'
83
+ Cache-Control:
84
+ - no-cache
85
+ Content-Type:
86
+ - application/json; charset=utf-8
87
+ Date:
88
+ - Thu, 20 Sep 2012 04:31:38 GMT
89
+ Location:
90
+ - https://api.parse.com/1/classes/Straw/EiMkUW21F9
91
+ Server:
92
+ - nginx/1.2.2
93
+ Set-Cookie:
94
+ - _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNGZlOTAyOGQ2YmNhYjNjOWY2NTY5OWQ3NzM3NjQyNWM%3D--fed8429400e1612c711c50260e4567c843c9c932;
95
+ domain=.parse.com; path=/; expires=Tue, 20-Sep-2022 04:31:38 GMT; HttpOnly
96
+ Status:
97
+ - 201 Created
98
+ X-Runtime:
99
+ - '0.266132'
100
+ X-Ua-Compatible:
101
+ - IE=Edge,chrome=1
102
+ Content-Length:
103
+ - '64'
104
+ Connection:
105
+ - keep-alive
106
+ body:
107
+ encoding: US-ASCII
108
+ string: ! '{"createdAt":"2012-09-20T04:31:38.837Z","objectId":"EiMkUW21F9"}'
109
+ http_version:
110
+ recorded_at: Thu, 20 Sep 2012 04:31:38 GMT
111
+ - request:
112
+ method: get
113
+ uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Straw?where=%7B%22title%22:%22chained_wheres%22,%22body%22:%22testing%22%7D
114
+ body:
115
+ encoding: US-ASCII
116
+ string: ''
117
+ headers:
118
+ Accept:
119
+ - ! '*/*; q=0.5, application/xml'
120
+ Accept-Encoding:
121
+ - gzip, deflate
122
+ User-Agent:
123
+ - Ruby
124
+ response:
125
+ status:
126
+ code: 200
127
+ message: OK
128
+ headers:
129
+ Access-Control-Allow-Origin:
130
+ - https://parse.com, https://www.parse.com
131
+ Access-Control-Request-Method:
132
+ - ! '*'
133
+ Cache-Control:
134
+ - max-age=0, private, must-revalidate
135
+ Content-Type:
136
+ - application/json; charset=utf-8
137
+ Date:
138
+ - Thu, 20 Sep 2012 04:31:39 GMT
139
+ Etag:
140
+ - ! '"e8d2d2c53bb53f6da366d8852e6a8c02"'
141
+ Server:
142
+ - nginx/1.2.2
143
+ Set-Cookie:
144
+ - _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYjViMWQ5ZjIwMGNhODRmYTNhNzYxYmI3NGEyOWFiODc%3D--2d77312f7832d65b24819f424f8f71e87aba2c3e;
145
+ domain=.parse.com; path=/; expires=Tue, 20-Sep-2022 04:31:39 GMT; HttpOnly
146
+ Status:
147
+ - 200 OK
148
+ X-Runtime:
149
+ - '0.057036'
150
+ X-Ua-Compatible:
151
+ - IE=Edge,chrome=1
152
+ Content-Length:
153
+ - '159'
154
+ Connection:
155
+ - keep-alive
156
+ body:
157
+ encoding: US-ASCII
158
+ string: ! '{"results":[{"title":"chained_wheres","body":"testing","createdAt":"2012-09-20T04:31:38.398Z","updatedAt":"2012-09-20T04:31:38.398Z","objectId":"FL3FsElVDU"}]}'
159
+ http_version:
160
+ recorded_at: Thu, 20 Sep 2012 04:31:39 GMT
161
+ recorded_with: VCR 2.2.4
@@ -0,0 +1,411 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Author?where=%7B%7D
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - ! '*/*; q=0.5, application/xml'
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Access-Control-Allow-Origin:
22
+ - https://parse.com, https://www.parse.com
23
+ Access-Control-Request-Method:
24
+ - ! '*'
25
+ Cache-Control:
26
+ - max-age=0, private, must-revalidate
27
+ Content-Type:
28
+ - application/json; charset=utf-8
29
+ Date:
30
+ - Thu, 20 Sep 2012 04:31:39 GMT
31
+ Etag:
32
+ - ! '"e2412c1ffbfb6b53a82a9daf665b2c1a"'
33
+ Server:
34
+ - nginx/1.2.2
35
+ Set-Cookie:
36
+ - _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMWNmMzdiNDgyNzNhMDVhMDUxN2MyNTlmYzY1NTRkYjc%3D--6bd9e34c3a6f6dd5d6e1867ec0f6376b6898a7dd;
37
+ domain=.parse.com; path=/; expires=Tue, 20-Sep-2022 04:31:39 GMT; HttpOnly
38
+ Status:
39
+ - 200 OK
40
+ X-Runtime:
41
+ - '0.018870'
42
+ X-Ua-Compatible:
43
+ - IE=Edge,chrome=1
44
+ Content-Length:
45
+ - '14'
46
+ Connection:
47
+ - keep-alive
48
+ body:
49
+ encoding: US-ASCII
50
+ string: ! '{"results":[]}'
51
+ http_version:
52
+ recorded_at: Thu, 20 Sep 2012 04:31:39 GMT
53
+ - request:
54
+ method: post
55
+ uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Author
56
+ body:
57
+ encoding: UTF-8
58
+ string: ! '{"name":"bar"}'
59
+ headers:
60
+ Accept:
61
+ - ! '*/*; q=0.5, application/xml'
62
+ Accept-Encoding:
63
+ - gzip, deflate
64
+ Content-Type:
65
+ - application/json
66
+ Content-Length:
67
+ - '14'
68
+ User-Agent:
69
+ - Ruby
70
+ response:
71
+ status:
72
+ code: 201
73
+ message: Created
74
+ headers:
75
+ Access-Control-Allow-Origin:
76
+ - https://parse.com, https://www.parse.com
77
+ Access-Control-Request-Method:
78
+ - ! '*'
79
+ Cache-Control:
80
+ - no-cache
81
+ Content-Type:
82
+ - application/json; charset=utf-8
83
+ Date:
84
+ - Thu, 20 Sep 2012 04:31:39 GMT
85
+ Location:
86
+ - https://api.parse.com/1/classes/Author/C4ti144zgK
87
+ Server:
88
+ - nginx/1.2.2
89
+ Set-Cookie:
90
+ - _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlN2IwOTA4MDY3NTk2NGY2MjczMzk2OTZhOTU2NTI0MWU%3D--578b07ab6b45ccfaa2a79c05aadb44b0f9d9dc2e;
91
+ domain=.parse.com; path=/; expires=Tue, 20-Sep-2022 04:31:39 GMT; HttpOnly
92
+ Status:
93
+ - 201 Created
94
+ X-Runtime:
95
+ - '0.020418'
96
+ X-Ua-Compatible:
97
+ - IE=Edge,chrome=1
98
+ Content-Length:
99
+ - '64'
100
+ Connection:
101
+ - keep-alive
102
+ body:
103
+ encoding: US-ASCII
104
+ string: ! '{"createdAt":"2012-09-20T04:31:39.585Z","objectId":"C4ti144zgK"}'
105
+ http_version:
106
+ recorded_at: Thu, 20 Sep 2012 04:31:39 GMT
107
+ - request:
108
+ method: post
109
+ uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Author
110
+ body:
111
+ encoding: UTF-8
112
+ string: ! '{"name":"jab"}'
113
+ headers:
114
+ Accept:
115
+ - ! '*/*; q=0.5, application/xml'
116
+ Accept-Encoding:
117
+ - gzip, deflate
118
+ Content-Type:
119
+ - application/json
120
+ Content-Length:
121
+ - '14'
122
+ User-Agent:
123
+ - Ruby
124
+ response:
125
+ status:
126
+ code: 201
127
+ message: Created
128
+ headers:
129
+ Access-Control-Allow-Origin:
130
+ - https://parse.com, https://www.parse.com
131
+ Access-Control-Request-Method:
132
+ - ! '*'
133
+ Cache-Control:
134
+ - no-cache
135
+ Content-Type:
136
+ - application/json; charset=utf-8
137
+ Date:
138
+ - Thu, 20 Sep 2012 04:31:39 GMT
139
+ Location:
140
+ - https://api.parse.com/1/classes/Author/z59Z8Zx8DX
141
+ Server:
142
+ - nginx/1.2.2
143
+ Set-Cookie:
144
+ - _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNzgwODI2OTNiMDI3MmY1N2E5ZTA5MzNiYzRhNjM1ZDY%3D--16b4c5528f16d7d991cbc541eaa1c8294560d174;
145
+ domain=.parse.com; path=/; expires=Tue, 20-Sep-2022 04:31:39 GMT; HttpOnly
146
+ Status:
147
+ - 201 Created
148
+ X-Runtime:
149
+ - '0.017508'
150
+ X-Ua-Compatible:
151
+ - IE=Edge,chrome=1
152
+ Content-Length:
153
+ - '64'
154
+ Connection:
155
+ - keep-alive
156
+ body:
157
+ encoding: US-ASCII
158
+ string: ! '{"createdAt":"2012-09-20T04:31:39.798Z","objectId":"z59Z8Zx8DX"}'
159
+ http_version:
160
+ recorded_at: Thu, 20 Sep 2012 04:31:39 GMT
161
+ - request:
162
+ method: get
163
+ uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Author?count=1&where=%7B%7D
164
+ body:
165
+ encoding: US-ASCII
166
+ string: ''
167
+ headers:
168
+ Accept:
169
+ - ! '*/*; q=0.5, application/xml'
170
+ Accept-Encoding:
171
+ - gzip, deflate
172
+ User-Agent:
173
+ - Ruby
174
+ response:
175
+ status:
176
+ code: 200
177
+ message: OK
178
+ headers:
179
+ Access-Control-Allow-Origin:
180
+ - https://parse.com, https://www.parse.com
181
+ Access-Control-Request-Method:
182
+ - ! '*'
183
+ Cache-Control:
184
+ - max-age=0, private, must-revalidate
185
+ Content-Type:
186
+ - application/json; charset=utf-8
187
+ Date:
188
+ - Thu, 20 Sep 2012 04:31:39 GMT
189
+ Etag:
190
+ - ! '"087d666cef98e5739d2b45c8be6c4bc0"'
191
+ Server:
192
+ - nginx/1.2.2
193
+ Set-Cookie:
194
+ - _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMzMzZDJmOTQ2NjViYjA1ZGQ5ZTI2MjFlZjJkNWQxNTk%3D--e3de473c3021250f25cf2e4754fc745768ecb66c;
195
+ domain=.parse.com; path=/; expires=Tue, 20-Sep-2022 04:31:39 GMT; HttpOnly
196
+ Status:
197
+ - 200 OK
198
+ X-Runtime:
199
+ - '0.020040'
200
+ X-Ua-Compatible:
201
+ - IE=Edge,chrome=1
202
+ Content-Length:
203
+ - '257'
204
+ Connection:
205
+ - keep-alive
206
+ body:
207
+ encoding: US-ASCII
208
+ string: ! '{"results":[{"name":"bar","createdAt":"2012-09-20T04:31:39.585Z","updatedAt":"2012-09-20T04:31:39.585Z","objectId":"C4ti144zgK"},{"name":"jab","createdAt":"2012-09-20T04:31:39.798Z","updatedAt":"2012-09-20T04:31:39.798Z","objectId":"z59Z8Zx8DX"}],"count":2}'
209
+ http_version:
210
+ recorded_at: Thu, 20 Sep 2012 04:31:40 GMT
211
+ - request:
212
+ method: get
213
+ uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Author?count=1&where=%7B%22name%22:%22jab%22%7D
214
+ body:
215
+ encoding: US-ASCII
216
+ string: ''
217
+ headers:
218
+ Accept:
219
+ - ! '*/*; q=0.5, application/xml'
220
+ Accept-Encoding:
221
+ - gzip, deflate
222
+ User-Agent:
223
+ - Ruby
224
+ response:
225
+ status:
226
+ code: 200
227
+ message: OK
228
+ headers:
229
+ Access-Control-Allow-Origin:
230
+ - https://parse.com, https://www.parse.com
231
+ Access-Control-Request-Method:
232
+ - ! '*'
233
+ Cache-Control:
234
+ - max-age=0, private, must-revalidate
235
+ Content-Type:
236
+ - application/json; charset=utf-8
237
+ Date:
238
+ - Thu, 20 Sep 2012 04:31:40 GMT
239
+ Etag:
240
+ - ! '"183c77737ed3100aec277c288cd89a4d"'
241
+ Server:
242
+ - nginx/1.2.2
243
+ Set-Cookie:
244
+ - _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNDFlNzEyN2ZiZDJiMmVlNmQwNTVjZWQwNjUzNmQ4N2U%3D--b5b35a48bf39bf4ae97721fc440b315970c5053e;
245
+ domain=.parse.com; path=/; expires=Tue, 20-Sep-2022 04:31:40 GMT; HttpOnly
246
+ Status:
247
+ - 200 OK
248
+ X-Runtime:
249
+ - '0.035050'
250
+ X-Ua-Compatible:
251
+ - IE=Edge,chrome=1
252
+ Content-Length:
253
+ - '140'
254
+ Connection:
255
+ - keep-alive
256
+ body:
257
+ encoding: US-ASCII
258
+ string: ! '{"results":[{"name":"jab","createdAt":"2012-09-20T04:31:39.798Z","updatedAt":"2012-09-20T04:31:39.798Z","objectId":"z59Z8Zx8DX"}],"count":1}'
259
+ http_version:
260
+ recorded_at: Thu, 20 Sep 2012 04:31:40 GMT
261
+ - request:
262
+ method: delete
263
+ uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Author/C4ti144zgK
264
+ body:
265
+ encoding: US-ASCII
266
+ string: ''
267
+ headers:
268
+ Accept:
269
+ - ! '*/*; q=0.5, application/xml'
270
+ Accept-Encoding:
271
+ - gzip, deflate
272
+ User-Agent:
273
+ - Ruby
274
+ response:
275
+ status:
276
+ code: 200
277
+ message: OK
278
+ headers:
279
+ Access-Control-Allow-Origin:
280
+ - https://parse.com, https://www.parse.com
281
+ Access-Control-Request-Method:
282
+ - ! '*'
283
+ Cache-Control:
284
+ - max-age=0, private, must-revalidate
285
+ Content-Type:
286
+ - application/json; charset=utf-8
287
+ Date:
288
+ - Thu, 20 Sep 2012 04:31:40 GMT
289
+ Etag:
290
+ - ! '"99914b932bd37a50b983c5e7c90ae93b"'
291
+ Server:
292
+ - nginx/1.2.2
293
+ Set-Cookie:
294
+ - _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMGQ5NjMxNTQ2MWZhOGEzMWJlNzA5M2ZiMzEyMGU0Mzk%3D--8776a4197f90bbacaee006ac17778524c2ab9e44;
295
+ domain=.parse.com; path=/; expires=Tue, 20-Sep-2022 04:31:40 GMT; HttpOnly
296
+ Status:
297
+ - 200 OK
298
+ X-Runtime:
299
+ - '0.017867'
300
+ X-Ua-Compatible:
301
+ - IE=Edge,chrome=1
302
+ Content-Length:
303
+ - '2'
304
+ Connection:
305
+ - keep-alive
306
+ body:
307
+ encoding: US-ASCII
308
+ string: ! '{}'
309
+ http_version:
310
+ recorded_at: Thu, 20 Sep 2012 04:31:40 GMT
311
+ - request:
312
+ method: delete
313
+ uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Author/z59Z8Zx8DX
314
+ body:
315
+ encoding: US-ASCII
316
+ string: ''
317
+ headers:
318
+ Accept:
319
+ - ! '*/*; q=0.5, application/xml'
320
+ Accept-Encoding:
321
+ - gzip, deflate
322
+ User-Agent:
323
+ - Ruby
324
+ response:
325
+ status:
326
+ code: 200
327
+ message: OK
328
+ headers:
329
+ Access-Control-Allow-Origin:
330
+ - https://parse.com, https://www.parse.com
331
+ Access-Control-Request-Method:
332
+ - ! '*'
333
+ Cache-Control:
334
+ - max-age=0, private, must-revalidate
335
+ Content-Type:
336
+ - application/json; charset=utf-8
337
+ Date:
338
+ - Thu, 20 Sep 2012 04:31:40 GMT
339
+ Etag:
340
+ - ! '"99914b932bd37a50b983c5e7c90ae93b"'
341
+ Server:
342
+ - nginx/1.2.2
343
+ Set-Cookie:
344
+ - _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYTBjZTA5ZDQ0OGRiYTdiYjFlN2JmOGM2NmQ2M2JmYTM%3D--c1358e349986eabab3a594c39dbd6ab0296e3848;
345
+ domain=.parse.com; path=/; expires=Tue, 20-Sep-2022 04:31:40 GMT; HttpOnly
346
+ Status:
347
+ - 200 OK
348
+ X-Runtime:
349
+ - '0.034690'
350
+ X-Ua-Compatible:
351
+ - IE=Edge,chrome=1
352
+ Content-Length:
353
+ - '2'
354
+ Connection:
355
+ - keep-alive
356
+ body:
357
+ encoding: US-ASCII
358
+ string: ! '{}'
359
+ http_version:
360
+ recorded_at: Thu, 20 Sep 2012 04:31:40 GMT
361
+ - request:
362
+ method: get
363
+ uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Author?count=1&where=%7B%7D
364
+ body:
365
+ encoding: US-ASCII
366
+ string: ''
367
+ headers:
368
+ Accept:
369
+ - ! '*/*; q=0.5, application/xml'
370
+ Accept-Encoding:
371
+ - gzip, deflate
372
+ User-Agent:
373
+ - Ruby
374
+ response:
375
+ status:
376
+ code: 200
377
+ message: OK
378
+ headers:
379
+ Access-Control-Allow-Origin:
380
+ - https://parse.com, https://www.parse.com
381
+ Access-Control-Request-Method:
382
+ - ! '*'
383
+ Cache-Control:
384
+ - max-age=0, private, must-revalidate
385
+ Content-Type:
386
+ - application/json; charset=utf-8
387
+ Date:
388
+ - Thu, 20 Sep 2012 04:31:40 GMT
389
+ Etag:
390
+ - ! '"8c97ea0119fb2eb809f32e913cb37202"'
391
+ Server:
392
+ - nginx/1.2.2
393
+ Set-Cookie:
394
+ - _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlY2I1YzgxNWM2MmQwYzYyNDAxMjhkMjcyNjU3MDMzYjA%3D--fbceb363fbed8a1dceb2a147ac92f8619f85b969;
395
+ domain=.parse.com; path=/; expires=Tue, 20-Sep-2022 04:31:40 GMT; HttpOnly
396
+ Status:
397
+ - 200 OK
398
+ X-Runtime:
399
+ - '0.044170'
400
+ X-Ua-Compatible:
401
+ - IE=Edge,chrome=1
402
+ Content-Length:
403
+ - '24'
404
+ Connection:
405
+ - keep-alive
406
+ body:
407
+ encoding: US-ASCII
408
+ string: ! '{"results":[],"count":0}'
409
+ http_version:
410
+ recorded_at: Thu, 20 Sep 2012 04:31:40 GMT
411
+ recorded_with: VCR 2.2.4