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
@@ -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/TestSave
|
6
|
-
body:
|
6
|
+
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
8
|
+
string: "{\"foo\":\"bar\"}"
|
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
|
-
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:
|
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:15 GMT
|
41
|
+
Location:
|
42
|
+
- https://api.parse.com/1/classes/TestSave/WTy89mqKGD
|
43
|
+
Server:
|
44
|
+
- nginx/1.2.2
|
45
|
+
Set-Cookie:
|
46
|
+
- <COOKIE-KEY>
|
47
|
+
Status:
|
48
|
+
- 201 Created
|
49
|
+
X-Runtime:
|
50
|
+
- "0.216729"
|
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
|
-
eyJjcmVhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjE5LjUxOVoiLCJvYmpl
|
80
|
-
Y3RJZCI6IkQ4WlgyUWRXS1YifQ==
|
59
|
+
string: "{\"createdAt\":\"2013-04-22T16:03:15.082Z\",\"objectId\":\"WTy89mqKGD\"}"
|
81
60
|
http_version:
|
82
|
-
recorded_at:
|
83
|
-
recorded_with: VCR 2.0
|
61
|
+
recorded_at: Mon, 22 Apr 2013 16:03:15 GMT
|
62
|
+
recorded_with: VCR 2.4.0
|
@@ -1,170 +1,62 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api.parse.com/1/files/hello_test.txt
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: Testing Hello World!
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- text/plain
|
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
|
-
VGh1LCAyNCBKYW4gMjAxMyAyMzozOTo1OSBHTVQ=
|
47
|
-
!binary "TG9jYXRpb24=":
|
48
|
-
- !binary |-
|
49
|
-
aHR0cDovL2ZpbGVzLnBhcnNlLmNvbS8zNzJmY2JiOS03ZWFlLTRiOWEtYWJj
|
50
|
-
OC02ZGE5N2ZjYWM1MGQvYWE4NzY4YTQtMTBlMS00YzAyLTkyMGQtODRmNmFk
|
51
|
-
OTAwMzBhLWhlbGxvX3Rlc3QudHh0
|
52
|
-
!binary "U2VydmVy":
|
53
|
-
- !binary |-
|
54
|
-
bmdpbngvMS4yLjI=
|
55
|
-
!binary "U2V0LUNvb2tpZQ==":
|
56
|
-
- !binary |-
|
57
|
-
X3BhcnNlX3Nlc3Npb249QkFoN0Jra2lEM05sYzNOcGIyNWZhV1FHT2daRlJp
|
58
|
-
SWxaVEJtWXpRek16azVZalZqTnpSaU9HSm1NMlUxTkRaaU5tWXdOVFkzTTJN
|
59
|
-
JTNELS01MmFjZTdkNDY3YjM1YTM5YjU0MGNjNDQ3MjFhMTI1ODlhYWE4YzBm
|
60
|
-
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVR1ZSwgMjQt
|
61
|
-
SmFuLTIwMjMgMjM6Mzk6NTkgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
62
|
-
!binary "U3RhdHVz":
|
63
|
-
- !binary |-
|
64
|
-
MjAxIENyZWF0ZWQ=
|
65
|
-
!binary "WC1SdW50aW1l":
|
66
|
-
- !binary |-
|
67
|
-
MC4yMDUxMzE=
|
68
|
-
!binary "WC1VYS1Db21wYXRpYmxl":
|
69
|
-
- !binary |-
|
70
|
-
SUU9RWRnZSxjaHJvbWU9MQ==
|
71
|
-
!binary "Q29udGVudC1MZW5ndGg=":
|
72
|
-
- !binary |-
|
73
|
-
MTgy
|
74
|
-
!binary "Q29ubmVjdGlvbg==":
|
75
|
-
- !binary |-
|
76
|
-
a2VlcC1hbGl2ZQ==
|
77
|
-
body:
|
78
|
-
encoding: ASCII-8BIT
|
79
|
-
string: !binary |-
|
80
|
-
eyJ1cmwiOiJodHRwOi8vZmlsZXMucGFyc2UuY29tLzM3MmZjYmI5LTdlYWUt
|
81
|
-
NGI5YS1hYmM4LTZkYTk3ZmNhYzUwZC9hYTg3NjhhNC0xMGUxLTRjMDItOTIw
|
82
|
-
ZC04NGY2YWQ5MDAzMGEtaGVsbG9fdGVzdC50eHQiLCJuYW1lIjoiYWE4NzY4
|
83
|
-
YTQtMTBlMS00YzAyLTkyMGQtODRmNmFkOTAwMzBhLWhlbGxvX3Rlc3QudHh0
|
84
|
-
In0=
|
85
|
-
http_version:
|
86
|
-
recorded_at: Thu, 24 Jan 2013 23:39:59 GMT
|
87
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
88
4
|
method: post
|
89
5
|
uri: https://api.parse.com/1/files/hello.txt
|
90
|
-
body:
|
6
|
+
body:
|
91
7
|
encoding: US-ASCII
|
92
8
|
string: Hello World!
|
93
|
-
headers:
|
94
|
-
Content-Type:
|
95
|
-
-
|
96
|
-
Accept:
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- text/plain
|
12
|
+
Accept:
|
97
13
|
- application/json
|
98
|
-
User-Agent:
|
14
|
+
User-Agent:
|
99
15
|
- Parse for Ruby, 0.0
|
100
|
-
X-Parse-Master-Key:
|
101
|
-
-
|
102
|
-
X-Parse-Rest-Api-Key:
|
103
|
-
-
|
104
|
-
X-Parse-Application-Id:
|
105
|
-
-
|
106
|
-
X-Parse-Session-Token:
|
107
|
-
-
|
108
|
-
Expect:
|
109
|
-
-
|
110
|
-
response:
|
111
|
-
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:
|
112
28
|
code: 201
|
113
|
-
message:
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
-
|
118
|
-
|
119
|
-
|
120
|
-
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
-
|
127
|
-
|
128
|
-
|
129
|
-
-
|
130
|
-
|
131
|
-
|
132
|
-
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
-
|
138
|
-
|
139
|
-
|
140
|
-
-
|
141
|
-
|
142
|
-
SWxabU5pT1RjeE56VTVaR1l3T0RGbE5EazJaREkwTm1ZMVl6VmpaakF5WkRr
|
143
|
-
JTNELS0zMmY3NThhZmVjMDM4OGE4ZDI1ZGJkMmMwZmFmMzIwODk0MmU1ZWQ4
|
144
|
-
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVR1ZSwgMjQt
|
145
|
-
SmFuLTIwMjMgMjM6NTA6MTIgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
146
|
-
!binary "U3RhdHVz":
|
147
|
-
- !binary |-
|
148
|
-
MjAxIENyZWF0ZWQ=
|
149
|
-
!binary "WC1SdW50aW1l":
|
150
|
-
- !binary |-
|
151
|
-
MC4xMTg5ODE=
|
152
|
-
!binary "WC1VYS1Db21wYXRpYmxl":
|
153
|
-
- !binary |-
|
154
|
-
SUU9RWRnZSxjaHJvbWU9MQ==
|
155
|
-
!binary "Q29udGVudC1MZW5ndGg=":
|
156
|
-
- !binary |-
|
157
|
-
MTcy
|
158
|
-
!binary "Q29ubmVjdGlvbg==":
|
159
|
-
- !binary |-
|
160
|
-
a2VlcC1hbGl2ZQ==
|
161
|
-
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
|
+
- http://files.parse.com/5c5d4752-8b5b-4a2b-9e5e-781c530f797b/807c829a-110e-4b33-86bb-43c9d7f57333-hello.txt
|
43
|
+
Server:
|
44
|
+
- nginx/1.2.2
|
45
|
+
Set-Cookie:
|
46
|
+
- <COOKIE-KEY>
|
47
|
+
Status:
|
48
|
+
- 201 Created
|
49
|
+
X-Runtime:
|
50
|
+
- "0.074838"
|
51
|
+
X-Ua-Compatible:
|
52
|
+
- IE=Edge,chrome=1
|
53
|
+
Content-Length:
|
54
|
+
- "172"
|
55
|
+
Connection:
|
56
|
+
- keep-alive
|
57
|
+
body:
|
162
58
|
encoding: ASCII-8BIT
|
163
|
-
string:
|
164
|
-
eyJ1cmwiOiJodHRwOi8vZmlsZXMucGFyc2UuY29tLzM3MmZjYmI5LTdlYWUt
|
165
|
-
NGI5YS1hYmM4LTZkYTk3ZmNhYzUwZC9jMmMxMjVhNC0wNTk2LTRmYTAtOWNh
|
166
|
-
YS1kZDNhMDIwNDc2ZWEtaGVsbG8udHh0IiwibmFtZSI6ImMyYzEyNWE0LTA1
|
167
|
-
OTYtNGZhMC05Y2FhLWRkM2EwMjA0NzZlYS1oZWxsby50eHQifQ==
|
59
|
+
string: "{\"url\":\"http://files.parse.com/5c5d4752-8b5b-4a2b-9e5e-781c530f797b/807c829a-110e-4b33-86bb-43c9d7f57333-hello.txt\",\"name\":\"807c829a-110e-4b33-86bb-43c9d7f57333-hello.txt\"}"
|
168
60
|
http_version:
|
169
|
-
recorded_at:
|
170
|
-
recorded_with: VCR 2.0
|
61
|
+
recorded_at: Mon, 22 Apr 2013 16:03:16 GMT
|
62
|
+
recorded_with: VCR 2.4.0
|
@@ -1,161 +1,121 @@
|
|
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/TestSave
|
6
|
-
body:
|
6
|
+
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
8
|
+
string: "{\"age\":20}"
|
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
|
-
JTNELS00ZGEyZDM2YTZhNGYzYjM4ODFkNmQ4NTI1ZTJiMDNjMjdmNGQ3NDg2
|
59
|
-
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
60
|
-
T2N0LTIwMjIgMjE6NDU6MjAgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
61
|
-
!binary "U3RhdHVz":
|
62
|
-
- !binary |-
|
63
|
-
MjAxIENyZWF0ZWQ=
|
64
|
-
!binary "WC1SdW50aW1l":
|
65
|
-
- !binary |-
|
66
|
-
MC4xMTM2NjE=
|
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:15 GMT
|
41
|
+
Location:
|
42
|
+
- https://api.parse.com/1/classes/TestSave/ZktEu4WIv0
|
43
|
+
Server:
|
44
|
+
- nginx/1.2.2
|
45
|
+
Set-Cookie:
|
46
|
+
- <COOKIE-KEY>
|
47
|
+
Status:
|
48
|
+
- 201 Created
|
49
|
+
X-Runtime:
|
50
|
+
- "0.037566"
|
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
|
-
eyJjcmVhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjIwLjcyNloiLCJvYmpl
|
80
|
-
Y3RJZCI6Iks5ZEEzQWcxSWgifQ==
|
59
|
+
string: "{\"createdAt\":\"2013-04-22T16:03:15.393Z\",\"objectId\":\"ZktEu4WIv0\"}"
|
81
60
|
http_version:
|
82
|
-
recorded_at:
|
83
|
-
- request:
|
61
|
+
recorded_at: Mon, 22 Apr 2013 16:03:15 GMT
|
62
|
+
- request:
|
84
63
|
method: put
|
85
|
-
uri: https://api.parse.com/1/classes/TestSave/
|
86
|
-
body:
|
64
|
+
uri: https://api.parse.com/1/classes/TestSave/ZktEu4WIv0
|
65
|
+
body:
|
87
66
|
encoding: UTF-8
|
88
|
-
string:
|
89
|
-
headers:
|
90
|
-
Content-Type:
|
67
|
+
string: "{\"age\":40}"
|
68
|
+
headers:
|
69
|
+
Content-Type:
|
91
70
|
- application/json
|
92
|
-
Accept:
|
71
|
+
Accept:
|
93
72
|
- application/json
|
94
|
-
User-Agent:
|
73
|
+
User-Agent:
|
95
74
|
- Parse for Ruby, 0.0
|
96
|
-
X-Parse-Master-Key:
|
97
|
-
-
|
98
|
-
X-Parse-Rest-Api-Key:
|
99
|
-
-
|
100
|
-
X-Parse-Application-Id:
|
101
|
-
-
|
102
|
-
X-Parse-Session-Token:
|
103
|
-
-
|
104
|
-
Expect:
|
105
|
-
-
|
106
|
-
response:
|
107
|
-
status:
|
75
|
+
X-Parse-Master-Key:
|
76
|
+
- ""
|
77
|
+
X-Parse-Rest-Api-Key:
|
78
|
+
- <X-Parse-REST-API-Key>
|
79
|
+
X-Parse-Application-Id:
|
80
|
+
- <X-Parse-Application-Id>
|
81
|
+
X-Parse-Session-Token:
|
82
|
+
- ""
|
83
|
+
Expect:
|
84
|
+
- ""
|
85
|
+
response:
|
86
|
+
status:
|
108
87
|
code: 200
|
109
|
-
message:
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
-
|
114
|
-
|
115
|
-
|
116
|
-
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
-
|
123
|
-
|
124
|
-
|
125
|
-
-
|
126
|
-
|
127
|
-
|
128
|
-
-
|
129
|
-
|
130
|
-
|
131
|
-
-
|
132
|
-
|
133
|
-
|
134
|
-
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
OyBkb21haW49LnBhcnNlLmNvbTsgcGF0aD0vOyBleHBpcmVzPVN1biwgMDkt
|
139
|
-
T2N0LTIwMjIgMjE6NDU6MjQgR01UOyBzZWN1cmU7IEh0dHBPbmx5
|
140
|
-
!binary "U3RhdHVz":
|
141
|
-
- !binary |-
|
142
|
-
MjAwIE9L
|
143
|
-
!binary "WC1SdW50aW1l":
|
144
|
-
- !binary |-
|
145
|
-
MC4xNTE0ODc=
|
146
|
-
!binary "WC1VYS1Db21wYXRpYmxl":
|
147
|
-
- !binary |-
|
148
|
-
SUU9RWRnZSxjaHJvbWU9MQ==
|
149
|
-
!binary "Q29udGVudC1MZW5ndGg=":
|
150
|
-
- !binary |-
|
151
|
-
NDA=
|
152
|
-
!binary "Q29ubmVjdGlvbg==":
|
153
|
-
- !binary |-
|
154
|
-
a2VlcC1hbGl2ZQ==
|
155
|
-
body:
|
88
|
+
message: OK
|
89
|
+
headers:
|
90
|
+
Access-Control-Allow-Origin:
|
91
|
+
- "*"
|
92
|
+
Access-Control-Request-Method:
|
93
|
+
- "*"
|
94
|
+
Cache-Control:
|
95
|
+
- max-age=0, private, must-revalidate
|
96
|
+
Content-Type:
|
97
|
+
- application/json; charset=utf-8
|
98
|
+
Date:
|
99
|
+
- Mon, 22 Apr 2013 16:03:15 GMT
|
100
|
+
Etag:
|
101
|
+
- "\"4c37cdfe0177a31ced681163a966bf82\""
|
102
|
+
Server:
|
103
|
+
- nginx/1.2.2
|
104
|
+
Set-Cookie:
|
105
|
+
- <COOKIE-KEY>
|
106
|
+
Status:
|
107
|
+
- 200 OK
|
108
|
+
X-Runtime:
|
109
|
+
- "0.050943"
|
110
|
+
X-Ua-Compatible:
|
111
|
+
- IE=Edge,chrome=1
|
112
|
+
Content-Length:
|
113
|
+
- "40"
|
114
|
+
Connection:
|
115
|
+
- keep-alive
|
116
|
+
body:
|
156
117
|
encoding: ASCII-8BIT
|
157
|
-
string:
|
158
|
-
eyJ1cGRhdGVkQXQiOiIyMDEyLTEwLTA5VDIxOjQ1OjI0Ljc2MFoifQ==
|
118
|
+
string: "{\"updatedAt\":\"2013-04-22T16:03:15.462Z\"}"
|
159
119
|
http_version:
|
160
|
-
recorded_at:
|
161
|
-
recorded_with: VCR 2.0
|
120
|
+
recorded_at: Mon, 22 Apr 2013 16:03:15 GMT
|
121
|
+
recorded_with: VCR 2.4.0
|