redbooth-ruby 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +237 -20
  3. data/lib/redbooth-ruby.rb +10 -0
  4. data/lib/redbooth-ruby/base.rb +1 -1
  5. data/lib/redbooth-ruby/client.rb +9 -2
  6. data/lib/redbooth-ruby/client_operations/metadata.rb +32 -0
  7. data/lib/redbooth-ruby/client_operations/search.rb +32 -0
  8. data/lib/redbooth-ruby/comment.rb +34 -0
  9. data/lib/redbooth-ruby/file.rb +68 -0
  10. data/lib/redbooth-ruby/note.rb +25 -0
  11. data/lib/redbooth-ruby/operations/create.rb +1 -1
  12. data/lib/redbooth-ruby/operations/index.rb +0 -12
  13. data/lib/redbooth-ruby/operations/meta.rb +33 -2
  14. data/lib/redbooth-ruby/operations/show.rb +1 -1
  15. data/lib/redbooth-ruby/request/collection.rb +37 -5
  16. data/lib/redbooth-ruby/request/connection.rb +14 -8
  17. data/lib/redbooth-ruby/request/validator.rb +32 -4
  18. data/lib/redbooth-ruby/subtask.rb +18 -0
  19. data/lib/redbooth-ruby/task.rb +1 -1
  20. data/lib/redbooth-ruby/version.rb +1 -1
  21. data/redbooth-ruby.gemspec +1 -0
  22. data/spec/cassettes/RedboothRuby_ClientOperations_Metadata/_metadata/.yml +55 -0
  23. data/spec/cassettes/RedboothRuby_ClientOperations_Metadata/_metadata/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_notes_collection.yml +55 -0
  24. data/spec/cassettes/RedboothRuby_ClientOperations_Search/_index/.yml +271 -0
  25. data/spec/cassettes/RedboothRuby_ClientOperations_Search/_index/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_notes_collection.yml +271 -0
  26. data/spec/cassettes/RedboothRuby_Comment/_create/.yml +47 -0
  27. data/spec/cassettes/RedboothRuby_Comment/_create/makes_a_new_POST_request_using_the_correct_API_endpoint_to_create_a_specific_comment.yml +47 -0
  28. data/spec/cassettes/RedboothRuby_Comment/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_comment.yml +84 -0
  29. data/spec/cassettes/RedboothRuby_Comment/_index/.yml +94 -0
  30. data/spec/cassettes/RedboothRuby_Comment/_index/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_comments_collection.yml +94 -0
  31. data/spec/cassettes/RedboothRuby_Comment/_initialize/.yml +65 -0
  32. data/spec/cassettes/RedboothRuby_Comment/_show/.yml +65 -0
  33. data/spec/cassettes/RedboothRuby_Comment/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_comment.yml +65 -0
  34. data/spec/cassettes/RedboothRuby_Comment/_update/.yml +47 -0
  35. data/spec/cassettes/RedboothRuby_Comment/_update/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_comment.yml +47 -0
  36. data/spec/cassettes/RedboothRuby_File/_create/.yml +65 -0
  37. data/spec/cassettes/RedboothRuby_File/_create/makes_a_new_POST_request_using_the_correct_API_endpoint_to_create_a_specific_file.yml +65 -0
  38. data/spec/cassettes/RedboothRuby_File/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_comment.yml +102 -0
  39. data/spec/cassettes/RedboothRuby_File/_index/.yml +58 -0
  40. data/spec/cassettes/RedboothRuby_File/_index/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_comments_collection.yml +58 -0
  41. data/spec/cassettes/RedboothRuby_File/_initialize/.yml +44 -0
  42. data/spec/cassettes/RedboothRuby_File/_show/.yml +44 -0
  43. data/spec/cassettes/RedboothRuby_File/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_file.yml +44 -0
  44. data/spec/cassettes/RedboothRuby_File/_update/.yml +46 -0
  45. data/spec/cassettes/RedboothRuby_File/_update/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_file.yml +46 -0
  46. data/spec/cassettes/RedboothRuby_Note/_create/.yml +47 -0
  47. data/spec/cassettes/RedboothRuby_Note/_create/makes_a_new_POST_request_using_the_correct_API_endpoint_to_create_a_specific_note.yml +47 -0
  48. data/spec/cassettes/RedboothRuby_Note/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_note.yml +84 -0
  49. data/spec/cassettes/RedboothRuby_Note/_index/.yml +193 -0
  50. data/spec/cassettes/RedboothRuby_Note/_index/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_notes_collection.yml +193 -0
  51. data/spec/cassettes/RedboothRuby_Note/_initialize/.yml +109 -0
  52. data/spec/cassettes/RedboothRuby_Note/_show/.yml +109 -0
  53. data/spec/cassettes/RedboothRuby_Note/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_note.yml +109 -0
  54. data/spec/cassettes/RedboothRuby_Note/_update/.yml +73 -0
  55. data/spec/cassettes/RedboothRuby_Note/_update/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_note.yml +73 -0
  56. data/spec/cassettes/RedboothRuby_Subtask/_create/.yml +47 -0
  57. data/spec/cassettes/RedboothRuby_Subtask/_create/makes_a_new_POST_request_using_the_correct_API_endpoint_to_create_a_specific_subtask.yml +47 -0
  58. data/spec/cassettes/RedboothRuby_Subtask/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_subtask.yml +84 -0
  59. data/spec/cassettes/RedboothRuby_Subtask/_index/.yml +99 -0
  60. data/spec/cassettes/RedboothRuby_Subtask/_index/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_subtasks_collection.yml +99 -0
  61. data/spec/cassettes/RedboothRuby_Subtask/_initialize/.yml +45 -0
  62. data/spec/cassettes/RedboothRuby_Subtask/_show/.yml +45 -0
  63. data/spec/cassettes/RedboothRuby_Subtask/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_subtask.yml +45 -0
  64. data/spec/cassettes/RedboothRuby_Subtask/_update/.yml +47 -0
  65. data/spec/cassettes/RedboothRuby_Subtask/_update/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_subtask.yml +47 -0
  66. data/spec/cassettes/RedboothRuby_Task/_medatada/.yml +88 -0
  67. data/spec/cassettes/RedboothRuby_Task/_medatada/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_task.yml +88 -0
  68. data/spec/cassettes/RedboothRuby_Task/_medatada_/.yml +90 -0
  69. data/spec/cassettes/RedboothRuby_Task/_medatada_/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_task.yml +90 -0
  70. data/spec/cassettes/RedboothRuby_Task/_metadata_merge/.yml +133 -0
  71. data/spec/cassettes/RedboothRuby_Task/_metadata_merge/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_task.yml +133 -0
  72. data/spec/redbooth-ruby/client_operations/metadata_spec.rb +24 -0
  73. data/spec/redbooth-ruby/client_operations/search_spec.rb +24 -0
  74. data/spec/redbooth-ruby/comment_spec.rb +87 -0
  75. data/spec/redbooth-ruby/file_spec.rb +89 -0
  76. data/spec/redbooth-ruby/note_spec.rb +84 -0
  77. data/spec/redbooth-ruby/subtaks_spec.rb +83 -0
  78. data/spec/redbooth-ruby/task_spec.rb +41 -0
  79. data/spec/spec_helper.rb +2 -0
  80. metadata +134 -2
