parse-ruby-client 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,7 +19,7 @@ This currently depends on the gems 'json' and 'patron' for JSON support and HTTP
19
19
 
20
20
  ## Installation
21
21
 
22
- `gem "parse-ruby-client", "~> 0.1.8"`
22
+ `gem "parse-ruby-client", "~> 0.1.9"`
23
23
 
24
24
  ---
25
25
 
@@ -157,6 +157,24 @@ push.save
157
157
 
158
158
  ## Batch Requests
159
159
 
160
+ Automagic:
161
+
162
+ ```ruby
163
+ posts = Parse::Query.new("Post").get
164
+ update_batch = Parse::Batch.new
165
+ posts.each_slice(20) do |posts_slice|
166
+ posts_slice.each do |post|
167
+ post["title"] = "Updated title!"
168
+ update_batch.update_object(post)
169
+ end
170
+ end
171
+ update_batch.run!
172
+ ```
173
+
174
+ `Parse::Batch` also has `#create_object` and `delete_object` methods. Both take instances of `Parse::Object` as the only argument.
175
+
176
+ Manual:
177
+
160
178
  ```ruby
161
179
  batch = Parse::Batch.new
162
180
  batch.add_request({
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -0,0 +1,89 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.parse.com/1/batch
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"requests":[{"method":"POST","path":"/1/classes/BatchTestObject","body":{"foo":"1"}},{"method":"POST","path":"/1/classes/BatchTestObject","body":{"foo":"2"}},{"method":"POST","path":"/1/classes/BatchTestObject","body":{"foo":"3"}},{"method":"POST","path":"/1/classes/BatchTestObject","body":{"foo":"4"}},{"method":"POST","path":"/1/classes/BatchTestObject","body":{"foo":"5"}}]}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Accept:
13
+ - application/json
14
+ User-Agent:
15
+ - Parse for Ruby, 0.0
16
+ X-Parse-Master-Key:
17
+ - ''
18
+ X-Parse-Rest-Api-Key:
19
+ - D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
20
+ X-Parse-Application-Id:
21
+ - PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
22
+ X-Parse-Session-Token:
23
+ - ''
24
+ Expect:
25
+ - ''
26
+ response:
27
+ status:
28
+ code: 200
29
+ message: !binary |-
30
+ T0s=
31
+ headers:
32
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
33
+ - !binary |-
34
+ Kg==
35
+ !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
36
+ - !binary |-
37
+ Kg==
38
+ !binary "Q2FjaGUtQ29udHJvbA==":
39
+ - !binary |-
40
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
41
+ !binary "Q29udGVudC1UeXBl":
42
+ - !binary |-
43
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
44
+ !binary "RGF0ZQ==":
45
+ - !binary |-
46
+ VGh1LCAxMCBKYW4gMjAxMyAwMjoyNToxOSBHTVQ=
47
+ !binary "RXRhZw==":
48
+ - !binary |-
49
+ ImI5M2NjYjVlNDhiYmJiMWUwOThiYTNjMTVkNGYxNWZmIg==
50
+ !binary "U2VydmVy":
51
+ - !binary |-
52
+ bmdpbngvMS4yLjI=
53
+ !binary "U2V0LUNvb2tpZQ==":
54
+ - !binary |-
55
+ X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
56
+ SWxNMlEzWTJFMlltUTJObVEwTURKbFlqUmxORGsyWmpJelltTXdPVE0yTURN
57
+ JTNELS0zZmNlMDU3MmYzOGRhOWYxZmIzM2Q0NDlhNmE5MWIzYWRmZDRjZGM0
58
+ OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVR1ZSwgMTAt
59
+ SmFuLTIwMjMgMDI6MjU6MTkgR01UOyBzZWN1cmU7IEh0dHBPbmx5
60
+ !binary "U3RhdHVz":
61
+ - !binary |-
62
+ MjAwIE9L
63
+ !binary "WC1SdW50aW1l":
64
+ - !binary |-
65
+ MS42NTM3NjE=
66
+ !binary "WC1VYS1Db21wYXRpYmxl":
67
+ - !binary |-
68
+ SUU9RWRnZSxjaHJvbWU9MQ==
69
+ !binary "Q29udGVudC1MZW5ndGg=":
70
+ - !binary |-
71
+ Mzg2
72
+ !binary "Q29ubmVjdGlvbg==":
73
+ - !binary |-
74
+ a2VlcC1hbGl2ZQ==
75
+ body:
76
+ encoding: ASCII-8BIT
77
+ string: !binary |-
78
+ W3sic3VjY2VzcyI6eyJjcmVhdGVkQXQiOiIyMDEzLTAxLTEwVDAyOjI1OjE4
79
+ LjI2MFoiLCJvYmplY3RJZCI6IndnNVdONDg0bloifX0seyJzdWNjZXNzIjp7
80
+ ImNyZWF0ZWRBdCI6IjIwMTMtMDEtMTBUMDI6MjU6MTguOTU5WiIsIm9iamVj
81
+ dElkIjoiVUx2Y2lCd1ZUZyJ9fSx7InN1Y2Nlc3MiOnsiY3JlYXRlZEF0Ijoi
82
+ MjAxMy0wMS0xMFQwMjoyNToxOS4zMDBaIiwib2JqZWN0SWQiOiJxU0N4cjd5
83
+ TkxhIn19LHsic3VjY2VzcyI6eyJjcmVhdGVkQXQiOiIyMDEzLTAxLTEwVDAy
84
+ OjI1OjE5LjYxNloiLCJvYmplY3RJZCI6ImdlUXhLMTRScWwifX0seyJzdWNj
85
+ ZXNzIjp7ImNyZWF0ZWRBdCI6IjIwMTMtMDEtMTBUMDI6MjU6MTkuODExWiIs
86
+ Im9iamVjdElkIjoiQ0dMWGxuc2JSMSJ9fV0=
87
+ http_version:
88
+ recorded_at: Thu, 10 Jan 2013 02:25:19 GMT
89
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,482 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.parse.com/1/classes/BatchTestObject
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"foo":"1"}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Accept:
13
+ - application/json
14
+ User-Agent:
15
+ - Parse for Ruby, 0.0
16
+ X-Parse-Master-Key:
17
+ - ''
18
+ X-Parse-Rest-Api-Key:
19
+ - D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
20
+ X-Parse-Application-Id:
21
+ - PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
22
+ X-Parse-Session-Token:
23
+ - ''
24
+ Expect:
25
+ - ''
26
+ response:
27
+ status:
28
+ code: 201
29
+ message: !binary |-
30
+ Q3JlYXRlZA==
31
+ headers:
32
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
33
+ - !binary |-
34
+ Kg==
35
+ !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
36
+ - !binary |-
37
+ Kg==
38
+ !binary "Q2FjaGUtQ29udHJvbA==":
39
+ - !binary |-
40
+ bm8tY2FjaGU=
41
+ !binary "Q29udGVudC1UeXBl":
42
+ - !binary |-
43
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
44
+ !binary "RGF0ZQ==":
45
+ - !binary |-
46
+ VGh1LCAxMCBKYW4gMjAxMyAwMjoyODoyOCBHTVQ=
47
+ !binary "TG9jYXRpb24=":
48
+ - !binary |-
49
+ aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9CYXRjaFRlc3RPYmpl
50
+ Y3QvMHNiU2s0R2dSMQ==
51
+ !binary "U2VydmVy":
52
+ - !binary |-
53
+ bmdpbngvMS4yLjI=
54
+ !binary "U2V0LUNvb2tpZQ==":
55
+ - !binary |-
56
+ X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
57
+ SWxZek14TUdWa1lXTmpZVGRtT1RkaU16STJPRFk0T0RrNVlqWTJOekExTmpR
58
+ JTNELS01ZGQyYTA4MTVjNjAwZDdmYTZlZmQ2MTNmMjllMzBmMzg3MDBjOTg5
59
+ OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVR1ZSwgMTAt
60
+ SmFuLTIwMjMgMDI6Mjg6MjggR01UOyBzZWN1cmU7IEh0dHBPbmx5
61
+ !binary "U3RhdHVz":
62
+ - !binary |-
63
+ MjAxIENyZWF0ZWQ=
64
+ !binary "WC1SdW50aW1l":
65
+ - !binary |-
66
+ MC4wMTk0Mjc=
67
+ !binary "WC1VYS1Db21wYXRpYmxl":
68
+ - !binary |-
69
+ SUU9RWRnZSxjaHJvbWU9MQ==
70
+ !binary "Q29udGVudC1MZW5ndGg=":
71
+ - !binary |-
72
+ NjQ=
73
+ !binary "Q29ubmVjdGlvbg==":
74
+ - !binary |-
75
+ a2VlcC1hbGl2ZQ==
76
+ body:
77
+ encoding: ASCII-8BIT
78
+ string: !binary |-
79
+ eyJjcmVhdGVkQXQiOiIyMDEzLTAxLTEwVDAyOjI4OjI4LjY3MloiLCJvYmpl
80
+ Y3RJZCI6IjBzYlNrNEdnUjEifQ==
81
+ http_version:
82
+ recorded_at: Thu, 10 Jan 2013 02:28:28 GMT
83
+ - request:
84
+ method: post
85
+ uri: https://api.parse.com/1/classes/BatchTestObject
86
+ body:
87
+ encoding: UTF-8
88
+ string: ! '{"foo":"2"}'
89
+ headers:
90
+ Content-Type:
91
+ - application/json
92
+ Accept:
93
+ - application/json
94
+ User-Agent:
95
+ - Parse for Ruby, 0.0
96
+ X-Parse-Master-Key:
97
+ - ''
98
+ X-Parse-Rest-Api-Key:
99
+ - D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
100
+ X-Parse-Application-Id:
101
+ - PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
102
+ X-Parse-Session-Token:
103
+ - ''
104
+ Expect:
105
+ - ''
106
+ response:
107
+ status:
108
+ code: 201
109
+ message: !binary |-
110
+ Q3JlYXRlZA==
111
+ headers:
112
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
113
+ - !binary |-
114
+ Kg==
115
+ !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
116
+ - !binary |-
117
+ Kg==
118
+ !binary "Q2FjaGUtQ29udHJvbA==":
119
+ - !binary |-
120
+ bm8tY2FjaGU=
121
+ !binary "Q29udGVudC1UeXBl":
122
+ - !binary |-
123
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
124
+ !binary "RGF0ZQ==":
125
+ - !binary |-
126
+ VGh1LCAxMCBKYW4gMjAxMyAwMjoyODoyOCBHTVQ=
127
+ !binary "TG9jYXRpb24=":
128
+ - !binary |-
129
+ aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9CYXRjaFRlc3RPYmpl
130
+ Y3Qvajdqc1lSMlpqbw==
131
+ !binary "U2VydmVy":
132
+ - !binary |-
133
+ bmdpbngvMS4yLjI=
134
+ !binary "U2V0LUNvb2tpZQ==":
135
+ - !binary |-
136
+ X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
137
+ SWxPR0UxTW1RelpUWmhOVGN5TmpZMk9UQmlaamM1WXpOa1kyVmlOV05rTVRJ
138
+ JTNELS02MWFiYmQ5YjJhNTgwMDA1NTNlYjZhNjgwNzhmNTA3MGNhOGI3MDE4
139
+ OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVR1ZSwgMTAt
140
+ SmFuLTIwMjMgMDI6Mjg6MjggR01UOyBzZWN1cmU7IEh0dHBPbmx5
141
+ !binary "U3RhdHVz":
142
+ - !binary |-
143
+ MjAxIENyZWF0ZWQ=
144
+ !binary "WC1SdW50aW1l":
145
+ - !binary |-
146
+ MC4wMzkwOTk=
147
+ !binary "WC1VYS1Db21wYXRpYmxl":
148
+ - !binary |-
149
+ SUU9RWRnZSxjaHJvbWU9MQ==
150
+ !binary "Q29udGVudC1MZW5ndGg=":
151
+ - !binary |-
152
+ NjQ=
153
+ !binary "Q29ubmVjdGlvbg==":
154
+ - !binary |-
155
+ a2VlcC1hbGl2ZQ==
156
+ body:
157
+ encoding: ASCII-8BIT
158
+ string: !binary |-
159
+ eyJjcmVhdGVkQXQiOiIyMDEzLTAxLTEwVDAyOjI4OjI4LjcyNFoiLCJvYmpl
160
+ Y3RJZCI6Imo3anNZUjJaam8ifQ==
161
+ http_version:
162
+ recorded_at: Thu, 10 Jan 2013 02:28:28 GMT
163
+ - request:
164
+ method: post
165
+ uri: https://api.parse.com/1/classes/BatchTestObject
166
+ body:
167
+ encoding: UTF-8
168
+ string: ! '{"foo":"3"}'
169
+ headers:
170
+ Content-Type:
171
+ - application/json
172
+ Accept:
173
+ - application/json
174
+ User-Agent:
175
+ - Parse for Ruby, 0.0
176
+ X-Parse-Master-Key:
177
+ - ''
178
+ X-Parse-Rest-Api-Key:
179
+ - D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
180
+ X-Parse-Application-Id:
181
+ - PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
182
+ X-Parse-Session-Token:
183
+ - ''
184
+ Expect:
185
+ - ''
186
+ response:
187
+ status:
188
+ code: 201
189
+ message: !binary |-
190
+ Q3JlYXRlZA==
191
+ headers:
192
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
193
+ - !binary |-
194
+ Kg==
195
+ !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
196
+ - !binary |-
197
+ Kg==
198
+ !binary "Q2FjaGUtQ29udHJvbA==":
199
+ - !binary |-
200
+ bm8tY2FjaGU=
201
+ !binary "Q29udGVudC1UeXBl":
202
+ - !binary |-
203
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
204
+ !binary "RGF0ZQ==":
205
+ - !binary |-
206
+ VGh1LCAxMCBKYW4gMjAxMyAwMjoyODoyOCBHTVQ=
207
+ !binary "TG9jYXRpb24=":
208
+ - !binary |-
209
+ aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9CYXRjaFRlc3RPYmpl
210
+ Y3QvTFFGbXhnbm5XbA==
211
+ !binary "U2VydmVy":
212
+ - !binary |-
213
+ bmdpbngvMS4yLjI=
214
+ !binary "U2V0LUNvb2tpZQ==":
215
+ - !binary |-
216
+ X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
217
+ SWxOVEF3WlRRNE9UaGpOakl4TkdVMU0yRTJPRE5pWXpjM05qRXpNekZoWXpB
218
+ JTNELS1jZDBhNjA2MGFlYmExZjFmYzVkYjI0MGY1NTI4NjY1MmVlZWQ5YTEz
219
+ OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVR1ZSwgMTAt
220
+ SmFuLTIwMjMgMDI6Mjg6MjggR01UOyBzZWN1cmU7IEh0dHBPbmx5
221
+ !binary "U3RhdHVz":
222
+ - !binary |-
223
+ MjAxIENyZWF0ZWQ=
224
+ !binary "WC1SdW50aW1l":
225
+ - !binary |-
226
+ MC4wODQ2NjI=
227
+ !binary "WC1VYS1Db21wYXRpYmxl":
228
+ - !binary |-
229
+ SUU9RWRnZSxjaHJvbWU9MQ==
230
+ !binary "Q29udGVudC1MZW5ndGg=":
231
+ - !binary |-
232
+ NjQ=
233
+ !binary "Q29ubmVjdGlvbg==":
234
+ - !binary |-
235
+ a2VlcC1hbGl2ZQ==
236
+ body:
237
+ encoding: ASCII-8BIT
238
+ string: !binary |-
239
+ eyJjcmVhdGVkQXQiOiIyMDEzLTAxLTEwVDAyOjI4OjI4Ljc2OFoiLCJvYmpl
240
+ Y3RJZCI6IkxRRm14Z25uV2wifQ==
241
+ http_version:
242
+ recorded_at: Thu, 10 Jan 2013 02:28:28 GMT
243
+ - request:
244
+ method: post
245
+ uri: https://api.parse.com/1/classes/BatchTestObject
246
+ body:
247
+ encoding: UTF-8
248
+ string: ! '{"foo":"4"}'
249
+ headers:
250
+ Content-Type:
251
+ - application/json
252
+ Accept:
253
+ - application/json
254
+ User-Agent:
255
+ - Parse for Ruby, 0.0
256
+ X-Parse-Master-Key:
257
+ - ''
258
+ X-Parse-Rest-Api-Key:
259
+ - D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
260
+ X-Parse-Application-Id:
261
+ - PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
262
+ X-Parse-Session-Token:
263
+ - ''
264
+ Expect:
265
+ - ''
266
+ response:
267
+ status:
268
+ code: 201
269
+ message: !binary |-
270
+ Q3JlYXRlZA==
271
+ headers:
272
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
273
+ - !binary |-
274
+ Kg==
275
+ !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
276
+ - !binary |-
277
+ Kg==
278
+ !binary "Q2FjaGUtQ29udHJvbA==":
279
+ - !binary |-
280
+ bm8tY2FjaGU=
281
+ !binary "Q29udGVudC1UeXBl":
282
+ - !binary |-
283
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
284
+ !binary "RGF0ZQ==":
285
+ - !binary |-
286
+ VGh1LCAxMCBKYW4gMjAxMyAwMjoyODoyOCBHTVQ=
287
+ !binary "TG9jYXRpb24=":
288
+ - !binary |-
289
+ aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9CYXRjaFRlc3RPYmpl
290
+ Y3QvRWYzYmhXQ0RsdA==
291
+ !binary "U2VydmVy":
292
+ - !binary |-
293
+ bmdpbngvMS4yLjI=
294
+ !binary "U2V0LUNvb2tpZQ==":
295
+ - !binary |-
296
+ X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
297
+ SWxaVGMzTkdSaU16TmhPR1ZtWmpka00yRm1aVFZrWTJFM09XSmhOak01WkdF
298
+ JTNELS1lN2U1NTM3MGUzOWFhYzRkZmViZTkwMTEwMjkwMWFlYjkwMDljMThi
299
+ OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVR1ZSwgMTAt
300
+ SmFuLTIwMjMgMDI6Mjg6MjggR01UOyBzZWN1cmU7IEh0dHBPbmx5
301
+ !binary "U3RhdHVz":
302
+ - !binary |-
303
+ MjAxIENyZWF0ZWQ=
304
+ !binary "WC1SdW50aW1l":
305
+ - !binary |-
306
+ MC4wMjk2MzM=
307
+ !binary "WC1VYS1Db21wYXRpYmxl":
308
+ - !binary |-
309
+ SUU9RWRnZSxjaHJvbWU9MQ==
310
+ !binary "Q29udGVudC1MZW5ndGg=":
311
+ - !binary |-
312
+ NjQ=
313
+ !binary "Q29ubmVjdGlvbg==":
314
+ - !binary |-
315
+ a2VlcC1hbGl2ZQ==
316
+ body:
317
+ encoding: ASCII-8BIT
318
+ string: !binary |-
319
+ eyJjcmVhdGVkQXQiOiIyMDEzLTAxLTEwVDAyOjI4OjI4Ljg2MVoiLCJvYmpl
320
+ Y3RJZCI6IkVmM2JoV0NEbHQifQ==
321
+ http_version:
322
+ recorded_at: Thu, 10 Jan 2013 02:28:28 GMT
323
+ - request:
324
+ method: post
325
+ uri: https://api.parse.com/1/classes/BatchTestObject
326
+ body:
327
+ encoding: UTF-8
328
+ string: ! '{"foo":"5"}'
329
+ headers:
330
+ Content-Type:
331
+ - application/json
332
+ Accept:
333
+ - application/json
334
+ User-Agent:
335
+ - Parse for Ruby, 0.0
336
+ X-Parse-Master-Key:
337
+ - ''
338
+ X-Parse-Rest-Api-Key:
339
+ - D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
340
+ X-Parse-Application-Id:
341
+ - PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
342
+ X-Parse-Session-Token:
343
+ - ''
344
+ Expect:
345
+ - ''
346
+ response:
347
+ status:
348
+ code: 201
349
+ message: !binary |-
350
+ Q3JlYXRlZA==
351
+ headers:
352
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
353
+ - !binary |-
354
+ Kg==
355
+ !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
356
+ - !binary |-
357
+ Kg==
358
+ !binary "Q2FjaGUtQ29udHJvbA==":
359
+ - !binary |-
360
+ bm8tY2FjaGU=
361
+ !binary "Q29udGVudC1UeXBl":
362
+ - !binary |-
363
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
364
+ !binary "RGF0ZQ==":
365
+ - !binary |-
366
+ VGh1LCAxMCBKYW4gMjAxMyAwMjoyODoyOCBHTVQ=
367
+ !binary "TG9jYXRpb24=":
368
+ - !binary |-
369
+ aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9CYXRjaFRlc3RPYmpl
370
+ Y3QvNXd5Z1BpNUFUeg==
371
+ !binary "U2VydmVy":
372
+ - !binary |-
373
+ bmdpbngvMS4yLjI=
374
+ !binary "U2V0LUNvb2tpZQ==":
375
+ - !binary |-
376
+ X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
377
+ SWxZemRrWVRJNU1tWTVNMlJrWlRReE9XRXhOekUyT0RaaVlXUTJZVGMyWkRZ
378
+ JTNELS0wODFlNGE4OWE0NWJmYzlmNzA5OTAwNzk1MDJhMTk0ZDMzZmI1NTY5
379
+ OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVR1ZSwgMTAt
380
+ SmFuLTIwMjMgMDI6Mjg6MjggR01UOyBzZWN1cmU7IEh0dHBPbmx5
381
+ !binary "U3RhdHVz":
382
+ - !binary |-
383
+ MjAxIENyZWF0ZWQ=
384
+ !binary "WC1SdW50aW1l":
385
+ - !binary |-
386
+ MC4wMjQ1MTc=
387
+ !binary "WC1VYS1Db21wYXRpYmxl":
388
+ - !binary |-
389
+ SUU9RWRnZSxjaHJvbWU9MQ==
390
+ !binary "Q29udGVudC1MZW5ndGg=":
391
+ - !binary |-
392
+ NjQ=
393
+ !binary "Q29ubmVjdGlvbg==":
394
+ - !binary |-
395
+ a2VlcC1hbGl2ZQ==
396
+ body:
397
+ encoding: ASCII-8BIT
398
+ string: !binary |-
399
+ eyJjcmVhdGVkQXQiOiIyMDEzLTAxLTEwVDAyOjI4OjI4LjkwMVoiLCJvYmpl
400
+ Y3RJZCI6IjV3eWdQaTVBVHoifQ==
401
+ http_version:
402
+ recorded_at: Thu, 10 Jan 2013 02:28:28 GMT
403
+ - request:
404
+ method: post
405
+ uri: https://api.parse.com/1/batch
406
+ body:
407
+ encoding: UTF-8
408
+ string: ! '{"requests":[{"method":"DELETE","path":"/1/classes/BatchTestObject/0sbSk4GgR1"},{"method":"DELETE","path":"/1/classes/BatchTestObject/j7jsYR2Zjo"},{"method":"DELETE","path":"/1/classes/BatchTestObject/LQFmxgnnWl"},{"method":"DELETE","path":"/1/classes/BatchTestObject/Ef3bhWCDlt"},{"method":"DELETE","path":"/1/classes/BatchTestObject/5wygPi5ATz"}]}'
409
+ headers:
410
+ Content-Type:
411
+ - application/json
412
+ Accept:
413
+ - application/json
414
+ User-Agent:
415
+ - Parse for Ruby, 0.0
416
+ X-Parse-Master-Key:
417
+ - ''
418
+ X-Parse-Rest-Api-Key:
419
+ - D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
420
+ X-Parse-Application-Id:
421
+ - PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
422
+ X-Parse-Session-Token:
423
+ - ''
424
+ Expect:
425
+ - ''
426
+ response:
427
+ status:
428
+ code: 200
429
+ message: !binary |-
430
+ T0s=
431
+ headers:
432
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
433
+ - !binary |-
434
+ Kg==
435
+ !binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
436
+ - !binary |-
437
+ Kg==
438
+ !binary "Q2FjaGUtQ29udHJvbA==":
439
+ - !binary |-
440
+ bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
441
+ !binary "Q29udGVudC1UeXBl":
442
+ - !binary |-
443
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
444
+ !binary "RGF0ZQ==":
445
+ - !binary |-
446
+ VGh1LCAxMCBKYW4gMjAxMyAwMjoyODoyOSBHTVQ=
447
+ !binary "RXRhZw==":
448
+ - !binary |-
449
+ ImNlNzQzY2U3ODE4NTAxMjg0NWQ5MTU2YzMzNjJmMjY0Ig==
450
+ !binary "U2VydmVy":
451
+ - !binary |-
452
+ bmdpbngvMS4yLjI=
453
+ !binary "U2V0LUNvb2tpZQ==":
454
+ - !binary |-
455
+ X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
456
+ SWxaamczTmpZeE56UTVNR1JpTXpjM1l6UXhPV0U0WkdZNE9EVTJNVE5oWkdR
457
+ JTNELS1iODVmZmY1OGI0ZDEzNzgyYWY5YzExNjFlMzQyODkwMTgzZWI3NjA2
458
+ OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVR1ZSwgMTAt
459
+ SmFuLTIwMjMgMDI6Mjg6MjkgR01UOyBzZWN1cmU7IEh0dHBPbmx5
460
+ !binary "U3RhdHVz":
461
+ - !binary |-
462
+ MjAwIE9L
463
+ !binary "WC1SdW50aW1l":
464
+ - !binary |-
465
+ MC4yMjQzNTI=
466
+ !binary "WC1VYS1Db21wYXRpYmxl":
467
+ - !binary |-
468
+ SUU9RWRnZSxjaHJvbWU9MQ==
469
+ !binary "Q29udGVudC1MZW5ndGg=":
470
+ - !binary |-
471
+ ODY=
472
+ !binary "Q29ubmVjdGlvbg==":
473
+ - !binary |-
474
+ a2VlcC1hbGl2ZQ==
475
+ body:
476
+ encoding: ASCII-8BIT
477
+ string: !binary |-
478
+ W3sic3VjY2VzcyI6dHJ1ZX0seyJzdWNjZXNzIjp0cnVlfSx7InN1Y2Nlc3Mi
479
+ OnRydWV9LHsic3VjY2VzcyI6dHJ1ZX0seyJzdWNjZXNzIjp0cnVlfV0=
480
+ http_version:
481
+ recorded_at: Thu, 10 Jan 2013 02:28:29 GMT
482
+ recorded_with: VCR 2.0.1