parse-ruby-client 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -3
- data/Gemfile.lock +7 -1
- data/README.md +10 -5
- data/VERSION +1 -1
- data/fixtures/vcr_cassettes/test_cloud_function.yml +81 -0
- data/fixtures/vcr_cassettes/test_created_at.yml +83 -0
- data/fixtures/vcr_cassettes/test_deep_parse.yml +244 -0
- data/fixtures/vcr_cassettes/test_destroy.yml +161 -0
- data/fixtures/vcr_cassettes/test_get.yml +163 -0
- data/fixtures/vcr_cassettes/test_new_object.yml +83 -0
- data/fixtures/vcr_cassettes/test_nils_delete_keys.yml +241 -0
- data/fixtures/vcr_cassettes/test_object_id.yml +83 -0
- data/fixtures/vcr_cassettes/test_parse_delete.yml +317 -0
- data/fixtures/vcr_cassettes/test_pointer.yml +83 -0
- data/fixtures/vcr_cassettes/test_server_update.yml +399 -0
- data/fixtures/vcr_cassettes/test_simple_save.yml +83 -0
- data/fixtures/vcr_cassettes/test_update.yml +161 -0
- data/fixtures/vcr_cassettes/test_updated_at.yml +161 -0
- data/fixtures/vcr_cassettes/test_user_save.yml +83 -0
- data/lib/parse-ruby-client.rb +2 -1
- data/lib/parse/cloud.rb +23 -0
- data/lib/parse/object.rb +11 -0
- data/lib/parse/protocol.rb +10 -1
- data/lib/parse/push.rb +1 -0
- data/lib/parse/query.rb +1 -0
- data/parse-ruby-client.gemspec +29 -8
- data/test/cloud_functions/MyCloudCode/cloud/main.js +4 -0
- data/test/helper.rb +8 -0
- data/test/test_client.rb +42 -34
- data/test/test_cloud.rb +29 -0
- data/test/test_object.rb +68 -44
- data/test/test_push.rb +20 -3
- data/test/test_query.rb +37 -29
- data/test/test_user.rb +30 -26
- metadata +52 -18
@@ -0,0 +1,399 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.parse.com/1/classes/TestSave
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ! '{}'
|
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
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NToxOSBHTVQ=
|
47
|
+
!binary "TG9jYXRpb24=":
|
48
|
+
- !binary |-
|
49
|
+
aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9UZXN0U2F2ZS92a2pT
|
50
|
+
d0JLc1RN
|
51
|
+
!binary "U2VydmVy":
|
52
|
+
- !binary |-
|
53
|
+
bmdpbngvMS4yLjI=
|
54
|
+
!binary "U2V0LUNvb2tpZQ==":
|
55
|
+
- !binary |-
|
56
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
57
|
+
SWxOMk5rT1RBek9USmpPR014TkRJd1lUaGhOamc1WTJNMU1qSTFNakppWTJV
|
58
|
+
JTNELS02YWJiNThlYWNmMTk2NjU2OTkxYWQ0NzVkY2U2NDQyZWNlMDhkYzdk
|
59
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
60
|
+
T2N0LTIwMjIgMjE6NDU6MTkgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
61
|
+
!binary "U3RhdHVz":
|
62
|
+
- !binary |-
|
63
|
+
MjAxIENyZWF0ZWQ=
|
64
|
+
!binary "WC1SdW50aW1l":
|
65
|
+
- !binary |-
|
66
|
+
MC4wMzMwNTM=
|
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
|
+
eyJjcmVhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjE5LjA3NVoiLCJvYmpl
|
80
|
+
Y3RJZCI6InZralN3QktzVE0ifQ==
|
81
|
+
http_version:
|
82
|
+
recorded_at: Tue, 09 Oct 2012 21:45:19 GMT
|
83
|
+
- request:
|
84
|
+
method: put
|
85
|
+
uri: https://api.parse.com/1/classes/TestSave/vkjSwBKsTM
|
86
|
+
body:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: ! '{"name":"john"}'
|
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: 200
|
109
|
+
message: !binary |-
|
110
|
+
T0s=
|
111
|
+
headers:
|
112
|
+
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
|
113
|
+
- !binary |-
|
114
|
+
Kg==
|
115
|
+
!binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
|
116
|
+
- !binary |-
|
117
|
+
Kg==
|
118
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
119
|
+
- !binary |-
|
120
|
+
bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
|
121
|
+
!binary "Q29udGVudC1UeXBl":
|
122
|
+
- !binary |-
|
123
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
124
|
+
!binary "RGF0ZQ==":
|
125
|
+
- !binary |-
|
126
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NToxOSBHTVQ=
|
127
|
+
!binary "RXRhZw==":
|
128
|
+
- !binary |-
|
129
|
+
IjM0MTAxZjA3OTUyMGM0ZjE2NTI0NGI1OWU5MjI2OGZlIg==
|
130
|
+
!binary "U2VydmVy":
|
131
|
+
- !binary |-
|
132
|
+
bmdpbngvMS4yLjI=
|
133
|
+
!binary "U2V0LUNvb2tpZQ==":
|
134
|
+
- !binary |-
|
135
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
136
|
+
SWxZakF6TkdKaU9URmlZalkxT1RGalpUQTRZak00WldGaE16WTVNR0pqTURF
|
137
|
+
JTNELS01Y2MwYjkzMjZkZTQ4MzJkNGE2NTU1OWZlNjc4YjVhMTdkYjM2Njk5
|
138
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
139
|
+
T2N0LTIwMjIgMjE6NDU6MTkgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
140
|
+
!binary "U3RhdHVz":
|
141
|
+
- !binary |-
|
142
|
+
MjAwIE9L
|
143
|
+
!binary "WC1SdW50aW1l":
|
144
|
+
- !binary |-
|
145
|
+
MC4wMjI3MTY=
|
146
|
+
!binary "WC1VYS1Db21wYXRpYmxl":
|
147
|
+
- !binary |-
|
148
|
+
SUU9RWRnZSxjaHJvbWU9MQ==
|
149
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
150
|
+
- !binary |-
|
151
|
+
NDA=
|
152
|
+
!binary "Q29ubmVjdGlvbg==":
|
153
|
+
- !binary |-
|
154
|
+
a2VlcC1hbGl2ZQ==
|
155
|
+
body:
|
156
|
+
encoding: ASCII-8BIT
|
157
|
+
string: !binary |-
|
158
|
+
eyJ1cGRhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjE5LjEyMVoifQ==
|
159
|
+
http_version:
|
160
|
+
recorded_at: Tue, 09 Oct 2012 21:45:19 GMT
|
161
|
+
- request:
|
162
|
+
method: get
|
163
|
+
uri: https://api.parse.com/1/classes/TestSave/vkjSwBKsTM
|
164
|
+
body:
|
165
|
+
encoding: US-ASCII
|
166
|
+
string: ''
|
167
|
+
headers:
|
168
|
+
Content-Type:
|
169
|
+
- application/json
|
170
|
+
Accept:
|
171
|
+
- application/json
|
172
|
+
User-Agent:
|
173
|
+
- Parse for Ruby, 0.0
|
174
|
+
X-Parse-Master-Key:
|
175
|
+
- ''
|
176
|
+
X-Parse-Rest-Api-Key:
|
177
|
+
- D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
|
178
|
+
X-Parse-Application-Id:
|
179
|
+
- PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
|
180
|
+
X-Parse-Session-Token:
|
181
|
+
- ''
|
182
|
+
Expect:
|
183
|
+
- ''
|
184
|
+
response:
|
185
|
+
status:
|
186
|
+
code: 200
|
187
|
+
message: !binary |-
|
188
|
+
T0s=
|
189
|
+
headers:
|
190
|
+
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
|
191
|
+
- !binary |-
|
192
|
+
Kg==
|
193
|
+
!binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
|
194
|
+
- !binary |-
|
195
|
+
Kg==
|
196
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
197
|
+
- !binary |-
|
198
|
+
bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
|
199
|
+
!binary "Q29udGVudC1UeXBl":
|
200
|
+
- !binary |-
|
201
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
202
|
+
!binary "RGF0ZQ==":
|
203
|
+
- !binary |-
|
204
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NToxOSBHTVQ=
|
205
|
+
!binary "RXRhZw==":
|
206
|
+
- !binary |-
|
207
|
+
IjZmNmY0MmYwYmZmMjdjOTIyMzhjMmYxMGFhNDg4ZGUyIg==
|
208
|
+
!binary "U2VydmVy":
|
209
|
+
- !binary |-
|
210
|
+
bmdpbngvMS4yLjI=
|
211
|
+
!binary "U2V0LUNvb2tpZQ==":
|
212
|
+
- !binary |-
|
213
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
214
|
+
SWxZemt5T0dRellqSXdaRFUyWXpVNU1tRTBOR0kyWTJObFpqUTRPRFZqTWpB
|
215
|
+
JTNELS01MWJhOGE3NGUyY2Q5NDhhNzZmNzc4ODQxNTRlZDQ1YmZmZGJjMTc2
|
216
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
217
|
+
T2N0LTIwMjIgMjE6NDU6MTkgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
218
|
+
!binary "U3RhdHVz":
|
219
|
+
- !binary |-
|
220
|
+
MjAwIE9L
|
221
|
+
!binary "WC1SdW50aW1l":
|
222
|
+
- !binary |-
|
223
|
+
MC4wMjM3NzY=
|
224
|
+
!binary "WC1VYS1Db21wYXRpYmxl":
|
225
|
+
- !binary |-
|
226
|
+
SUU9RWRnZSxjaHJvbWU9MQ==
|
227
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
228
|
+
- !binary |-
|
229
|
+
MTE3
|
230
|
+
!binary "Q29ubmVjdGlvbg==":
|
231
|
+
- !binary |-
|
232
|
+
a2VlcC1hbGl2ZQ==
|
233
|
+
body:
|
234
|
+
encoding: ASCII-8BIT
|
235
|
+
string: !binary |-
|
236
|
+
eyJuYW1lIjoiam9obiIsImNyZWF0ZWRBdCI6IjIwMTItMTAtMDlUMjE6NDU6
|
237
|
+
MTkuMDc1WiIsInVwZGF0ZWRBdCI6IjIwMTItMTAtMDlUMjE6NDU6MTkuMTIx
|
238
|
+
WiIsIm9iamVjdElkIjoidmtqU3dCS3NUTSJ9
|
239
|
+
http_version:
|
240
|
+
recorded_at: Tue, 09 Oct 2012 21:45:19 GMT
|
241
|
+
- request:
|
242
|
+
method: put
|
243
|
+
uri: https://api.parse.com/1/classes/TestSave/vkjSwBKsTM
|
244
|
+
body:
|
245
|
+
encoding: UTF-8
|
246
|
+
string: ! '{"name":"dave"}'
|
247
|
+
headers:
|
248
|
+
Content-Type:
|
249
|
+
- application/json
|
250
|
+
Accept:
|
251
|
+
- application/json
|
252
|
+
User-Agent:
|
253
|
+
- Parse for Ruby, 0.0
|
254
|
+
X-Parse-Master-Key:
|
255
|
+
- ''
|
256
|
+
X-Parse-Rest-Api-Key:
|
257
|
+
- D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
|
258
|
+
X-Parse-Application-Id:
|
259
|
+
- PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
|
260
|
+
X-Parse-Session-Token:
|
261
|
+
- ''
|
262
|
+
Expect:
|
263
|
+
- ''
|
264
|
+
response:
|
265
|
+
status:
|
266
|
+
code: 200
|
267
|
+
message: !binary |-
|
268
|
+
T0s=
|
269
|
+
headers:
|
270
|
+
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
|
271
|
+
- !binary |-
|
272
|
+
Kg==
|
273
|
+
!binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
|
274
|
+
- !binary |-
|
275
|
+
Kg==
|
276
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
277
|
+
- !binary |-
|
278
|
+
bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
|
279
|
+
!binary "Q29udGVudC1UeXBl":
|
280
|
+
- !binary |-
|
281
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
282
|
+
!binary "RGF0ZQ==":
|
283
|
+
- !binary |-
|
284
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NToxOSBHTVQ=
|
285
|
+
!binary "RXRhZw==":
|
286
|
+
- !binary |-
|
287
|
+
IjA3Yzk3NGMyNGZjNzVhNDdkYzM1NjE5NGEwODNjMmUzIg==
|
288
|
+
!binary "U2VydmVy":
|
289
|
+
- !binary |-
|
290
|
+
bmdpbngvMS4yLjI=
|
291
|
+
!binary "U2V0LUNvb2tpZQ==":
|
292
|
+
- !binary |-
|
293
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
294
|
+
SWxaak0xTUdJek9EUmpOakl3TlRNeFpHTmxOVEpqTW1ZM056bGxPRFZqWmpn
|
295
|
+
JTNELS1mOTgxZDQ0MTZiNjZjOTQxM2FiMWM4ZmY4YmYyODAyMzM1MjJlNzFj
|
296
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
297
|
+
T2N0LTIwMjIgMjE6NDU6MTkgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
298
|
+
!binary "U3RhdHVz":
|
299
|
+
- !binary |-
|
300
|
+
MjAwIE9L
|
301
|
+
!binary "WC1SdW50aW1l":
|
302
|
+
- !binary |-
|
303
|
+
MC4wMjU2MDI=
|
304
|
+
!binary "WC1VYS1Db21wYXRpYmxl":
|
305
|
+
- !binary |-
|
306
|
+
SUU9RWRnZSxjaHJvbWU9MQ==
|
307
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
308
|
+
- !binary |-
|
309
|
+
NDA=
|
310
|
+
!binary "Q29ubmVjdGlvbg==":
|
311
|
+
- !binary |-
|
312
|
+
a2VlcC1hbGl2ZQ==
|
313
|
+
body:
|
314
|
+
encoding: ASCII-8BIT
|
315
|
+
string: !binary |-
|
316
|
+
eyJ1cGRhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjE5LjMwMFoifQ==
|
317
|
+
http_version:
|
318
|
+
recorded_at: Tue, 09 Oct 2012 21:45:19 GMT
|
319
|
+
- request:
|
320
|
+
method: get
|
321
|
+
uri: https://api.parse.com/1/classes/TestSave/vkjSwBKsTM
|
322
|
+
body:
|
323
|
+
encoding: US-ASCII
|
324
|
+
string: ''
|
325
|
+
headers:
|
326
|
+
Content-Type:
|
327
|
+
- application/json
|
328
|
+
Accept:
|
329
|
+
- application/json
|
330
|
+
User-Agent:
|
331
|
+
- Parse for Ruby, 0.0
|
332
|
+
X-Parse-Master-Key:
|
333
|
+
- ''
|
334
|
+
X-Parse-Rest-Api-Key:
|
335
|
+
- D3Y8jNCQk6kpkKhpRGnWLYTrFGQ7j8dtDVnWZRnZ
|
336
|
+
X-Parse-Application-Id:
|
337
|
+
- PPVk6L5M9R1R8GVk8Ye9jT8f5SQNBIeoJUDJLmkT
|
338
|
+
X-Parse-Session-Token:
|
339
|
+
- ''
|
340
|
+
Expect:
|
341
|
+
- ''
|
342
|
+
response:
|
343
|
+
status:
|
344
|
+
code: 200
|
345
|
+
message: !binary |-
|
346
|
+
T0s=
|
347
|
+
headers:
|
348
|
+
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
|
349
|
+
- !binary |-
|
350
|
+
Kg==
|
351
|
+
!binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
|
352
|
+
- !binary |-
|
353
|
+
Kg==
|
354
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
355
|
+
- !binary |-
|
356
|
+
bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
|
357
|
+
!binary "Q29udGVudC1UeXBl":
|
358
|
+
- !binary |-
|
359
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
360
|
+
!binary "RGF0ZQ==":
|
361
|
+
- !binary |-
|
362
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NToxOSBHTVQ=
|
363
|
+
!binary "RXRhZw==":
|
364
|
+
- !binary |-
|
365
|
+
ImQ2OWI4YzJjMjJmNGVkMmM3ZjQyODQ2NmE5Y2U4YjIwIg==
|
366
|
+
!binary "U2VydmVy":
|
367
|
+
- !binary |-
|
368
|
+
bmdpbngvMS4yLjI=
|
369
|
+
!binary "U2V0LUNvb2tpZQ==":
|
370
|
+
- !binary |-
|
371
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
372
|
+
SWxZVGRsTkRSaU9XSXhNRGcwTjJJNU5XWmhabVJrT1RZd09XUXhaR0ptWVdV
|
373
|
+
JTNELS0zMTA1NjFjYTM1MmFhNDc4ZjE1ODE0YjRjZTU4ZTc3M2E3ZDY0ZWEz
|
374
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
375
|
+
T2N0LTIwMjIgMjE6NDU6MTkgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
376
|
+
!binary "U3RhdHVz":
|
377
|
+
- !binary |-
|
378
|
+
MjAwIE9L
|
379
|
+
!binary "WC1SdW50aW1l":
|
380
|
+
- !binary |-
|
381
|
+
MC4wMjM4NTc=
|
382
|
+
!binary "WC1VYS1Db21wYXRpYmxl":
|
383
|
+
- !binary |-
|
384
|
+
SUU9RWRnZSxjaHJvbWU9MQ==
|
385
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
386
|
+
- !binary |-
|
387
|
+
MTE3
|
388
|
+
!binary "Q29ubmVjdGlvbg==":
|
389
|
+
- !binary |-
|
390
|
+
a2VlcC1hbGl2ZQ==
|
391
|
+
body:
|
392
|
+
encoding: ASCII-8BIT
|
393
|
+
string: !binary |-
|
394
|
+
eyJuYW1lIjoiZGF2ZSIsImNyZWF0ZWRBdCI6IjIwMTItMTAtMDlUMjE6NDU6
|
395
|
+
MTkuMDc1WiIsInVwZGF0ZWRBdCI6IjIwMTItMTAtMDlUMjE6NDU6MTkuMzAw
|
396
|
+
WiIsIm9iamVjdElkIjoidmtqU3dCS3NUTSJ9
|
397
|
+
http_version:
|
398
|
+
recorded_at: Tue, 09 Oct 2012 21:45:19 GMT
|
399
|
+
recorded_with: VCR 2.0.1
|
@@ -0,0 +1,83 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.parse.com/1/classes/TestSave
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ! '{"foo":"bar"}'
|
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
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NToxOSBHTVQ=
|
47
|
+
!binary "TG9jYXRpb24=":
|
48
|
+
- !binary |-
|
49
|
+
aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9UZXN0U2F2ZS9EOFpY
|
50
|
+
MlFkV0tW
|
51
|
+
!binary "U2VydmVy":
|
52
|
+
- !binary |-
|
53
|
+
bmdpbngvMS4yLjI=
|
54
|
+
!binary "U2V0LUNvb2tpZQ==":
|
55
|
+
- !binary |-
|
56
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
57
|
+
SWxNbVl3WTJFeE16STRPV1JrT1RnNE5qUmxaV0psWWpka01qWmpZekZrTm1J
|
58
|
+
JTNELS00MGI2MGE3ZmM3ZGRiZmU2NzBmYzdmNWQwOGNmODAwMDVkMGY5MmY5
|
59
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
60
|
+
T2N0LTIwMjIgMjE6NDU6MTkgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
61
|
+
!binary "U3RhdHVz":
|
62
|
+
- !binary |-
|
63
|
+
MjAxIENyZWF0ZWQ=
|
64
|
+
!binary "WC1SdW50aW1l":
|
65
|
+
- !binary |-
|
66
|
+
MC4wMzE3Mjg=
|
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
|
+
eyJjcmVhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjE5LjUxOVoiLCJvYmpl
|
80
|
+
Y3RJZCI6IkQ4WlgyUWRXS1YifQ==
|
81
|
+
http_version:
|
82
|
+
recorded_at: Tue, 09 Oct 2012 21:45:19 GMT
|
83
|
+
recorded_with: VCR 2.0.1
|