@@ -0,0 +1,84 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://localhost:3000/api/3/subtasks
6
+ body:
7
+ encoding: UTF-8
8
+ string: name=new+created+subtask&resolved=false&task_id=2
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Authorization:
13
+ - Bearer _frank_access_token_
14
+ Content-Type:
15
+ - application/x-www-form-urlencoded
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - '*/*'
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ X-Ua-Compatible:
28
+ - IE=Edge,chrome=1
29
+ Etag:
30
+ - '"368aa20182d880252a250caed5caaa56"'
31
+ Cache-Control:
32
+ - max-age=0, private, must-revalidate
33
+ X-Request-Id:
34
+ - 0abad3e9f565eba80e1ce8eac64a4404
35
+ X-Runtime:
36
+ - '0.314337'
37
+ Connection:
38
+ - close
39
+ Server:
40
+ - thin 1.6.1 codename Death Proof
41
+ body:
42
+ encoding: UTF-8
43
+ string: '{"created_at":1415789071,"updated_at":1415789071,"type":"Subtask","id":52,"name":"new
44
+ created subtask","resolved":false,"row_order":6291456,"task_id":2}'
45
+ http_version:
46
+ recorded_at: Wed, 12 Nov 2014 10:44:31 GMT
47
+ - request:
48
+ method: delete
49
+ uri: http://localhost:3000/api/3/subtasks/52
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ''
53
+ headers:
54
+ User-Agent:
55
+ - Faraday v0.9.0
56
+ Authorization:
57
+ - Bearer _frank_access_token_
58
+ Accept-Encoding:
59
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
60
+ Accept:
61
+ - '*/*'
62
+ response:
63
+ status:
64
+ code: 204
65
+ message: No Content
66
+ headers:
67
+ X-Ua-Compatible:
68
+ - IE=Edge,chrome=1
69
+ Cache-Control:
70
+ - no-cache
71
+ X-Request-Id:
72
+ - b6af735539cc7c806daf8034b906b9ab
73
+ X-Runtime:
74
+ - '0.215030'
75
+ Connection:
76
+ - close
77
+ Server:
78
+ - thin 1.6.1 codename Death Proof
79
+ body:
80
+ encoding: UTF-8
81
+ string: ''
82
+ http_version:
83
+ recorded_at: Wed, 12 Nov 2014 10:44:31 GMT
84
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,99 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:3000/api/3/subtasks
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Authorization:
13
+ - Bearer _frank_access_token_
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: 400
21
+ message: Bad Request
22
+ headers:
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ X-Ua-Compatible:
26
+ - IE=Edge,chrome=1
27
+ Cache-Control:
28
+ - no-cache
29
+ X-Request-Id:
30
+ - f2c38da08c2c0420b4c6690b8793f836
31
+ X-Runtime:
32
+ - '0.422498'
33
+ Connection:
34
+ - close
35
+ Server:
36
+ - thin 1.6.1 codename Death Proof
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"error":{"message":"Bad Request","errors":{"task_id":["can''t be blank"]}}}'
40
+ http_version:
41
+ recorded_at: Wed, 12 Nov 2014 10:44:32 GMT
42
+ - request:
43
+ method: get
44
+ uri: http://localhost:3000/api/3/subtasks?task_id=2
45
+ body:
46
+ encoding: US-ASCII
47
+ string: ''
48
+ headers:
49
+ User-Agent:
50
+ - Faraday v0.9.0
51
+ Authorization:
52
+ - Bearer _frank_access_token_
53
+ Accept-Encoding:
54
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
55
+ Accept:
56
+ - '*/*'
57
+ response:
58
+ status:
59
+ code: 200
60
+ message: OK
61
+ headers:
62
+ Last-Modified:
63
+ - Wed, 12 Nov 2014 10:44:54 GMT
64
+ Paginationlinks:
65
+ - <http://localhost:3000/api/3/subtasks?page=1&task_id=2>; rel="last">
66
+ Paginationtotalpages:
67
+ - '1'
68
+ Paginationperpage:
69
+ - '30'
70
+ Paginationcurrentpage:
71
+ - '1'
72
+ Paginationtotalobjects:
73
+ - '2'
74
+ X-Redbooth-Updated-At:
75
+ - '1415789094084'
76
+ X-Redbooth-From-Cache:
77
+ - 'false'
78
+ Content-Type:
79
+ - application/json; charset=utf-8
80
+ Cache-Control:
81
+ - max-age=0, private, must-revalidate
82
+ X-Ua-Compatible:
83
+ - IE=Edge,chrome=1
84
+ X-Request-Id:
85
+ - 8b2c870c7ee5cab83d4ef09dc8b00ead
86
+ X-Runtime:
87
+ - '0.236204'
88
+ Connection:
89
+ - close
90
+ Server:
91
+ - thin 1.6.1 codename Death Proof
92
+ body:
93
+ encoding: UTF-8
94
+ string: '[{"created_at":1415789070,"updated_at":1415789070,"type":"Subtask","id":51,"name":"new
95
+ created subtask","resolved":false,"row_order":4194304,"task_id":2},{"created_at":1415789070,"updated_at":1415789070,"type":"Subtask","id":50,"name":"new
96
+ created subtask","resolved":false,"row_order":0,"task_id":2}]'
97
+ http_version:
98
+ recorded_at: Wed, 12 Nov 2014 10:44:54 GMT
99
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,99 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:3000/api/3/subtasks
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Authorization:
13
+ - Bearer _frank_access_token_
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: 400
21
+ message: Bad Request
22
+ headers:
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ X-Ua-Compatible:
26
+ - IE=Edge,chrome=1
27
+ Cache-Control:
28
+ - no-cache
29
+ X-Request-Id:
30
+ - 80b7c44f1feb31680f352a0dc60eeaf6
31
+ X-Runtime:
32
+ - '0.321731'
33
+ Connection:
34
+ - close
35
+ Server:
36
+ - thin 1.6.1 codename Death Proof
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"error":{"message":"Bad Request","errors":{"task_id":["can''t be blank"]}}}'
40
+ http_version:
41
+ recorded_at: Wed, 12 Nov 2014 10:44:31 GMT
42
+ - request:
43
+ method: get
44
+ uri: http://localhost:3000/api/3/subtasks?task_id=2
45
+ body:
46
+ encoding: US-ASCII
47
+ string: ''
48
+ headers:
49
+ User-Agent:
50
+ - Faraday v0.9.0
51
+ Authorization:
52
+ - Bearer _frank_access_token_
53
+ Accept-Encoding:
54
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
55
+ Accept:
56
+ - '*/*'
57
+ response:
58
+ status:
59
+ code: 200
60
+ message: OK
61
+ headers:
62
+ Last-Modified:
63
+ - Wed, 12 Nov 2014 10:44:54 GMT
64
+ X-Redbooth-Updated-At:
65
+ - '1415789094084'
66
+ X-Redbooth-From-Cache:
67
+ - 'true'
68
+ Paginationlinks:
69
+ - <http://localhost:3000/api/3/subtasks?page=1&task_id=2>; rel="last">
70
+ Paginationtotalpages:
71
+ - '1'
72
+ Paginationperpage:
73
+ - '30'
74
+ Paginationcurrentpage:
75
+ - '1'
76
+ Paginationtotalobjects:
77
+ - '2'
78
+ Content-Type:
79
+ - application/json; charset=utf-8
80
+ Cache-Control:
81
+ - max-age=0, private, must-revalidate
82
+ X-Ua-Compatible:
83
+ - IE=Edge,chrome=1
84
+ X-Request-Id:
85
+ - af11eb77042ebb12a634ef7220b871c3
86
+ X-Runtime:
87
+ - '0.191602'
88
+ Connection:
89
+ - close
90
+ Server:
91
+ - thin 1.6.1 codename Death Proof
92
+ body:
93
+ encoding: UTF-8
94
+ string: '[{"created_at":1415789070,"updated_at":1415789070,"type":"Subtask","id":51,"name":"new
95
+ created subtask","resolved":false,"row_order":4194304,"task_id":2},{"created_at":1415789070,"updated_at":1415789070,"type":"Subtask","id":50,"name":"new
96
+ created subtask","resolved":false,"row_order":0,"task_id":2}]'
97
+ http_version:
98
+ recorded_at: Wed, 12 Nov 2014 10:45:10 GMT
99
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:3000/api/3/subtasks/1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Authorization:
13
+ - Bearer _frank_access_token_
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
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ X-Ua-Compatible:
26
+ - IE=Edge,chrome=1
27
+ Etag:
28
+ - '"67649f33a3233da826d352dc53d02b2b"'
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ X-Request-Id:
32
+ - b6c3582c29fe76a8a05f5620fc4d18dd
33
+ X-Runtime:
34
+ - '1.376237'
35
+ Connection:
36
+ - close
37
+ Server:
38
+ - thin 1.6.1 codename Death Proof
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"created_at":1415629595,"updated_at":1415629595,"type":"Subtask","id":1,"name":"Perrea,
42
+ perrea","resolved":true,"row_order":0,"task_id":1}'
43
+ http_version:
44
+ recorded_at: Wed, 12 Nov 2014 11:13:42 GMT
45
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:3000/api/3/subtasks/1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Authorization:
13
+ - Bearer _frank_access_token_
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
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ X-Ua-Compatible:
26
+ - IE=Edge,chrome=1
27
+ Etag:
28
+ - '"67649f33a3233da826d352dc53d02b2b"'
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ X-Request-Id:
32
+ - eddd8544b999df056f652afefa33ba54
33
+ X-Runtime:
34
+ - '0.102996'
35
+ Connection:
36
+ - close
37
+ Server:
38
+ - thin 1.6.1 codename Death Proof
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"created_at":1415629595,"updated_at":1415629595,"type":"Subtask","id":1,"name":"Perrea,
42
+ perrea","resolved":true,"row_order":0,"task_id":1}'
43
+ http_version:
44
+ recorded_at: Wed, 12 Nov 2014 11:15:34 GMT
45
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:3000/api/3/subtasks/1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Authorization:
13
+ - Bearer _frank_access_token_
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
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ X-Ua-Compatible:
26
+ - IE=Edge,chrome=1
27
+ Etag:
28
+ - '"67649f33a3233da826d352dc53d02b2b"'
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ X-Request-Id:
32
+ - e1f516c1ee52be2f80adb149d77ef28f
33
+ X-Runtime:
34
+ - '0.129267'
35
+ Connection:
36
+ - close
37
+ Server:
38
+ - thin 1.6.1 codename Death Proof
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"created_at":1415629595,"updated_at":1415629595,"type":"Subtask","id":1,"name":"Perrea,
42
+ perrea","resolved":true,"row_order":0,"task_id":1}'
43
+ http_version:
44
+ recorded_at: Wed, 12 Nov 2014 11:15:34 GMT
45
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: http://localhost:3000/api/3/subtasks/2
6
+ body:
7
+ encoding: UTF-8
8
+ string: name=new+test+name
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Authorization:
13
+ - Bearer _frank_access_token_
14
+ Content-Type:
15
+ - application/x-www-form-urlencoded
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - '*/*'
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ X-Ua-Compatible:
28
+ - IE=Edge,chrome=1
29
+ Etag:
30
+ - '"996f8e08922cb885c785f9baf736207e"'
31
+ Cache-Control:
32
+ - max-age=0, private, must-revalidate
33
+ X-Request-Id:
34
+ - 260d29342271e871d108ccbb0f4799c2
35
+ X-Runtime:
36
+ - '0.267277'
37
+ Connection:
38
+ - close
39
+ Server:
40
+ - thin 1.6.1 codename Death Proof
41
+ body:
42
+ encoding: UTF-8
43
+ string: '{"created_at":1415629595,"updated_at":1415789069,"type":"Subtask","id":2,"name":"new
44
+ test name","resolved":true,"row_order":4194304,"task_id":1}'
45
+ http_version:
46
+ recorded_at: Wed, 12 Nov 2014 10:44:30 GMT
47
+ recorded_with: VCR 2.9.3