parse-ruby-client 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +3 -2
- data/Gemfile +12 -12
- data/Gemfile.lock +26 -12
- data/OLD_README.md +255 -0
- data/README.md +1038 -144
- data/Rakefile +2 -10
- data/VERSION +1 -1
- data/features.md +11 -11
- data/fixtures/vcr_cassettes/test_acls_arent_objects.yml +180 -0
- data/fixtures/vcr_cassettes/test_array_add.yml +20 -20
- data/fixtures/vcr_cassettes/test_array_add_pointerizing.yml +239 -0
- data/fixtures/vcr_cassettes/test_array_add_unique.yml +180 -0
- data/fixtures/vcr_cassettes/test_batch_create_object.yml +53 -80
- data/fixtures/vcr_cassettes/test_batch_delete_object.yml +303 -428
- data/fixtures/vcr_cassettes/test_batch_run.yml +53 -74
- data/fixtures/vcr_cassettes/test_batch_update_object.yml +303 -432
- data/fixtures/vcr_cassettes/test_circular_save.yml +121 -0
- data/fixtures/vcr_cassettes/test_created_at.yml +53 -74
- data/fixtures/vcr_cassettes/test_decrement.yml +121 -0
- data/fixtures/vcr_cassettes/test_deep_parse.yml +154 -218
- data/fixtures/vcr_cassettes/test_destroy.yml +104 -144
- data/fixtures/vcr_cassettes/test_eq_pointerize.yml +239 -0
- data/fixtures/vcr_cassettes/test_equality.yml +180 -0
- data/fixtures/vcr_cassettes/test_get.yml +104 -146
- data/fixtures/vcr_cassettes/test_get_missing.yml +60 -0
- data/fixtures/vcr_cassettes/test_include.yml +27 -27
- data/fixtures/vcr_cassettes/test_new_model.yml +53 -146
- data/fixtures/vcr_cassettes/test_new_object.yml +53 -74
- data/fixtures/vcr_cassettes/test_nils_delete_keys.yml +155 -216
- data/fixtures/vcr_cassettes/test_parse_delete.yml +204 -284
- data/fixtures/vcr_cassettes/test_pointer.yml +53 -74
- data/fixtures/vcr_cassettes/test_save_with_sub_objects.yml +298 -0
- data/fixtures/vcr_cassettes/test_saving_boolean_values.yml +121 -0
- data/fixtures/vcr_cassettes/test_server_update.yml +257 -358
- data/fixtures/vcr_cassettes/test_simple_save.yml +53 -74
- data/fixtures/vcr_cassettes/test_text_file_save.yml +53 -161
- data/fixtures/vcr_cassettes/test_update.yml +104 -144
- data/fixtures/vcr_cassettes/test_updated_at.yml +104 -144
- data/fixtures/vcr_cassettes/test_user_save.yml +10 -10
- data/lib/parse/client.rb +43 -6
- data/lib/parse/datatypes.rb +14 -35
- data/lib/parse/error.rb +8 -0
- data/lib/parse/object.rb +25 -20
- data/lib/parse/protocol.rb +3 -4
- data/lib/parse/query.rb +10 -9
- data/lib/parse/util.rb +36 -2
- data/parse-ruby-client.gemspec +22 -18
- data/test/helper.rb +33 -5
- data/test/test_batch.rb +1 -4
- data/test/test_client.rb +59 -7
- data/test/test_cloud.rb +3 -7
- data/test/test_datatypes.rb +6 -7
- data/test/test_file.rb +9 -10
- data/test/test_model.rb +1 -4
- data/test/test_object.rb +148 -6
- data/test/test_push.rb +1 -5
- data/test/test_query.rb +13 -3
- data/test/test_throttle.rb +1 -3
- data/test/test_user.rb +1 -5
- metadata +23 -19
- data/fixtures/vcr_cassettes/test_array_add_relation.yml +0 -321
- data/fixtures/vcr_cassettes/test_cloud_function.yml +0 -81
- data/fixtures/vcr_cassettes/test_file_save.yml +0 -87
- data/fixtures/vcr_cassettes/test_image_file_associate_with_object.yml +0 -2034
- data/fixtures/vcr_cassettes/test_image_file_save.yml +0 -1957
- data/fixtures/vcr_cassettes/test_object_id.yml +0 -83
- data/fixtures/vcr_cassettes/test_request_batch.yml +0 -62
@@ -16,9 +16,9 @@ http_interactions:
|
|
16
16
|
X-Parse-Master-Key:
|
17
17
|
- ""
|
18
18
|
X-Parse-Rest-Api-Key:
|
19
|
-
-
|
19
|
+
- <X-Parse-REST-API-Key>
|
20
20
|
X-Parse-Application-Id:
|
21
|
-
-
|
21
|
+
- <X-Parse-Application-Id>
|
22
22
|
X-Parse-Session-Token:
|
23
23
|
- ""
|
24
24
|
Expect:
|
@@ -37,17 +37,17 @@ http_interactions:
|
|
37
37
|
Content-Type:
|
38
38
|
- application/json; charset=utf-8
|
39
39
|
Date:
|
40
|
-
-
|
40
|
+
- Mon, 22 Apr 2013 16:03:24 GMT
|
41
41
|
Location:
|
42
|
-
- https://api.parse.com/1/classes/Post/
|
42
|
+
- https://api.parse.com/1/classes/Post/BdpVUDiBzc
|
43
43
|
Server:
|
44
44
|
- nginx/1.2.2
|
45
45
|
Set-Cookie:
|
46
|
-
-
|
46
|
+
- <COOKIE-KEY>
|
47
47
|
Status:
|
48
48
|
- 201 Created
|
49
49
|
X-Runtime:
|
50
|
-
- "0.
|
50
|
+
- "0.028793"
|
51
51
|
X-Ua-Compatible:
|
52
52
|
- IE=Edge,chrome=1
|
53
53
|
Content-Length:
|
@@ -56,15 +56,15 @@ http_interactions:
|
|
56
56
|
- keep-alive
|
57
57
|
body:
|
58
58
|
encoding: ASCII-8BIT
|
59
|
-
string: "{\"createdAt\":\"2013-
|
59
|
+
string: "{\"createdAt\":\"2013-04-22T16:03:24.305Z\",\"objectId\":\"BdpVUDiBzc\"}"
|
60
60
|
http_version:
|
61
|
-
recorded_at:
|
61
|
+
recorded_at: Mon, 22 Apr 2013 16:03:24 GMT
|
62
62
|
- request:
|
63
63
|
method: post
|
64
64
|
uri: https://api.parse.com/1/classes/Post
|
65
65
|
body:
|
66
66
|
encoding: UTF-8
|
67
|
-
string: "{\"title\":\"bar\",\"other\":{\"__type\":\"Pointer\",\"className\":\"Post\",\"objectId\":\"
|
67
|
+
string: "{\"title\":\"bar\",\"other\":{\"__type\":\"Pointer\",\"className\":\"Post\",\"objectId\":\"BdpVUDiBzc\"}}"
|
68
68
|
headers:
|
69
69
|
Content-Type:
|
70
70
|
- application/json
|
@@ -75,9 +75,9 @@ http_interactions:
|
|
75
75
|
X-Parse-Master-Key:
|
76
76
|
- ""
|
77
77
|
X-Parse-Rest-Api-Key:
|
78
|
-
-
|
78
|
+
- <X-Parse-REST-API-Key>
|
79
79
|
X-Parse-Application-Id:
|
80
|
-
-
|
80
|
+
- <X-Parse-Application-Id>
|
81
81
|
X-Parse-Session-Token:
|
82
82
|
- ""
|
83
83
|
Expect:
|
@@ -96,17 +96,17 @@ http_interactions:
|
|
96
96
|
Content-Type:
|
97
97
|
- application/json; charset=utf-8
|
98
98
|
Date:
|
99
|
-
-
|
99
|
+
- Mon, 22 Apr 2013 16:03:24 GMT
|
100
100
|
Location:
|
101
|
-
- https://api.parse.com/1/classes/Post/
|
101
|
+
- https://api.parse.com/1/classes/Post/DLMpekrfKt
|
102
102
|
Server:
|
103
103
|
- nginx/1.2.2
|
104
104
|
Set-Cookie:
|
105
|
-
-
|
105
|
+
- <COOKIE-KEY>
|
106
106
|
Status:
|
107
107
|
- 201 Created
|
108
108
|
X-Runtime:
|
109
|
-
- "0.
|
109
|
+
- "0.058501"
|
110
110
|
X-Ua-Compatible:
|
111
111
|
- IE=Edge,chrome=1
|
112
112
|
Content-Length:
|
@@ -115,12 +115,12 @@ http_interactions:
|
|
115
115
|
- keep-alive
|
116
116
|
body:
|
117
117
|
encoding: ASCII-8BIT
|
118
|
-
string: "{\"createdAt\":\"2013-
|
118
|
+
string: "{\"createdAt\":\"2013-04-22T16:03:24.373Z\",\"objectId\":\"DLMpekrfKt\"}"
|
119
119
|
http_version:
|
120
|
-
recorded_at:
|
120
|
+
recorded_at: Mon, 22 Apr 2013 16:03:24 GMT
|
121
121
|
- request:
|
122
122
|
method: get
|
123
|
-
uri: https://api.parse.com/1/classes/Post?include=other&where=%7B%22objectId%22:%
|
123
|
+
uri: https://api.parse.com/1/classes/Post?include=other&where=%7B%22objectId%22:%22DLMpekrfKt%22%7D
|
124
124
|
body:
|
125
125
|
encoding: US-ASCII
|
126
126
|
string: ""
|
@@ -134,9 +134,9 @@ http_interactions:
|
|
134
134
|
X-Parse-Master-Key:
|
135
135
|
- ""
|
136
136
|
X-Parse-Rest-Api-Key:
|
137
|
-
-
|
137
|
+
- <X-Parse-REST-API-Key>
|
138
138
|
X-Parse-Application-Id:
|
139
|
-
-
|
139
|
+
- <X-Parse-Application-Id>
|
140
140
|
X-Parse-Session-Token:
|
141
141
|
- ""
|
142
142
|
Expect:
|
@@ -155,17 +155,17 @@ http_interactions:
|
|
155
155
|
Content-Type:
|
156
156
|
- application/json; charset=utf-8
|
157
157
|
Date:
|
158
|
-
-
|
158
|
+
- Mon, 22 Apr 2013 16:03:24 GMT
|
159
159
|
Etag:
|
160
|
-
- "\"
|
160
|
+
- "\"13660208a0519bfd06c7e56a4cd9e511\""
|
161
161
|
Server:
|
162
162
|
- nginx/1.2.2
|
163
163
|
Set-Cookie:
|
164
|
-
-
|
164
|
+
- <COOKIE-KEY>
|
165
165
|
Status:
|
166
166
|
- 200 OK
|
167
167
|
X-Runtime:
|
168
|
-
- "0.
|
168
|
+
- "0.041551"
|
169
169
|
X-Ua-Compatible:
|
170
170
|
- IE=Edge,chrome=1
|
171
171
|
Content-Length:
|
@@ -174,7 +174,7 @@ http_interactions:
|
|
174
174
|
- keep-alive
|
175
175
|
body:
|
176
176
|
encoding: ASCII-8BIT
|
177
|
-
string: "{\"results\":[{\"title\":\"bar\",\"other\":{\"title\":\"foo\",\"createdAt\":\"2013-
|
177
|
+
string: "{\"results\":[{\"title\":\"bar\",\"other\":{\"title\":\"foo\",\"createdAt\":\"2013-04-22T16:03:24.305Z\",\"updatedAt\":\"2013-04-22T16:03:24.305Z\",\"objectId\":\"BdpVUDiBzc\",\"__type\":\"Object\",\"className\":\"Post\"},\"createdAt\":\"2013-04-22T16:03:24.373Z\",\"updatedAt\":\"2013-04-22T16:03:24.373Z\",\"objectId\":\"DLMpekrfKt\"}]}"
|
178
178
|
http_version:
|
179
|
-
recorded_at:
|
180
|
-
recorded_with: VCR 2.0
|
179
|
+
recorded_at: Mon, 22 Apr 2013 16:03:24 GMT
|
180
|
+
recorded_with: VCR 2.4.0
|
@@ -1,155 +1,62 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: https://api.parse.com/1/classes/TestModelObject
|
6
|
-
body:
|
6
|
+
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
8
|
+
string: "{}"
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
11
|
- application/json
|
12
|
-
Accept:
|
12
|
+
Accept:
|
13
13
|
- application/json
|
14
|
-
User-Agent:
|
14
|
+
User-Agent:
|
15
15
|
- Parse for Ruby, 0.0
|
16
|
-
X-Parse-Master-Key:
|
17
|
-
-
|
18
|
-
X-Parse-Rest-Api-Key:
|
19
|
-
-
|
20
|
-
X-Parse-Application-Id:
|
21
|
-
-
|
22
|
-
X-Parse-Session-Token:
|
23
|
-
-
|
24
|
-
Expect:
|
25
|
-
-
|
26
|
-
response:
|
27
|
-
status:
|
16
|
+
X-Parse-Master-Key:
|
17
|
+
- ""
|
18
|
+
X-Parse-Rest-Api-Key:
|
19
|
+
- <X-Parse-REST-API-Key>
|
20
|
+
X-Parse-Application-Id:
|
21
|
+
- <X-Parse-Application-Id>
|
22
|
+
X-Parse-Session-Token:
|
23
|
+
- ""
|
24
|
+
Expect:
|
25
|
+
- ""
|
26
|
+
response:
|
27
|
+
status:
|
28
28
|
code: 201
|
29
|
-
message:
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
|
36
|
-
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
-
|
43
|
-
|
44
|
-
|
45
|
-
-
|
46
|
-
|
47
|
-
|
48
|
-
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
JTNELS04YWEzZWNjZGYwMWExNzNhZTdjYzBhNDlhY2MxNGU0M2FmNjk0ZWI1
|
59
|
-
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVRodSwgMDUt
|
60
|
-
SmFuLTIwMjMgMTc6MDk6MDQgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
61
|
-
!binary "U3RhdHVz":
|
62
|
-
- !binary |-
|
63
|
-
MjAxIENyZWF0ZWQ=
|
64
|
-
!binary "WC1SdW50aW1l":
|
65
|
-
- !binary |-
|
66
|
-
MTAuMTk5MDMz
|
67
|
-
!binary "WC1VYS1Db21wYXRpYmxl":
|
68
|
-
- !binary |-
|
69
|
-
SUU9RWRnZSxjaHJvbWU9MQ==
|
70
|
-
!binary "Q29udGVudC1MZW5ndGg=":
|
71
|
-
- !binary |-
|
72
|
-
NjQ=
|
73
|
-
!binary "Q29ubmVjdGlvbg==":
|
74
|
-
- !binary |-
|
75
|
-
a2VlcC1hbGl2ZQ==
|
76
|
-
body:
|
29
|
+
message: Created
|
30
|
+
headers:
|
31
|
+
Access-Control-Allow-Origin:
|
32
|
+
- "*"
|
33
|
+
Access-Control-Request-Method:
|
34
|
+
- "*"
|
35
|
+
Cache-Control:
|
36
|
+
- no-cache
|
37
|
+
Content-Type:
|
38
|
+
- application/json; charset=utf-8
|
39
|
+
Date:
|
40
|
+
- Mon, 22 Apr 2013 16:03:16 GMT
|
41
|
+
Location:
|
42
|
+
- https://api.parse.com/1/classes/TestModelObject/K9I570yzN6
|
43
|
+
Server:
|
44
|
+
- nginx/1.2.2
|
45
|
+
Set-Cookie:
|
46
|
+
- <COOKIE-KEY>
|
47
|
+
Status:
|
48
|
+
- 201 Created
|
49
|
+
X-Runtime:
|
50
|
+
- "0.035273"
|
51
|
+
X-Ua-Compatible:
|
52
|
+
- IE=Edge,chrome=1
|
53
|
+
Content-Length:
|
54
|
+
- "64"
|
55
|
+
Connection:
|
56
|
+
- keep-alive
|
57
|
+
body:
|
77
58
|
encoding: ASCII-8BIT
|
78
|
-
string:
|
79
|
-
eyJjcmVhdGVkQXQiOiIyMDEzLTAxLTA1VDE3OjA4OjU0Ljc5NFoiLCJvYmpl
|
80
|
-
Y3RJZCI6IlJMTlVHakswek0ifQ==
|
59
|
+
string: "{\"createdAt\":\"2013-04-22T16:03:16.874Z\",\"objectId\":\"K9I570yzN6\"}"
|
81
60
|
http_version:
|
82
|
-
recorded_at:
|
83
|
-
|
84
|
-
method: get
|
85
|
-
uri: https://api.parse.com/1/batch
|
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: 404
|
109
|
-
message: !binary |-
|
110
|
-
Tm90IEZvdW5k
|
111
|
-
headers:
|
112
|
-
!binary "Q29udGVudC1UeXBl":
|
113
|
-
- !binary |-
|
114
|
-
dGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04
|
115
|
-
!binary "RGF0ZQ==":
|
116
|
-
- !binary |-
|
117
|
-
U2F0LCAwNSBKYW4gMjAxMyAyMjozNjo0MiBHTVQ=
|
118
|
-
!binary "U2VydmVy":
|
119
|
-
- !binary |-
|
120
|
-
bmdpbngvMS4yLjI=
|
121
|
-
!binary "U3RhdHVz":
|
122
|
-
- !binary |-
|
123
|
-
NDA0IE5vdCBGb3VuZA==
|
124
|
-
!binary "WC1SdW50aW1l":
|
125
|
-
- !binary |-
|
126
|
-
MC4wMDQwMzY=
|
127
|
-
!binary "Q29udGVudC1MZW5ndGg=":
|
128
|
-
- !binary |-
|
129
|
-
NzI4
|
130
|
-
!binary "Q29ubmVjdGlvbg==":
|
131
|
-
- !binary |-
|
132
|
-
a2VlcC1hbGl2ZQ==
|
133
|
-
body:
|
134
|
-
encoding: ASCII-8BIT
|
135
|
-
string: !binary |-
|
136
|
-
PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICA8dGl0bGU+VGhlIHBh
|
137
|
-
Z2UgeW91IHdlcmUgbG9va2luZyBmb3IgZG9lc24ndCBleGlzdCAoNDA0KTwv
|
138
|
-
dGl0bGU+CiAgPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KICAgIGJvZHkgeyBi
|
139
|
-
YWNrZ3JvdW5kLWNvbG9yOiAjZmZmOyBjb2xvcjogIzY2NjsgdGV4dC1hbGln
|
140
|
-
bjogY2VudGVyOyBmb250LWZhbWlseTogYXJpYWwsIHNhbnMtc2VyaWY7IH0K
|
141
|
-
ICAgIGRpdi5kaWFsb2cgewogICAgICB3aWR0aDogMjVlbTsKICAgICAgcGFk
|
142
|
-
ZGluZzogMCA0ZW07CiAgICAgIG1hcmdpbjogNGVtIGF1dG8gMCBhdXRvOwog
|
143
|
-
ICAgICBib3JkZXI6IDFweCBzb2xpZCAjY2NjOwogICAgICBib3JkZXItcmln
|
144
|
-
aHQtY29sb3I6ICM5OTk7CiAgICAgIGJvcmRlci1ib3R0b20tY29sb3I6ICM5
|
145
|
-
OTk7CiAgICB9CiAgICBoMSB7IGZvbnQtc2l6ZTogMTAwJTsgY29sb3I6ICNm
|
146
|
-
MDA7IGxpbmUtaGVpZ2h0OiAxLjVlbTsgfQogIDwvc3R5bGU+CjwvaGVhZD4K
|
147
|
-
Cjxib2R5PgogIDwhLS0gVGhpcyBmaWxlIGxpdmVzIGluIHB1YmxpYy80MDQu
|
148
|
-
aHRtbCAtLT4KICA8ZGl2IGNsYXNzPSJkaWFsb2ciPgogICAgPGgxPlRoZSBw
|
149
|
-
YWdlIHlvdSB3ZXJlIGxvb2tpbmcgZm9yIGRvZXNuJ3QgZXhpc3QuPC9oMT4K
|
150
|
-
ICAgIDxwPllvdSBtYXkgaGF2ZSBtaXN0eXBlZCB0aGUgYWRkcmVzcyBvciB0
|
151
|
-
aGUgcGFnZSBtYXkgaGF2ZSBtb3ZlZC48L3A+CiAgPC9kaXY+CjwvYm9keT4K
|
152
|
-
PC9odG1sPgo=
|
153
|
-
http_version:
|
154
|
-
recorded_at: Sat, 05 Jan 2013 22:36:45 GMT
|
155
|
-
recorded_with: VCR 2.0.1
|
61
|
+
recorded_at: Mon, 22 Apr 2013 16:03:16 GMT
|
62
|
+
recorded_with: VCR 2.4.0
|
@@ -1,83 +1,62 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: https://api.parse.com/1/classes/Post
|
6
|
-
body:
|
6
|
+
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
8
|
+
string: "{}"
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
11
|
- application/json
|
12
|
-
Accept:
|
12
|
+
Accept:
|
13
13
|
- application/json
|
14
|
-
User-Agent:
|
14
|
+
User-Agent:
|
15
15
|
- Parse for Ruby, 0.0
|
16
|
-
X-Parse-Master-Key:
|
17
|
-
-
|
18
|
-
X-Parse-Rest-Api-Key:
|
19
|
-
-
|
20
|
-
X-Parse-Application-Id:
|
21
|
-
-
|
22
|
-
X-Parse-Session-Token:
|
23
|
-
-
|
24
|
-
Expect:
|
25
|
-
-
|
26
|
-
response:
|
27
|
-
status:
|
16
|
+
X-Parse-Master-Key:
|
17
|
+
- ""
|
18
|
+
X-Parse-Rest-Api-Key:
|
19
|
+
- <X-Parse-REST-API-Key>
|
20
|
+
X-Parse-Application-Id:
|
21
|
+
- <X-Parse-Application-Id>
|
22
|
+
X-Parse-Session-Token:
|
23
|
+
- ""
|
24
|
+
Expect:
|
25
|
+
- ""
|
26
|
+
response:
|
27
|
+
status:
|
28
28
|
code: 201
|
29
|
-
message:
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
|
36
|
-
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
-
|
43
|
-
|
44
|
-
|
45
|
-
-
|
46
|
-
|
47
|
-
|
48
|
-
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
JTNELS0yOGM4NTE4YTk1YTlhODc0YWIwZWMyMTY5NmE0Y2MwNGEzNTcwZDAy
|
59
|
-
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
60
|
-
T2N0LTIwMjIgMjE6NDU6MzAgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
61
|
-
!binary "U3RhdHVz":
|
62
|
-
- !binary |-
|
63
|
-
MjAxIENyZWF0ZWQ=
|
64
|
-
!binary "WC1SdW50aW1l":
|
65
|
-
- !binary |-
|
66
|
-
MC4xNDEwNDU=
|
67
|
-
!binary "WC1VYS1Db21wYXRpYmxl":
|
68
|
-
- !binary |-
|
69
|
-
SUU9RWRnZSxjaHJvbWU9MQ==
|
70
|
-
!binary "Q29udGVudC1MZW5ndGg=":
|
71
|
-
- !binary |-
|
72
|
-
NjQ=
|
73
|
-
!binary "Q29ubmVjdGlvbg==":
|
74
|
-
- !binary |-
|
75
|
-
a2VlcC1hbGl2ZQ==
|
76
|
-
body:
|
29
|
+
message: Created
|
30
|
+
headers:
|
31
|
+
Access-Control-Allow-Origin:
|
32
|
+
- "*"
|
33
|
+
Access-Control-Request-Method:
|
34
|
+
- "*"
|
35
|
+
Cache-Control:
|
36
|
+
- no-cache
|
37
|
+
Content-Type:
|
38
|
+
- application/json; charset=utf-8
|
39
|
+
Date:
|
40
|
+
- Mon, 22 Apr 2013 16:03:19 GMT
|
41
|
+
Location:
|
42
|
+
- https://api.parse.com/1/classes/Post/P0f07TyRDz
|
43
|
+
Server:
|
44
|
+
- nginx/1.2.2
|
45
|
+
Set-Cookie:
|
46
|
+
- <COOKIE-KEY>
|
47
|
+
Status:
|
48
|
+
- 201 Created
|
49
|
+
X-Runtime:
|
50
|
+
- "0.085110"
|
51
|
+
X-Ua-Compatible:
|
52
|
+
- IE=Edge,chrome=1
|
53
|
+
Content-Length:
|
54
|
+
- "64"
|
55
|
+
Connection:
|
56
|
+
- keep-alive
|
57
|
+
body:
|
77
58
|
encoding: ASCII-8BIT
|
78
|
-
string:
|
79
|
-
eyJjcmVhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjI5Ljg3NFoiLCJvYmpl
|
80
|
-
Y3RJZCI6Ik9vdEtkRlR3d3MifQ==
|
59
|
+
string: "{\"createdAt\":\"2013-04-22T16:03:19.679Z\",\"objectId\":\"P0f07TyRDz\"}"
|
81
60
|
http_version:
|
82
|
-
recorded_at:
|
83
|
-
recorded_with: VCR 2.0
|
61
|
+
recorded_at: Mon, 22 Apr 2013 16:03:19 GMT
|
62
|
+
recorded_with: VCR 2.4.0
|