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,83 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.parse.com/1/classes/Post
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ! '{"title":"hello world"}'
|
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
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NTozMSBHTVQ=
|
47
|
+
!binary "TG9jYXRpb24=":
|
48
|
+
- !binary |-
|
49
|
+
aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9Qb3N0L1hBV2htNmlU
|
50
|
+
Nm0=
|
51
|
+
!binary "U2VydmVy":
|
52
|
+
- !binary |-
|
53
|
+
bmdpbngvMS4yLjI=
|
54
|
+
!binary "U2V0LUNvb2tpZQ==":
|
55
|
+
- !binary |-
|
56
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
57
|
+
SWxaVFV5T1Rnd05qa3lZbVZoTmpCbVkySm1NVFl4WWpBNVpUVmhNamt6TnpZ
|
58
|
+
JTNELS00ZmM0MmY1MWQ3ZjdiMjY1MGNkM2RjM2U2YmY5MmQ3Y2M3NzFhMzNh
|
59
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
60
|
+
T2N0LTIwMjIgMjE6NDU6MzEgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
61
|
+
!binary "U3RhdHVz":
|
62
|
+
- !binary |-
|
63
|
+
MjAxIENyZWF0ZWQ=
|
64
|
+
!binary "WC1SdW50aW1l":
|
65
|
+
- !binary |-
|
66
|
+
MC4wMjUxNzM=
|
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
|
+
eyJjcmVhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjMxLjUyMVoiLCJvYmpl
|
80
|
+
Y3RJZCI6IlhBV2htNmlUNm0ifQ==
|
81
|
+
http_version:
|
82
|
+
recorded_at: Tue, 09 Oct 2012 21:45:31 GMT
|
83
|
+
recorded_with: VCR 2.0.1
|
@@ -0,0 +1,317 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.parse.com/1/classes/Post
|
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
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NTozMSBHTVQ=
|
47
|
+
!binary "TG9jYXRpb24=":
|
48
|
+
- !binary |-
|
49
|
+
aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9Qb3N0L2xzN1lJb2Yy
|
50
|
+
cUY=
|
51
|
+
!binary "U2VydmVy":
|
52
|
+
- !binary |-
|
53
|
+
bmdpbngvMS4yLjI=
|
54
|
+
!binary "U2V0LUNvb2tpZQ==":
|
55
|
+
- !binary |-
|
56
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
57
|
+
SWxNRGt3WTJGak4yWTNOamxtTVdKbE1qTTBNMkZoTXpnM056RTRPR013TVdR
|
58
|
+
JTNELS0wMjEwMjZiNGZlYWYwYjY4MjRjMGUyNmI2YWVlMDA5NjNhYTk0ODFk
|
59
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
60
|
+
T2N0LTIwMjIgMjE6NDU6MzEgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
61
|
+
!binary "U3RhdHVz":
|
62
|
+
- !binary |-
|
63
|
+
MjAxIENyZWF0ZWQ=
|
64
|
+
!binary "WC1SdW50aW1l":
|
65
|
+
- !binary |-
|
66
|
+
MC4yNDc3MDA=
|
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
|
+
eyJjcmVhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjMxLjg1NloiLCJvYmpl
|
80
|
+
Y3RJZCI6ImxzN1lJb2YycUYifQ==
|
81
|
+
http_version:
|
82
|
+
recorded_at: Tue, 09 Oct 2012 21:45:32 GMT
|
83
|
+
- request:
|
84
|
+
method: get
|
85
|
+
uri: https://api.parse.com/1/classes/Post/ls7YIof2qF
|
86
|
+
body:
|
87
|
+
encoding: US-ASCII
|
88
|
+
string: ''
|
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
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NTozMiBHTVQ=
|
127
|
+
!binary "RXRhZw==":
|
128
|
+
- !binary |-
|
129
|
+
ImM5YzQ4Y2FkMTE0ZGQ0M2Q0YjVlNDVlYjc2ODBlMmJkIg==
|
130
|
+
!binary "U2VydmVy":
|
131
|
+
- !binary |-
|
132
|
+
bmdpbngvMS4yLjI=
|
133
|
+
!binary "U2V0LUNvb2tpZQ==":
|
134
|
+
- !binary |-
|
135
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
136
|
+
SWxZMlV3TmpjMlpEZzNNMlEwWTJFNU5qYzJaakZoWXpJd05tWmxZMk5rT1RB
|
137
|
+
JTNELS0yNzg2MDU4ZjhlM2EyYmNmYWM5MzJiMmRiN2JkZTg2M2UxMDMwMTgy
|
138
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
139
|
+
T2N0LTIwMjIgMjE6NDU6MzIgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
140
|
+
!binary "U3RhdHVz":
|
141
|
+
- !binary |-
|
142
|
+
MjAwIE9L
|
143
|
+
!binary "WC1SdW50aW1l":
|
144
|
+
- !binary |-
|
145
|
+
MC4wMzEyMTM=
|
146
|
+
!binary "WC1VYS1Db21wYXRpYmxl":
|
147
|
+
- !binary |-
|
148
|
+
SUU9RWRnZSxjaHJvbWU9MQ==
|
149
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
150
|
+
- !binary |-
|
151
|
+
MTAz
|
152
|
+
!binary "Q29ubmVjdGlvbg==":
|
153
|
+
- !binary |-
|
154
|
+
a2VlcC1hbGl2ZQ==
|
155
|
+
body:
|
156
|
+
encoding: ASCII-8BIT
|
157
|
+
string: !binary |-
|
158
|
+
eyJjcmVhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjMxLjg1NloiLCJ1cGRh
|
159
|
+
dGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjMxLjg1NloiLCJvYmplY3RJZCI6
|
160
|
+
ImxzN1lJb2YycUYifQ==
|
161
|
+
http_version:
|
162
|
+
recorded_at: Tue, 09 Oct 2012 21:45:32 GMT
|
163
|
+
- request:
|
164
|
+
method: delete
|
165
|
+
uri: https://api.parse.com/1/classes/Post/ls7YIof2qF
|
166
|
+
body:
|
167
|
+
encoding: US-ASCII
|
168
|
+
string: ''
|
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: 200
|
189
|
+
message: !binary |-
|
190
|
+
T0s=
|
191
|
+
headers:
|
192
|
+
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
|
193
|
+
- !binary |-
|
194
|
+
Kg==
|
195
|
+
!binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
|
196
|
+
- !binary |-
|
197
|
+
Kg==
|
198
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
199
|
+
- !binary |-
|
200
|
+
bWF4LWFnZT0wLCBwcml2YXRlLCBtdXN0LXJldmFsaWRhdGU=
|
201
|
+
!binary "Q29udGVudC1UeXBl":
|
202
|
+
- !binary |-
|
203
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
204
|
+
!binary "RGF0ZQ==":
|
205
|
+
- !binary |-
|
206
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NTozMiBHTVQ=
|
207
|
+
!binary "RXRhZw==":
|
208
|
+
- !binary |-
|
209
|
+
Ijk5OTE0YjkzMmJkMzdhNTBiOTgzYzVlN2M5MGFlOTNiIg==
|
210
|
+
!binary "U2VydmVy":
|
211
|
+
- !binary |-
|
212
|
+
bmdpbngvMS4yLjI=
|
213
|
+
!binary "U2V0LUNvb2tpZQ==":
|
214
|
+
- !binary |-
|
215
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
216
|
+
SWxaVE0xTTJVNE1qZGhNR1UyWlRZMlpEQmlPVE01TnpSaFptTTFNalpsWTJF
|
217
|
+
JTNELS1mODE4M2U1YmZlYjM0MjRjOWIxNzVlM2NlM2E3Y2JlMTNkOTc3N2Yy
|
218
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
219
|
+
T2N0LTIwMjIgMjE6NDU6MzIgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
220
|
+
!binary "U3RhdHVz":
|
221
|
+
- !binary |-
|
222
|
+
MjAwIE9L
|
223
|
+
!binary "WC1SdW50aW1l":
|
224
|
+
- !binary |-
|
225
|
+
MC4wMjk5OTE=
|
226
|
+
!binary "WC1VYS1Db21wYXRpYmxl":
|
227
|
+
- !binary |-
|
228
|
+
SUU9RWRnZSxjaHJvbWU9MQ==
|
229
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
230
|
+
- !binary |-
|
231
|
+
Mg==
|
232
|
+
!binary "Q29ubmVjdGlvbg==":
|
233
|
+
- !binary |-
|
234
|
+
a2VlcC1hbGl2ZQ==
|
235
|
+
body:
|
236
|
+
encoding: ASCII-8BIT
|
237
|
+
string: !binary |-
|
238
|
+
e30=
|
239
|
+
http_version:
|
240
|
+
recorded_at: Tue, 09 Oct 2012 21:45:32 GMT
|
241
|
+
- request:
|
242
|
+
method: get
|
243
|
+
uri: https://api.parse.com/1/classes/Post/ls7YIof2qF
|
244
|
+
body:
|
245
|
+
encoding: US-ASCII
|
246
|
+
string: ''
|
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: 404
|
267
|
+
message: !binary |-
|
268
|
+
Tm90IEZvdW5k
|
269
|
+
headers:
|
270
|
+
!binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
|
271
|
+
- !binary |-
|
272
|
+
Kg==
|
273
|
+
!binary "QWNjZXNzLUNvbnRyb2wtUmVxdWVzdC1NZXRob2Q=":
|
274
|
+
- !binary |-
|
275
|
+
Kg==
|
276
|
+
!binary "Q2FjaGUtQ29udHJvbA==":
|
277
|
+
- !binary |-
|
278
|
+
bm8tY2FjaGU=
|
279
|
+
!binary "Q29udGVudC1UeXBl":
|
280
|
+
- !binary |-
|
281
|
+
YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
|
282
|
+
!binary "RGF0ZQ==":
|
283
|
+
- !binary |-
|
284
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NTozMiBHTVQ=
|
285
|
+
!binary "U2VydmVy":
|
286
|
+
- !binary |-
|
287
|
+
bmdpbngvMS4yLjI=
|
288
|
+
!binary "U2V0LUNvb2tpZQ==":
|
289
|
+
- !binary |-
|
290
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
291
|
+
SWxNekk0TTJVNU1tTmhOVGN6WkRBMFpUTTBORFUyWldKa1l6STNNV0ZoTmpn
|
292
|
+
JTNELS05NmQ2MzQ5YjFjZDVjMjRhMmIzODA5NmYyOGVlMDdkN2RlYzIyNjcz
|
293
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
294
|
+
T2N0LTIwMjIgMjE6NDU6MzIgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
295
|
+
!binary "U3RhdHVz":
|
296
|
+
- !binary |-
|
297
|
+
NDA0IE5vdCBGb3VuZA==
|
298
|
+
!binary "WC1SdW50aW1l":
|
299
|
+
- !binary |-
|
300
|
+
MC4wMjE0NDk=
|
301
|
+
!binary "WC1VYS1Db21wYXRpYmxl":
|
302
|
+
- !binary |-
|
303
|
+
SUU9RWRnZSxjaHJvbWU9MQ==
|
304
|
+
!binary "Q29udGVudC1MZW5ndGg=":
|
305
|
+
- !binary |-
|
306
|
+
NDc=
|
307
|
+
!binary "Q29ubmVjdGlvbg==":
|
308
|
+
- !binary |-
|
309
|
+
a2VlcC1hbGl2ZQ==
|
310
|
+
body:
|
311
|
+
encoding: ASCII-8BIT
|
312
|
+
string: !binary |-
|
313
|
+
eyJjb2RlIjoxMDEsImVycm9yIjoib2JqZWN0IG5vdCBmb3VuZCBmb3IgZ2V0
|
314
|
+
In0=
|
315
|
+
http_version:
|
316
|
+
recorded_at: Tue, 09 Oct 2012 21:45:32 GMT
|
317
|
+
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/Post
|
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
|
+
VHVlLCAwOSBPY3QgMjAxMiAyMTo0NTozMiBHTVQ=
|
47
|
+
!binary "TG9jYXRpb24=":
|
48
|
+
- !binary |-
|
49
|
+
aHR0cHM6Ly9hcGkucGFyc2UuY29tLzEvY2xhc3Nlcy9Qb3N0L09mTVQ5alJD
|
50
|
+
Rm0=
|
51
|
+
!binary "U2VydmVy":
|
52
|
+
- !binary |-
|
53
|
+
bmdpbngvMS4yLjI=
|
54
|
+
!binary "U2V0LUNvb2tpZQ==":
|
55
|
+
- !binary |-
|
56
|
+
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
57
|
+
SWxZbVl6WVRWa056Z3pNV1poTldNM09UUTBNVGhpWlRKa1l6ZGxaRGs0WTJJ
|
58
|
+
JTNELS02ZWM1M2NkM2Q3ZmE0ZTM5MmQyZTEyMDUxZDgxZGUzNjhjZjVlZWE4
|
59
|
+
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
60
|
+
T2N0LTIwMjIgMjE6NDU6MzIgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
61
|
+
!binary "U3RhdHVz":
|
62
|
+
- !binary |-
|
63
|
+
MjAxIENyZWF0ZWQ=
|
64
|
+
!binary "WC1SdW50aW1l":
|
65
|
+
- !binary |-
|
66
|
+
MC4wMjYyMTQ=
|
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
|
+
eyJjcmVhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjMyLjM2NFoiLCJvYmpl
|
80
|
+
Y3RJZCI6Ik9mTVQ5alJDRm0ifQ==
|
81
|
+
http_version:
|
82
|
+
recorded_at: Tue, 09 Oct 2012 21:45:32 GMT
|
83
|
+
recorded_with: VCR 2.0.1
|