redbooth-ruby 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/spec/cassettes/RedboothRuby_Conversation/_create/.yml +47 -0
  3. data/spec/cassettes/RedboothRuby_Conversation/_create/makes_a_new_POST_request_using_the_correct_API_endpoint_to_create_a_specific_conversation.yml +47 -0
  4. data/spec/cassettes/RedboothRuby_Conversation/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_conversation.yml +84 -0
  5. data/spec/cassettes/RedboothRuby_Conversation/_index/.yml +99 -0
  6. data/spec/cassettes/RedboothRuby_Conversation/_index/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_conversations_collection.yml +99 -0
  7. data/spec/cassettes/RedboothRuby_Conversation/_initialize/.yml +45 -0
  8. data/spec/cassettes/RedboothRuby_Conversation/_show/.yml +45 -0
  9. data/spec/cassettes/RedboothRuby_Conversation/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_conversation.yml +45 -0
  10. data/spec/cassettes/RedboothRuby_Conversation/_update/.yml +47 -0
  11. data/spec/cassettes/RedboothRuby_Conversation/_update/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_conversation.yml +47 -0
  12. data/spec/cassettes/{Redbooth_Me → RedboothRuby_Me}/_initialize/.yml +0 -0
  13. data/spec/cassettes/{Redbooth_Me → RedboothRuby_Me}/_show/.yml +0 -0
  14. data/spec/cassettes/{Redbooth_Me → RedboothRuby_Me}/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_user.yml +0 -0
  15. data/spec/cassettes/{Redbooth_Me → RedboothRuby_Me}/_update/.yml +0 -0
  16. data/spec/cassettes/{Redbooth_Me → RedboothRuby_Me}/_update/integration/.yml +0 -0
  17. data/spec/cassettes/RedboothRuby_Membership/_create/integration/.yml +83 -0
  18. data/spec/cassettes/RedboothRuby_Membership/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_membership.yml +83 -0
  19. data/spec/cassettes/RedboothRuby_Membership/_index/.yml +58 -0
  20. data/spec/cassettes/RedboothRuby_Membership/_index/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_membership.yml +58 -0
  21. data/spec/cassettes/RedboothRuby_Membership/_initialize/.yml +44 -0
  22. data/spec/cassettes/RedboothRuby_Membership/_show/.yml +44 -0
  23. data/spec/cassettes/RedboothRuby_Membership/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_membership.yml +44 -0
  24. data/spec/cassettes/RedboothRuby_Membership/_update/.yml +46 -0
  25. data/spec/cassettes/RedboothRuby_Membership/_update/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_membership.yml +46 -0
  26. data/spec/cassettes/{Redbooth_Organization → RedboothRuby_Organization}/_create/.yml +0 -0
  27. data/spec/cassettes/{Redbooth_Organization → RedboothRuby_Organization}/_create/makes_a_new_POST_request_using_the_correct_API_endpoint_to_create_a_specific_organization.yml +0 -0
  28. data/spec/cassettes/{Redbooth_Organization → RedboothRuby_Organization}/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_organization.yml +0 -0
  29. data/spec/cassettes/{Redbooth_Organization → RedboothRuby_Organization}/_index/.yml +0 -0
  30. data/spec/cassettes/{Redbooth_Organization → RedboothRuby_Organization}/_index/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_organization.yml +0 -0
  31. data/spec/cassettes/{Redbooth_Organization → RedboothRuby_Organization}/_initialize/.yml +0 -0
  32. data/spec/cassettes/{Redbooth_Organization → RedboothRuby_Organization}/_show/.yml +0 -0
  33. data/spec/cassettes/{Redbooth_Organization → RedboothRuby_Organization}/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_organization.yml +0 -0
  34. data/spec/cassettes/{Redbooth_Organization → RedboothRuby_Organization}/_update/.yml +0 -0
  35. data/spec/cassettes/{Redbooth_Organization → RedboothRuby_Organization}/_update/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_organization.yml +0 -0
  36. data/spec/cassettes/{Redbooth_Person → RedboothRuby_Person}/_create/integration/.yml +0 -0
  37. data/spec/cassettes/{Redbooth_Person → RedboothRuby_Person}/_create/makes_a_new_POST_request_using_the_correct_API_endpoint_to_create_a_specific_person.yml +0 -0
  38. data/spec/cassettes/{Redbooth_Person → RedboothRuby_Person}/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_person.yml +0 -0
  39. data/spec/cassettes/{Redbooth_Person → RedboothRuby_Person}/_index/.yml +0 -0
  40. data/spec/cassettes/{Redbooth_Person → RedboothRuby_Person}/_index/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_person.yml +0 -0
  41. data/spec/cassettes/{Redbooth_Person → RedboothRuby_Person}/_initialize/.yml +0 -0
  42. data/spec/cassettes/{Redbooth_Person → RedboothRuby_Person}/_show/.yml +0 -0
  43. data/spec/cassettes/{Redbooth_Person → RedboothRuby_Person}/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_person.yml +0 -0
  44. data/spec/cassettes/{Redbooth_Person → RedboothRuby_Person}/_update/.yml +0 -0
  45. data/spec/cassettes/{Redbooth_Person → RedboothRuby_Person}/_update/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_person.yml +0 -0
  46. data/spec/cassettes/{Redbooth_Project → RedboothRuby_Project}/_create/.yml +0 -0
  47. data/spec/cassettes/{Redbooth_Project → RedboothRuby_Project}/_create/makes_a_new_POST_request_using_the_correct_API_endpoint_to_create_a_specific_project.yml +0 -0
  48. data/spec/cassettes/{Redbooth_Project → RedboothRuby_Project}/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_project.yml +0 -0
  49. data/spec/cassettes/{Redbooth_Project → RedboothRuby_Project}/_index/.yml +0 -0
  50. data/spec/cassettes/{Redbooth_Project → RedboothRuby_Project}/_index/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_project.yml +0 -0
  51. data/spec/cassettes/{Redbooth_Project → RedboothRuby_Project}/_initialize/.yml +0 -0
  52. data/spec/cassettes/{Redbooth_Project → RedboothRuby_Project}/_show/.yml +0 -0
  53. data/spec/cassettes/{Redbooth_Project → RedboothRuby_Project}/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_project.yml +0 -0
  54. data/spec/cassettes/{Redbooth_Project → RedboothRuby_Project}/_update/.yml +0 -0
  55. data/spec/cassettes/{Redbooth_Project → RedboothRuby_Project}/_update/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_project.yml +0 -0
  56. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_all/.yml +0 -0
  57. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_count/.yml +0 -0
  58. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_current_page/.yml +0 -0
  59. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_current_page/where_endpoint_is_not_paginated/.yml +0 -0
  60. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_initialize/.yml +0 -0
  61. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_next_page/.yml +0 -0
  62. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_next_page/where_endpoint_is_not_paginated/.yml +0 -0
  63. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_next_page/where_is_the_last_page/.yml +0 -0
  64. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_per_page/.yml +0 -0
  65. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_per_page/where_endpoint_is_not_paginated/.yml +0 -0
  66. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_prev_page/.yml +0 -0
  67. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_prev_page/where_endpoint_is_not_paginated/.yml +0 -0
  68. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_prev_page/where_is_the_first_page/.yml +0 -0
  69. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_total_pages/.yml +0 -0
  70. data/spec/cassettes/{Redbooth_Request_Collection → RedboothRuby_Request_Collection}/_total_pages/where_endpoint_is_not_paginated/.yml +0 -0
  71. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_create/.yml +0 -0
  72. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_create/makes_a_new_POST_request_using_the_correct_API_endpoint_to_create_a_specific_task.yml +0 -0
  73. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_task.yml +0 -0
  74. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_index/.yml +0 -0
  75. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_index/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_task.yml +0 -0
  76. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_initialize/.yml +0 -0
  77. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_task.yml +0 -0
  78. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_show/returns_a_task_with_the_correct_assigned_id.yml +0 -0
  79. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_show/returns_a_task_with_the_correct_id.yml +0 -0
  80. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_show/returns_a_task_with_the_correct_name.yml +0 -0
  81. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_show/returns_a_task_with_the_correct_project_id.yml +0 -0
  82. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_update/.yml +0 -0
  83. data/spec/cassettes/{Redbooth_Task → RedboothRuby_Task}/_update/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_task.yml +0 -0
  84. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_create/.yml +0 -0
  85. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_create/makes_a_new_POST_request_using_the_correct_API_endpoint_to_create_a_specific_task.yml +0 -0
  86. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_create/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_task.yml +0 -0
  87. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_create/name/.yml +0 -0
  88. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_create/project_id/.yml +0 -0
  89. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_create/task_list_id/.yml +0 -0
  90. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_delete/makes_a_new_DELETE_request_using_the_correct_API_endpoint_to_delete_a_specific_task.yml +0 -0
  91. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_index/.yml +0 -0
  92. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_index/class/.yml +0 -0
  93. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_index/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_task.yml +0 -0
  94. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_initialize/.yml +0 -0
  95. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_initialize/assigned_id/.yml +0 -0
  96. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_initialize/description/.yml +0 -0
  97. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_initialize/due_on/.yml +0 -0
  98. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_initialize/id/.yml +0 -0
  99. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_initialize/initializes_all_attributes_correctly.yml +0 -0
  100. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_initialize/name/.yml +0 -0
  101. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_initialize/project_id/.yml +0 -0
  102. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_show/.yml +0 -0
  103. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_task.yml +0 -0
  104. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_show/makes_a_new_GET_request_using_the_correct_API_endpoint_to_receive_a_specific_user.yml +0 -0
  105. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_show/returns_a_task_with_the_correct_assigned_id.yml +0 -0
  106. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_show/returns_a_task_with_the_correct_id.yml +0 -0
  107. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_show/returns_a_task_with_the_correct_name.yml +0 -0
  108. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_show/returns_a_task_with_the_correct_project_id.yml +0 -0
  109. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_show/returns_a_user_with_the_correct_email.yml +0 -0
  110. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_show/returns_a_user_with_the_correct_first_name.yml +0 -0
  111. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_show/returns_a_user_with_the_correct_id.yml +0 -0
  112. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_show/returns_a_user_with_the_correct_last_name.yml +0 -0
  113. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_update/.yml +0 -0
  114. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_update/id/.yml +0 -0
  115. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_update/makes_a_new_PUT_request_using_the_correct_API_endpoint_to_receive_a_specific_task.yml +0 -0
  116. data/spec/cassettes/{Redbooth_User → RedboothRuby_User}/_update/name/.yml +0 -0
  117. data/spec/{redbooth → redbooth-ruby}/base_spec.rb +2 -2
  118. data/spec/{redbooth → redbooth-ruby}/client_spec.rb +11 -11
  119. data/spec/redbooth-ruby/conversation_spec.rb +83 -0
  120. data/spec/{redbooth → redbooth-ruby}/me_spec.rb +4 -4
  121. data/spec/redbooth-ruby/membership_spec.rb +85 -0
  122. data/spec/{redbooth → redbooth-ruby}/organization_spec.rb +8 -8
  123. data/spec/{redbooth → redbooth-ruby}/person_spec.rb +7 -7
  124. data/spec/{redbooth → redbooth-ruby}/project_spec.rb +8 -8
  125. data/spec/{redbooth → redbooth-ruby}/request/base_spec.rb +9 -9
  126. data/spec/{redbooth → redbooth-ruby}/request/collection_spec.rb +7 -7
  127. data/spec/{redbooth → redbooth-ruby}/request/connection_spec.rb +10 -10
  128. data/spec/{redbooth → redbooth-ruby}/request/info_spec.rb +4 -4
  129. data/spec/{redbooth → redbooth-ruby}/request/response_spec.rb +3 -3
  130. data/spec/{redbooth → redbooth-ruby}/request/validator_spec.rb +9 -9
  131. data/spec/{redbooth → redbooth-ruby}/task_spec.rb +12 -12
  132. data/spec/{redbooth → redbooth-ruby}/user_spec.rb +4 -4
  133. data/spec/redbooth_spec.rb +12 -12
  134. data/spec/shared/authentication_context.rb +3 -3
  135. data/spec/spec_helper.rb +5 -1
  136. metadata +264 -222
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94b8b9f673b3637f6dca9d220ef06d4734463158
4
- data.tar.gz: f4054d53999f03d8ea74e69322421752bb2b9442
3
+ metadata.gz: 01abc6acf999dcb398f009e071a81d3fd029989e
4
+ data.tar.gz: bcfe3834d00cf479fdf2189312a43dc96efa7917
5
5
  SHA512:
