redbooth-ruby 0.0.5 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +0 -1
- data/README.md +187 -115
- data/lib/redbooth-ruby/client.rb +6 -39
- data/lib/redbooth-ruby/client_operations/perform.rb +93 -0
- data/lib/redbooth-ruby/file.rb +8 -0
- data/lib/redbooth-ruby/helpers.rb +32 -0
- data/lib/redbooth-ruby/operations/base.rb +3 -2
- data/lib/redbooth-ruby/request/collection.rb +3 -2
- data/lib/redbooth-ruby/request/connection.rb +66 -30
- data/lib/redbooth-ruby/request/helpers.rb +2 -2
- data/lib/redbooth-ruby/request/info.rb +1 -1
- data/lib/redbooth-ruby/request/validator.rb +2 -2
- data/lib/redbooth-ruby/session.rb +34 -11
- data/lib/redbooth-ruby/task_list.rb +28 -0
- data/lib/redbooth-ruby/version.rb +2 -2
- data/lib/redbooth-ruby.rb +6 -3
- data/spec/cassettes/RedboothRuby_File/_download/downloads_a_file.yml +354 -0
- data/spec/cassettes/RedboothRuby_Organization/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_organization.yml +4 -4
- data/spec/cassettes/RedboothRuby_Project/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_project.yml +110 -110
- data/spec/cassettes/RedboothRuby_Session/_refresh_access_token_/.yml +55 -0
- data/spec/cassettes/RedboothRuby_Session/_refresh_access_token_/call_on_token_refresh_with_the_old_and_new_token.yml +55 -0
- data/spec/cassettes/RedboothRuby_Session/_refresh_access_token_/refreshes_the_access_token.yml +55 -0
- data/spec/redbooth-ruby/base_spec.rb +5 -5
- data/spec/redbooth-ruby/client_operations/metadata_spec.rb +4 -4
- data/spec/redbooth-ruby/client_operations/perform_spec.rb +135 -0
- data/spec/redbooth-ruby/client_operations/search_spec.rb +4 -4
- data/spec/redbooth-ruby/client_spec.rb +2 -43
- data/spec/redbooth-ruby/comment_spec.rb +17 -18
- data/spec/redbooth-ruby/conversation_spec.rb +16 -16
- data/spec/redbooth-ruby/file_spec.rb +29 -22
- data/spec/redbooth-ruby/me_spec.rb +2 -2
- data/spec/redbooth-ruby/membership_spec.rb +18 -18
- data/spec/redbooth-ruby/note_spec.rb +16 -16
- data/spec/redbooth-ruby/organization_spec.rb +16 -16
- data/spec/redbooth-ruby/person_spec.rb +18 -18
- data/spec/redbooth-ruby/project_spec.rb +18 -18
- data/spec/redbooth-ruby/request/base_spec.rb +5 -5
- data/spec/redbooth-ruby/request/collection_spec.rb +3 -3
- data/spec/redbooth-ruby/request/connection_spec.rb +8 -8
- data/spec/redbooth-ruby/request/info_spec.rb +13 -13
- data/spec/redbooth-ruby/request/response_spec.rb +4 -4
- data/spec/redbooth-ruby/request/validator_spec.rb +7 -7
- data/spec/redbooth-ruby/session_spec.rb +100 -0
- data/spec/redbooth-ruby/subtaks_spec.rb +16 -16
- data/spec/redbooth-ruby/task_spec.rb +22 -22
- data/spec/redbooth-ruby/user_spec.rb +4 -4
- data/spec/redbooth_spec.rb +13 -13
- data/spec/spec_helper.rb +2 -3
- data/temp/spec/files/test_download.txt +8 -0
- metadata +41 -24
@@ -42,7 +42,7 @@ http_interactions:
|
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"type":"Project","created_at":1415206100,"updated_at":1415206100,"id":22,"permalink":"new-project","organization_id":1,"archived":false,"name":"new
|
44
44
|
Project","description":null,"start_date":null,"end_date":null,"tracks_time":false,"public":null,"publish_pages":false,"settings":{},"deleted":false}'
|
45
|
-
http_version:
|
45
|
+
http_version:
|
46
46
|
recorded_at: Wed, 05 Nov 2014 16:48:21 GMT
|
47
47
|
- request:
|
48
48
|
method: delete
|
@@ -80,8 +80,8 @@ http_interactions:
|
|
80
80
|
- thin 1.6.1 codename Death Proof
|
81
81
|
body:
|
82
82
|
encoding: UTF-8
|
83
|
-
string: '{"status":"Enqueued","process_token":"/api/3/projects/22action=destroy\u0026controller=api_v3%2Fprojects\u0026id=22","retry_after":
|
84
|
-
http_version:
|
83
|
+
string: '{"status":"Enqueued","process_token":"/api/3/projects/22action=destroy\u0026controller=api_v3%2Fprojects\u0026id=22","retry_after":0}'
|
84
|
+
http_version:
|
85
85
|
recorded_at: Wed, 05 Nov 2014 16:48:21 GMT
|
86
86
|
- request:
|
87
87
|
method: delete
|
@@ -121,8 +121,8 @@ http_interactions:
|
|
121
121
|
- thin 1.6.1 codename Death Proof
|
122
122
|
body:
|
123
123
|
encoding: UTF-8
|
124
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
125
|
-
http_version:
|
124
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
125
|
+
http_version:
|
126
126
|
recorded_at: Wed, 05 Nov 2014 16:48:21 GMT
|
127
127
|
- request:
|
128
128
|
method: delete
|
@@ -162,8 +162,8 @@ http_interactions:
|
|
162
162
|
- thin 1.6.1 codename Death Proof
|
163
163
|
body:
|
164
164
|
encoding: UTF-8
|
165
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
166
|
-
http_version:
|
165
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
166
|
+
http_version:
|
167
167
|
recorded_at: Wed, 05 Nov 2014 16:48:21 GMT
|
168
168
|
- request:
|
169
169
|
method: delete
|
@@ -203,8 +203,8 @@ http_interactions:
|
|
203
203
|
- thin 1.6.1 codename Death Proof
|
204
204
|
body:
|
205
205
|
encoding: UTF-8
|
206
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
207
|
-
http_version:
|
206
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
207
|
+
http_version:
|
208
208
|
recorded_at: Wed, 05 Nov 2014 16:48:21 GMT
|
209
209
|
- request:
|
210
210
|
method: delete
|
@@ -244,8 +244,8 @@ http_interactions:
|
|
244
244
|
- thin 1.6.1 codename Death Proof
|
245
245
|
body:
|
246
246
|
encoding: UTF-8
|
247
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
248
|
-
http_version:
|
247
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
248
|
+
http_version:
|
249
249
|
recorded_at: Wed, 05 Nov 2014 16:48:21 GMT
|
250
250
|
- request:
|
251
251
|
method: delete
|
@@ -285,8 +285,8 @@ http_interactions:
|
|
285
285
|
- thin 1.6.1 codename Death Proof
|
286
286
|
body:
|
287
287
|
encoding: UTF-8
|
288
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
289
|
-
http_version:
|
288
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
289
|
+
http_version:
|
290
290
|
recorded_at: Wed, 05 Nov 2014 16:48:21 GMT
|
291
291
|
- request:
|
292
292
|
method: delete
|
@@ -326,8 +326,8 @@ http_interactions:
|
|
326
326
|
- thin 1.6.1 codename Death Proof
|
327
327
|
body:
|
328
328
|
encoding: UTF-8
|
329
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
330
|
-
http_version:
|
329
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
330
|
+
http_version:
|
331
331
|
recorded_at: Wed, 05 Nov 2014 16:48:21 GMT
|
332
332
|
- request:
|
333
333
|
method: delete
|
@@ -367,8 +367,8 @@ http_interactions:
|
|
367
367
|
- thin 1.6.1 codename Death Proof
|
368
368
|
body:
|
369
369
|
encoding: UTF-8
|
370
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
371
|
-
http_version:
|
370
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
371
|
+
http_version:
|
372
372
|
recorded_at: Wed, 05 Nov 2014 16:48:21 GMT
|
373
373
|
- request:
|
374
374
|
method: delete
|
@@ -408,8 +408,8 @@ http_interactions:
|
|
408
408
|
- thin 1.6.1 codename Death Proof
|
409
409
|
body:
|
410
410
|
encoding: UTF-8
|
411
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
412
|
-
http_version:
|
411
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
412
|
+
http_version:
|
413
413
|
recorded_at: Wed, 05 Nov 2014 16:48:21 GMT
|
414
414
|
- request:
|
415
415
|
method: delete
|
@@ -449,8 +449,8 @@ http_interactions:
|
|
449
449
|
- thin 1.6.1 codename Death Proof
|
450
450
|
body:
|
451
451
|
encoding: UTF-8
|
452
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
453
|
-
http_version:
|
452
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
453
|
+
http_version:
|
454
454
|
recorded_at: Wed, 05 Nov 2014 16:48:22 GMT
|
455
455
|
- request:
|
456
456
|
method: delete
|
@@ -490,8 +490,8 @@ http_interactions:
|
|
490
490
|
- thin 1.6.1 codename Death Proof
|
491
491
|
body:
|
492
492
|
encoding: UTF-8
|
493
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
494
|
-
http_version:
|
493
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
494
|
+
http_version:
|
495
495
|
recorded_at: Wed, 05 Nov 2014 16:48:22 GMT
|
496
496
|
- request:
|
497
497
|
method: delete
|
@@ -531,8 +531,8 @@ http_interactions:
|
|
531
531
|
- thin 1.6.1 codename Death Proof
|
532
532
|
body:
|
533
533
|
encoding: UTF-8
|
534
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
535
|
-
http_version:
|
534
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
535
|
+
http_version:
|
536
536
|
recorded_at: Wed, 05 Nov 2014 16:48:22 GMT
|
537
537
|
- request:
|
538
538
|
method: delete
|
@@ -572,8 +572,8 @@ http_interactions:
|
|
572
572
|
- thin 1.6.1 codename Death Proof
|
573
573
|
body:
|
574
574
|
encoding: UTF-8
|
575
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
576
|
-
http_version:
|
575
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
576
|
+
http_version:
|
577
577
|
recorded_at: Wed, 05 Nov 2014 16:48:22 GMT
|
578
578
|
- request:
|
579
579
|
method: delete
|
@@ -613,8 +613,8 @@ http_interactions:
|
|
613
613
|
- thin 1.6.1 codename Death Proof
|
614
614
|
body:
|
615
615
|
encoding: UTF-8
|
616
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
617
|
-
http_version:
|
616
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
617
|
+
http_version:
|
618
618
|
recorded_at: Wed, 05 Nov 2014 16:48:22 GMT
|
619
619
|
- request:
|
620
620
|
method: delete
|
@@ -654,8 +654,8 @@ http_interactions:
|
|
654
654
|
- thin 1.6.1 codename Death Proof
|
655
655
|
body:
|
656
656
|
encoding: UTF-8
|
657
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
658
|
-
http_version:
|
657
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
658
|
+
http_version:
|
659
659
|
recorded_at: Wed, 05 Nov 2014 16:48:22 GMT
|
660
660
|
- request:
|
661
661
|
method: delete
|
@@ -695,8 +695,8 @@ http_interactions:
|
|
695
695
|
- thin 1.6.1 codename Death Proof
|
696
696
|
body:
|
697
697
|
encoding: UTF-8
|
698
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
699
|
-
http_version:
|
698
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
699
|
+
http_version:
|
700
700
|
recorded_at: Wed, 05 Nov 2014 16:48:22 GMT
|
701
701
|
- request:
|
702
702
|
method: delete
|
@@ -736,8 +736,8 @@ http_interactions:
|
|
736
736
|
- thin 1.6.1 codename Death Proof
|
737
737
|
body:
|
738
738
|
encoding: UTF-8
|
739
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
740
|
-
http_version:
|
739
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
740
|
+
http_version:
|
741
741
|
recorded_at: Wed, 05 Nov 2014 16:48:22 GMT
|
742
742
|
- request:
|
743
743
|
method: delete
|
@@ -777,8 +777,8 @@ http_interactions:
|
|
777
777
|
- thin 1.6.1 codename Death Proof
|
778
778
|
body:
|
779
779
|
encoding: UTF-8
|
780
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
781
|
-
http_version:
|
780
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
781
|
+
http_version:
|
782
782
|
recorded_at: Wed, 05 Nov 2014 16:48:22 GMT
|
783
783
|
- request:
|
784
784
|
method: delete
|
@@ -818,8 +818,8 @@ http_interactions:
|
|
818
818
|
- thin 1.6.1 codename Death Proof
|
819
819
|
body:
|
820
820
|
encoding: UTF-8
|
821
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
822
|
-
http_version:
|
821
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
822
|
+
http_version:
|
823
823
|
recorded_at: Wed, 05 Nov 2014 16:48:22 GMT
|
824
824
|
- request:
|
825
825
|
method: delete
|
@@ -859,8 +859,8 @@ http_interactions:
|
|
859
859
|
- thin 1.6.1 codename Death Proof
|
860
860
|
body:
|
861
861
|
encoding: UTF-8
|
862
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
863
|
-
http_version:
|
862
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
863
|
+
http_version:
|
864
864
|
recorded_at: Wed, 05 Nov 2014 16:48:23 GMT
|
865
865
|
- request:
|
866
866
|
method: delete
|
@@ -900,8 +900,8 @@ http_interactions:
|
|
900
900
|
- thin 1.6.1 codename Death Proof
|
901
901
|
body:
|
902
902
|
encoding: UTF-8
|
903
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
904
|
-
http_version:
|
903
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
904
|
+
http_version:
|
905
905
|
recorded_at: Wed, 05 Nov 2014 16:48:23 GMT
|
906
906
|
- request:
|
907
907
|
method: delete
|
@@ -941,8 +941,8 @@ http_interactions:
|
|
941
941
|
- thin 1.6.1 codename Death Proof
|
942
942
|
body:
|
943
943
|
encoding: UTF-8
|
944
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
945
|
-
http_version:
|
944
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
945
|
+
http_version:
|
946
946
|
recorded_at: Wed, 05 Nov 2014 16:48:23 GMT
|
947
947
|
- request:
|
948
948
|
method: delete
|
@@ -982,8 +982,8 @@ http_interactions:
|
|
982
982
|
- thin 1.6.1 codename Death Proof
|
983
983
|
body:
|
984
984
|
encoding: UTF-8
|
985
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
986
|
-
http_version:
|
985
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
986
|
+
http_version:
|
987
987
|
recorded_at: Wed, 05 Nov 2014 16:48:23 GMT
|
988
988
|
- request:
|
989
989
|
method: delete
|
@@ -1023,8 +1023,8 @@ http_interactions:
|
|
1023
1023
|
- thin 1.6.1 codename Death Proof
|
1024
1024
|
body:
|
1025
1025
|
encoding: UTF-8
|
1026
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1027
|
-
http_version:
|
1026
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1027
|
+
http_version:
|
1028
1028
|
recorded_at: Wed, 05 Nov 2014 16:48:23 GMT
|
1029
1029
|
- request:
|
1030
1030
|
method: delete
|
@@ -1064,8 +1064,8 @@ http_interactions:
|
|
1064
1064
|
- thin 1.6.1 codename Death Proof
|
1065
1065
|
body:
|
1066
1066
|
encoding: UTF-8
|
1067
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1068
|
-
http_version:
|
1067
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1068
|
+
http_version:
|
1069
1069
|
recorded_at: Wed, 05 Nov 2014 16:48:23 GMT
|
1070
1070
|
- request:
|
1071
1071
|
method: delete
|
@@ -1105,8 +1105,8 @@ http_interactions:
|
|
1105
1105
|
- thin 1.6.1 codename Death Proof
|
1106
1106
|
body:
|
1107
1107
|
encoding: UTF-8
|
1108
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1109
|
-
http_version:
|
1108
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1109
|
+
http_version:
|
1110
1110
|
recorded_at: Wed, 05 Nov 2014 16:48:23 GMT
|
1111
1111
|
- request:
|
1112
1112
|
method: delete
|
@@ -1146,8 +1146,8 @@ http_interactions:
|
|
1146
1146
|
- thin 1.6.1 codename Death Proof
|
1147
1147
|
body:
|
1148
1148
|
encoding: UTF-8
|
1149
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1150
|
-
http_version:
|
1149
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1150
|
+
http_version:
|
1151
1151
|
recorded_at: Wed, 05 Nov 2014 16:48:23 GMT
|
1152
1152
|
- request:
|
1153
1153
|
method: delete
|
@@ -1187,8 +1187,8 @@ http_interactions:
|
|
1187
1187
|
- thin 1.6.1 codename Death Proof
|
1188
1188
|
body:
|
1189
1189
|
encoding: UTF-8
|
1190
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1191
|
-
http_version:
|
1190
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1191
|
+
http_version:
|
1192
1192
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1193
1193
|
- request:
|
1194
1194
|
method: delete
|
@@ -1228,8 +1228,8 @@ http_interactions:
|
|
1228
1228
|
- thin 1.6.1 codename Death Proof
|
1229
1229
|
body:
|
1230
1230
|
encoding: UTF-8
|
1231
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1232
|
-
http_version:
|
1231
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1232
|
+
http_version:
|
1233
1233
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1234
1234
|
- request:
|
1235
1235
|
method: delete
|
@@ -1269,8 +1269,8 @@ http_interactions:
|
|
1269
1269
|
- thin 1.6.1 codename Death Proof
|
1270
1270
|
body:
|
1271
1271
|
encoding: UTF-8
|
1272
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1273
|
-
http_version:
|
1272
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1273
|
+
http_version:
|
1274
1274
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1275
1275
|
- request:
|
1276
1276
|
method: delete
|
@@ -1310,8 +1310,8 @@ http_interactions:
|
|
1310
1310
|
- thin 1.6.1 codename Death Proof
|
1311
1311
|
body:
|
1312
1312
|
encoding: UTF-8
|
1313
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1314
|
-
http_version:
|
1313
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1314
|
+
http_version:
|
1315
1315
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1316
1316
|
- request:
|
1317
1317
|
method: delete
|
@@ -1351,8 +1351,8 @@ http_interactions:
|
|
1351
1351
|
- thin 1.6.1 codename Death Proof
|
1352
1352
|
body:
|
1353
1353
|
encoding: UTF-8
|
1354
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1355
|
-
http_version:
|
1354
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1355
|
+
http_version:
|
1356
1356
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1357
1357
|
- request:
|
1358
1358
|
method: delete
|
@@ -1392,8 +1392,8 @@ http_interactions:
|
|
1392
1392
|
- thin 1.6.1 codename Death Proof
|
1393
1393
|
body:
|
1394
1394
|
encoding: UTF-8
|
1395
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1396
|
-
http_version:
|
1395
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1396
|
+
http_version:
|
1397
1397
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1398
1398
|
- request:
|
1399
1399
|
method: delete
|
@@ -1433,8 +1433,8 @@ http_interactions:
|
|
1433
1433
|
- thin 1.6.1 codename Death Proof
|
1434
1434
|
body:
|
1435
1435
|
encoding: UTF-8
|
1436
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1437
|
-
http_version:
|
1436
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1437
|
+
http_version:
|
1438
1438
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1439
1439
|
- request:
|
1440
1440
|
method: delete
|
@@ -1474,8 +1474,8 @@ http_interactions:
|
|
1474
1474
|
- thin 1.6.1 codename Death Proof
|
1475
1475
|
body:
|
1476
1476
|
encoding: UTF-8
|
1477
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1478
|
-
http_version:
|
1477
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1478
|
+
http_version:
|
1479
1479
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1480
1480
|
- request:
|
1481
1481
|
method: delete
|
@@ -1515,8 +1515,8 @@ http_interactions:
|
|
1515
1515
|
- thin 1.6.1 codename Death Proof
|
1516
1516
|
body:
|
1517
1517
|
encoding: UTF-8
|
1518
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1519
|
-
http_version:
|
1518
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1519
|
+
http_version:
|
1520
1520
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1521
1521
|
- request:
|
1522
1522
|
method: delete
|
@@ -1556,8 +1556,8 @@ http_interactions:
|
|
1556
1556
|
- thin 1.6.1 codename Death Proof
|
1557
1557
|
body:
|
1558
1558
|
encoding: UTF-8
|
1559
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1560
|
-
http_version:
|
1559
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1560
|
+
http_version:
|
1561
1561
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1562
1562
|
- request:
|
1563
1563
|
method: delete
|
@@ -1597,8 +1597,8 @@ http_interactions:
|
|
1597
1597
|
- thin 1.6.1 codename Death Proof
|
1598
1598
|
body:
|
1599
1599
|
encoding: UTF-8
|
1600
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1601
|
-
http_version:
|
1600
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1601
|
+
http_version:
|
1602
1602
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1603
1603
|
- request:
|
1604
1604
|
method: delete
|
@@ -1638,8 +1638,8 @@ http_interactions:
|
|
1638
1638
|
- thin 1.6.1 codename Death Proof
|
1639
1639
|
body:
|
1640
1640
|
encoding: UTF-8
|
1641
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1642
|
-
http_version:
|
1641
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1642
|
+
http_version:
|
1643
1643
|
recorded_at: Wed, 05 Nov 2014 16:48:24 GMT
|
1644
1644
|
- request:
|
1645
1645
|
method: delete
|
@@ -1679,8 +1679,8 @@ http_interactions:
|
|
1679
1679
|
- thin 1.6.1 codename Death Proof
|
1680
1680
|
body:
|
1681
1681
|
encoding: UTF-8
|
1682
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1683
|
-
http_version:
|
1682
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1683
|
+
http_version:
|
1684
1684
|
recorded_at: Wed, 05 Nov 2014 16:48:25 GMT
|
1685
1685
|
- request:
|
1686
1686
|
method: delete
|
@@ -1720,8 +1720,8 @@ http_interactions:
|
|
1720
1720
|
- thin 1.6.1 codename Death Proof
|
1721
1721
|
body:
|
1722
1722
|
encoding: UTF-8
|
1723
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1724
|
-
http_version:
|
1723
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1724
|
+
http_version:
|
1725
1725
|
recorded_at: Wed, 05 Nov 2014 16:48:25 GMT
|
1726
1726
|
- request:
|
1727
1727
|
method: delete
|
@@ -1761,8 +1761,8 @@ http_interactions:
|
|
1761
1761
|
- thin 1.6.1 codename Death Proof
|
1762
1762
|
body:
|
1763
1763
|
encoding: UTF-8
|
1764
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1765
|
-
http_version:
|
1764
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1765
|
+
http_version:
|
1766
1766
|
recorded_at: Wed, 05 Nov 2014 16:48:25 GMT
|
1767
1767
|
- request:
|
1768
1768
|
method: delete
|
@@ -1802,8 +1802,8 @@ http_interactions:
|
|
1802
1802
|
- thin 1.6.1 codename Death Proof
|
1803
1803
|
body:
|
1804
1804
|
encoding: UTF-8
|
1805
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1806
|
-
http_version:
|
1805
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1806
|
+
http_version:
|
1807
1807
|
recorded_at: Wed, 05 Nov 2014 16:48:25 GMT
|
1808
1808
|
- request:
|
1809
1809
|
method: delete
|
@@ -1843,8 +1843,8 @@ http_interactions:
|
|
1843
1843
|
- thin 1.6.1 codename Death Proof
|
1844
1844
|
body:
|
1845
1845
|
encoding: UTF-8
|
1846
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1847
|
-
http_version:
|
1846
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1847
|
+
http_version:
|
1848
1848
|
recorded_at: Wed, 05 Nov 2014 16:48:25 GMT
|
1849
1849
|
- request:
|
1850
1850
|
method: delete
|
@@ -1884,8 +1884,8 @@ http_interactions:
|
|
1884
1884
|
- thin 1.6.1 codename Death Proof
|
1885
1885
|
body:
|
1886
1886
|
encoding: UTF-8
|
1887
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1888
|
-
http_version:
|
1887
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1888
|
+
http_version:
|
1889
1889
|
recorded_at: Wed, 05 Nov 2014 16:48:25 GMT
|
1890
1890
|
- request:
|
1891
1891
|
method: delete
|
@@ -1925,8 +1925,8 @@ http_interactions:
|
|
1925
1925
|
- thin 1.6.1 codename Death Proof
|
1926
1926
|
body:
|
1927
1927
|
encoding: UTF-8
|
1928
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1929
|
-
http_version:
|
1928
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1929
|
+
http_version:
|
1930
1930
|
recorded_at: Wed, 05 Nov 2014 16:48:25 GMT
|
1931
1931
|
- request:
|
1932
1932
|
method: delete
|
@@ -1966,8 +1966,8 @@ http_interactions:
|
|
1966
1966
|
- thin 1.6.1 codename Death Proof
|
1967
1967
|
body:
|
1968
1968
|
encoding: UTF-8
|
1969
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
1970
|
-
http_version:
|
1969
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
1970
|
+
http_version:
|
1971
1971
|
recorded_at: Wed, 05 Nov 2014 16:48:25 GMT
|
1972
1972
|
- request:
|
1973
1973
|
method: delete
|
@@ -2007,8 +2007,8 @@ http_interactions:
|
|
2007
2007
|
- thin 1.6.1 codename Death Proof
|
2008
2008
|
body:
|
2009
2009
|
encoding: UTF-8
|
2010
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
2011
|
-
http_version:
|
2010
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
2011
|
+
http_version:
|
2012
2012
|
recorded_at: Wed, 05 Nov 2014 16:48:25 GMT
|
2013
2013
|
- request:
|
2014
2014
|
method: delete
|
@@ -2048,8 +2048,8 @@ http_interactions:
|
|
2048
2048
|
- thin 1.6.1 codename Death Proof
|
2049
2049
|
body:
|
2050
2050
|
encoding: UTF-8
|
2051
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
2052
|
-
http_version:
|
2051
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
2052
|
+
http_version:
|
2053
2053
|
recorded_at: Wed, 05 Nov 2014 16:48:25 GMT
|
2054
2054
|
- request:
|
2055
2055
|
method: delete
|
@@ -2089,8 +2089,8 @@ http_interactions:
|
|
2089
2089
|
- thin 1.6.1 codename Death Proof
|
2090
2090
|
body:
|
2091
2091
|
encoding: UTF-8
|
2092
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
2093
|
-
http_version:
|
2092
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
2093
|
+
http_version:
|
2094
2094
|
recorded_at: Wed, 05 Nov 2014 16:48:25 GMT
|
2095
2095
|
- request:
|
2096
2096
|
method: delete
|
@@ -2130,8 +2130,8 @@ http_interactions:
|
|
2130
2130
|
- thin 1.6.1 codename Death Proof
|
2131
2131
|
body:
|
2132
2132
|
encoding: UTF-8
|
2133
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
2134
|
-
http_version:
|
2133
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
2134
|
+
http_version:
|
2135
2135
|
recorded_at: Wed, 05 Nov 2014 16:48:26 GMT
|
2136
2136
|
- request:
|
2137
2137
|
method: delete
|
@@ -2171,8 +2171,8 @@ http_interactions:
|
|
2171
2171
|
- thin 1.6.1 codename Death Proof
|
2172
2172
|
body:
|
2173
2173
|
encoding: UTF-8
|
2174
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
2175
|
-
http_version:
|
2174
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
2175
|
+
http_version:
|
2176
2176
|
recorded_at: Wed, 05 Nov 2014 16:48:26 GMT
|
2177
2177
|
- request:
|
2178
2178
|
method: delete
|
@@ -2212,8 +2212,8 @@ http_interactions:
|
|
2212
2212
|
- thin 1.6.1 codename Death Proof
|
2213
2213
|
body:
|
2214
2214
|
encoding: UTF-8
|
2215
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
2216
|
-
http_version:
|
2215
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
2216
|
+
http_version:
|
2217
2217
|
recorded_at: Wed, 05 Nov 2014 16:48:26 GMT
|
2218
2218
|
- request:
|
2219
2219
|
method: delete
|
@@ -2253,8 +2253,8 @@ http_interactions:
|
|
2253
2253
|
- thin 1.6.1 codename Death Proof
|
2254
2254
|
body:
|
2255
2255
|
encoding: UTF-8
|
2256
|
-
string: '{"status":"Enqueued","process_token":null,"retry_after":
|
2257
|
-
http_version:
|
2256
|
+
string: '{"status":"Enqueued","process_token":null,"retry_after":0}'
|
2257
|
+
http_version:
|
2258
2258
|
recorded_at: Wed, 05 Nov 2014 16:48:26 GMT
|
2259
2259
|
- request:
|
2260
2260
|
method: delete
|
@@ -2291,6 +2291,6 @@ http_interactions:
|
|
2291
2291
|
body:
|
2292
2292
|
encoding: UTF-8
|
2293
2293
|
string: ''
|
2294
|
-
http_version:
|
2294
|
+
http_version:
|
2295
2295
|
recorded_at: Wed, 05 Nov 2014 16:48:26 GMT
|
2296
2296
|
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,55 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://redbooth.com/oauth2/token
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: client_id=_your_consumer_key_&client_secret=_your_consumer_secret_&grant_type=refresh_token&refresh_token=_your_user_refresh_token_
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.1
|
12
|
+
Content-Type:
|
13
|
+
- application/x-www-form-urlencoded
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-store
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Date:
|
28
|
+
- Tue, 17 Feb 2015 19:04:21 GMT
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
Server:
|
32
|
+
- nginx
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
Vary:
|
36
|
+
- Accept-Encoding
|
37
|
+
- Accept-Encoding
|
38
|
+
X-Rack-Cache:
|
39
|
+
- invalidate, pass
|
40
|
+
X-Request-Id:
|
41
|
+
- ae886c7b4f2c7fed8d6777b92282938d
|
42
|
+
X-Runtime:
|
43
|
+
- '0.098434'
|
44
|
+
X-Ua-Compatible:
|
45
|
+
- IE=Edge,chrome=1
|
46
|
+
Content-Length:
|
47
|
+
- '185'
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: ASCII-8BIT
|
52
|
+
string: '{"access_token":"_your_new_user_token_","token_type":"bearer","expires_in":7200,"refresh_token":"_your_new_user_refresh_token_","scope":"all"}'
|
53
|
+
http_version:
|
54
|
+
recorded_at: Tue, 17 Feb 2015 19:04:22 GMT
|
55
|
+
recorded_with: VCR 2.9.3
|