6
- metadata.gz: 29626576e90405979688ed2efbc15c5bc3c5681fc7ca08c52c8c487854ab0de30893ecc0812c31cf5495e64b53a42cc30f68082a6b613c68b15c9e9d89093a11
7
- data.tar.gz: ee6ba02418c6f5a83476879d54900e199ad5585665040734f59aa96d4ce9cd3b5b9e78127388f29d64bd78c8194a29227d939625d921244b6c717b84241b16a6
6
+ metadata.gz: 614a60b311e36b025d83fb9733d6741a32891b0b672028cdd389265972c764d9185b2a952300f04140385469c9c45adb296b6a9d90c272f5ea422c5dfa866c07
7
+ data.tar.gz: 075d63411197758c8bcb164140615013f64cdede1a1ad6115aefb78e2a47a1cb1581677f9100ff3820fc39045f8ac1040353f517c6c89523b9291aa3fd9b4416
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://localhost:3000/api/3/conversations
6
+ body:
7
+ encoding: UTF-8
8
+ string: name=new+created+conversation&project_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
+ - '"15f1e1b5c72ce6c2df13b7c558f92929"'
31
+ Cache-Control:
32
+ - max-age=0, private, must-revalidate
33
+ X-Request-Id:
34
+ - fbb05266bace15414a1096e0ec9ef012
35
+ X-Runtime:
36
+ - '0.681707'
37
+ Connection:
38
+ - close
39
+ Server:
40
+ - thin 1.6.1 codename Death Proof
41
+ body:
42
+ encoding: UTF-8
43
+ string: '{"type":"Conversation","created_at":1415633995,"updated_at":1415633995,"id":9,"name":"new
44
+ created conversation","project_id":2,"user_id":1,"comments_count":0,"is_private":false,"last_activity_id":null}'
45
+ http_version:
46
+ recorded_at: Mon, 10 Nov 2014 15:39:56 GMT
47
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://localhost:3000/api/3/conversations
6
+ body:
7
+ encoding: UTF-8
8
+ string: name=new+created+conversation&project_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
+ - '"cda40adc6501723b6bdf5b67b924fee6"'
31
+ Cache-Control:
32
+ - max-age=0, private, must-revalidate
33
+ X-Request-Id:
34
+ - 416f822117c0a969d225b02eaab8f1b4
35
+ X-Runtime:
36
+ - '0.773925'
37
+ Connection:
38
+ - close
39
+ Server:
40
+ - thin 1.6.1 codename Death Proof
41
+ body:
42
+ encoding: UTF-8
43
+ string: '{"type":"Conversation","created_at":1415633995,"updated_at":1415633995,"id":8,"name":"new
44
+ created conversation","project_id":2,"user_id":1,"comments_count":0,"is_private":false,"last_activity_id":null}'
45
+ http_version:
46
+ recorded_at: Mon, 10 Nov 2014 15:39:55 GMT
47
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,84 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://localhost:3000/api/3/conversations
6
+ body:
7
+ encoding: UTF-8
8
+ string: name=new+created+conversation&project_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
+ - '"4ca2deecd0d46e09f78bcd7ba9e9b182"'
31
+ Cache-Control:
32
+ - max-age=0, private, must-revalidate
33
+ X-Request-Id:
34
+ - 3707f1c6076e0613108dc46e8cdcc706
35
+ X-Runtime:
36
+ - '0.459371'
37
+ Connection:
38
+ - close
39
+ Server:
40
+ - thin 1.6.1 codename Death Proof
41
+ body:
42
+ encoding: UTF-8
43
+ string: '{"type":"Conversation","created_at":1415633996,"updated_at":1415633996,"id":10,"name":"new
44
+ created conversation","project_id":2,"user_id":1,"comments_count":0,"is_private":false,"last_activity_id":null}'
45
+ http_version:
46
+ recorded_at: Mon, 10 Nov 2014 15:39:56 GMT
47
+ - request:
48
+ method: delete
49
+ uri: http://localhost:3000/api/3/conversations/10
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
+ - c59b3679b1ada9cd5a092ea38e527289
73
+ X-Runtime:
74
+ - '0.502114'
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: Mon, 10 Nov 2014 15:39:57 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/conversations
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
+ Last-Modified:
24
+ - Mon, 10 Nov 2014 15:39:57 GMT
25
+ X-Redbooth-Updated-At:
26
+ - '1415633997718'
27
+ X-Redbooth-From-Cache:
28
+ - 'true'
29
+ Paginationlinks:
30
+ - <http://localhost:3000/api/3/conversations?page=1>; rel="last">
31
+ Paginationtotalpages:
32
+ - '1'
33
+ Paginationperpage:
34
+ - '30'
35
+ Paginationcurrentpage:
36
+ - '1'
37
+ Paginationtotalobjects:
38
+ - '9'
39
+ Content-Type:
40
+ - application/json; charset=utf-8
41
+ Cache-Control:
42
+ - max-age=0, private, must-revalidate
43
+ X-Ua-Compatible:
44
+ - IE=Edge,chrome=1
45
+ X-Request-Id:
46
+ - 595ecbf0dafe070d2014d0253825ccca
47
+ X-Runtime:
48
+ - '0.628029'
49
+ Connection:
50
+ - close
51
+ Server:
52
+ - thin 1.6.1 codename Death Proof
53
+ body:
54
+ encoding: ASCII-8BIT
55
+ string: !binary |-
56
+ W3sidHlwZSI6IkNvbnZlcnNhdGlvbiIsImNyZWF0ZWRfYXQiOjE0MTU2MzM5
57
+ OTUsInVwZGF0ZWRfYXQiOjE0MTU2MzM5OTUsImlkIjo5LCJuYW1lIjoibmV3
58
+ IGNyZWF0ZWQgY29udmVyc2F0aW9uIiwicHJvamVjdF9pZCI6MiwidXNlcl9p
59
+ ZCI6MSwiY29tbWVudHNfY291bnQiOjAsImlzX3ByaXZhdGUiOmZhbHNlLCJs
60
+ YXN0X2FjdGl2aXR5X2lkIjpudWxsfSx7InR5cGUiOiJDb252ZXJzYXRpb24i
61
+ LCJjcmVhdGVkX2F0IjoxNDE1NjMzOTk1LCJ1cGR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cm9qZWN0IFdlbGNvbWUiLCJwcm9qZWN0X2lkIjoyLCJ1c2VyX2lkIjoxLCJj
95
+ b21tZW50c19jb3VudCI6MywiaXNfcHJpdmF0ZSI6ZmFsc2UsImxhc3RfYWN0
96
+ aXZpdHlfaWQiOm51bGx9XQ==
97
+ http_version:
98
+ recorded_at: Mon, 10 Nov 2014 15:39:58 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/conversations
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
+ Last-Modified:
24
+ - Mon, 10 Nov 2014 15:39:57 GMT
25
+ Paginationlinks:
26
+ - <http://localhost:3000/api/3/conversations?page=1>; rel="last">
27
+ Paginationtotalpages:
28
+ - '1'
29
+ Paginationperpage:
30
+ - '30'
31
+ Paginationcurrentpage:
32
+ - '1'
33
+ Paginationtotalobjects:
34
+ - '9'
35
+ X-Redbooth-Updated-At:
36
+ - '1415633997718'
37
+ X-Redbooth-From-Cache:
38
+ - 'false'
39
+ Content-Type:
40
+ - application/json; charset=utf-8
41
+ Cache-Control:
42
+ - max-age=0, private, must-revalidate
43
+ X-Ua-Compatible:
44
+ - IE=Edge,chrome=1
45
+ X-Request-Id:
46
+ - c65745f362041e1c4cb540dbdc5c28e6
47
+ X-Runtime:
48
+ - '0.608984'
49
+ Connection:
50
+ - close
51
+ Server:
52
+ - thin 1.6.1 codename Death Proof
53
+ body:
54
+ encoding: ASCII-8BIT
55
+ string: !binary |-
56
+ W3sidHlwZSI6IkNvbnZlcnNhdGlvbiIsImNyZWF0ZWRf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iOjE0MTU2MzM5OTQsImlkIjoyLCJuYW1lIjoibmV3IHRlc3QgbmFt
90
+ ZSIsInByb2plY3RfaWQiOjIsInVzZXJfaWQiOjIsImNvbW1lbnRzX2NvdW50
91
+ Ijo1LCJpc19wcml2YXRlIjpmYWxzZSwibGFzdF9hY3Rpdml0eV9pZCI6bnVs
92
+ bH0seyJ0eXBlIjoiQ29udmVyc2F0aW9uIiwiY3JlYXRlZF9hdCI6MTQxNTYy
93
+ MjAzMCwidXBkYXRlZF9hdCI6MTQxNTYyOTU5MywiaWQiOjEsIm5hbWUiOiJQ
94
+ cm9qZWN0IFdlbGNvbWUiLCJwcm9qZWN0X2lkIjoyLCJ1c2VyX2lkIjoxLCJj
95
+ b21tZW50c19jb3VudCI6MywiaXNfcHJpdmF0ZSI6ZmFsc2UsImxhc3RfYWN0
96
+ aXZpdHlfaWQiOm51bGx9XQ==
97
+ http_version:
98
+ recorded_at: Mon, 10 Nov 2014 15:39:58 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/conversations/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
+ - '"f3515bd5311f81c2c959818c74932bda"'
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ X-Request-Id:
32
+ - 6cbb21654e27f2daea23dd6c84344990
33
+ X-Runtime:
34
+ - '0.265974'
35
+ Connection:
36
+ - close
37
+ Server:
38
+ - thin 1.6.1 codename Death Proof
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"type":"Conversation","created_at":1415622030,"updated_at":1415629593,"id":1,"name":"Project
42
+ Welcome","project_id":2,"user_id":1,"comments_count":3,"is_private":false,"last_activity_id":null}'
43
+ http_version:
44
+ recorded_at: Mon, 10 Nov 2014 15:40:36 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/conversations/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
+ - '"f3515bd5311f81c2c959818c74932bda"'
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
31
+ X-Request-Id:
32
+ - 01ddc29e1f00c862544210cac5a2e59e
33
+ X-Runtime:
34
+ - '0.394650'
35
+ Connection:
36
+ - close
37
+ Server:
38
+ - thin 1.6.1 codename Death Proof
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"type":"Conversation","created_at":1415622030,"updated_at":1415629593,"id":1,"name":"Project
42
+ Welcome","project_id":2,"user_id":1,"comments_count":3,"is_private":false,"last_activity_id":null}'
43
+ http_version:
44
+ recorded_at: Mon, 10 Nov 2014 15:40:37 GMT
45
+ recorded_with: VCR 2.9.3