docomo-nlu 0.2.7 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +48 -0
  3. data/.reek.yml +98 -0
  4. data/.rubocop.rspec.yml +62 -0
  5. data/.rubocop.ruby.yml +423 -0
  6. data/.rubocop.yml +18 -16
  7. data/.ruby-version +1 -1
  8. data/Gemfile.lock +88 -86
  9. data/docomo-nlu.gemspec +5 -4
  10. data/lib/docomo-nlu.rb +4 -4
  11. data/lib/{docomo-nlu → docomo_nlu}/config.rb +3 -3
  12. data/lib/docomo_nlu/management.rb +31 -0
  13. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/account.rb +1 -1
  14. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/aiml_base.rb +5 -4
  15. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/base.rb +1 -1
  16. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/bot.rb +1 -1
  17. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/bot_log.rb +3 -2
  18. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/config.rb +1 -1
  19. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/default_predicate.rb +1 -1
  20. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/entry.rb +1 -1
  21. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/log.rb +1 -1
  22. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/map.rb +1 -1
  23. data/lib/docomo_nlu/management/multipart_base.rb +85 -0
  24. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/ng_word.rb +1 -1
  25. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/ok_word.rb +1 -1
  26. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/organization.rb +1 -1
  27. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/organization_member.rb +1 -1
  28. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/predicate_name.rb +1 -1
  29. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/project.rb +1 -1
  30. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/project_member.rb +1 -1
  31. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/property.rb +1 -1
  32. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/provider.rb +1 -1
  33. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/scenario.rb +1 -1
  34. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/scenario_project.rb +1 -1
  35. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/scenario_util.rb +1 -1
  36. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/set.rb +1 -1
  37. data/lib/{docomo-nlu/management/V26 → docomo_nlu/management}/task_project.rb +1 -1
  38. data/lib/{docomo-nlu → docomo_nlu}/spontaneous.rb +5 -5
  39. data/lib/{docomo-nlu → docomo_nlu}/version.rb +1 -1
  40. data/vcr/vcr_cassettes/{V26 → management}/account/count.yml +0 -0
  41. data/vcr/vcr_cassettes/{V26 → management}/account/create.yml +0 -0
  42. data/vcr/vcr_cassettes/{V26 → management}/account/delete.yml +0 -0
  43. data/vcr/vcr_cassettes/{V26 → management}/account/index.yml +0 -0
  44. data/vcr/vcr_cassettes/{V26 → management}/account/show.yml +0 -0
  45. data/vcr/vcr_cassettes/{V26 → management}/account/update.yml +0 -0
  46. data/vcr/vcr_cassettes/{V26 → management}/base/login.yml +0 -0
  47. data/vcr/vcr_cassettes/{V26 → management}/base/login_400.yml +0 -0
  48. data/vcr/vcr_cassettes/{V26 → management}/base/logout.yml +0 -0
  49. data/vcr/vcr_cassettes/{V26 → management}/base/logout_400.yml +0 -0
  50. data/vcr/vcr_cassettes/{V26 → management}/bot/create.yml +0 -0
  51. data/vcr/vcr_cassettes/{V26 → management}/bot/create_conflict.yml +0 -0
  52. data/vcr/vcr_cassettes/{V26 → management}/bot/delete.yml +0 -0
  53. data/vcr/vcr_cassettes/{V26 → management}/bot/deploy.yml +0 -0
  54. data/vcr/vcr_cassettes/{V26 → management}/bot/download_aiml.yml +0 -0
  55. data/vcr/vcr_cassettes/{V26 → management}/bot/download_archive.yml +0 -0
  56. data/vcr/vcr_cassettes/{V26 → management}/bot/download_dat.yml +0 -0
  57. data/vcr/vcr_cassettes/{V26 → management}/bot/index.yml +0 -0
  58. data/vcr/vcr_cassettes/{V26 → management}/bot/index_not_found.yml +0 -0
  59. data/vcr/vcr_cassettes/{V26 → management}/bot/show.yml +0 -0
  60. data/vcr/vcr_cassettes/{V26 → management}/bot/upload_aiml.yml +0 -0
  61. data/vcr/vcr_cassettes/{V26 → management}/bot/upload_archive.yml +0 -0
  62. data/vcr/vcr_cassettes/{V26 → management}/bot/upload_dat.yml +0 -0
  63. data/vcr/vcr_cassettes/{V26 → management}/bot_log/all.yml +0 -0
  64. data/vcr/vcr_cassettes/{V26 → management}/bot_log/query.yml +0 -0
  65. data/vcr/vcr_cassettes/{V26 → management}/config/delete.yml +0 -0
  66. data/vcr/vcr_cassettes/{V26 → management}/config/index.yml +0 -0
  67. data/vcr/vcr_cassettes/{V26 → management}/config/show.yml +0 -0
  68. data/vcr/vcr_cassettes/{V26 → management}/config/update.yml +0 -0
  69. data/vcr/vcr_cassettes/{V26 → management}/default_predicate/create.yml +0 -0
  70. data/vcr/vcr_cassettes/{V26 → management}/default_predicate/delete.yml +0 -0
  71. data/vcr/vcr_cassettes/{V26 → management}/default_predicate/index.yml +0 -0
  72. data/vcr/vcr_cassettes/{V26 → management}/default_predicate/index_not_found.yml +0 -0
  73. data/vcr/vcr_cassettes/{V26 → management}/default_predicate/update.yml +0 -0
  74. data/vcr/vcr_cassettes/{V26 → management}/entry/delete.yml +0 -0
  75. data/vcr/vcr_cassettes/{V26 → management}/entry/save.yml +0 -0
  76. data/vcr/vcr_cassettes/{V26 → management}/log/all.yml +0 -0
  77. data/vcr/vcr_cassettes/{V26 → management}/log/count.yml +0 -0
  78. data/vcr/vcr_cassettes/{V26 → management}/log/count/all.yml +0 -0
  79. data/vcr/vcr_cassettes/{V26 → management}/log/count/query.yml +0 -0
  80. data/vcr/vcr_cassettes/{V26 → management}/log/query.yml +0 -0
  81. data/vcr/vcr_cassettes/{V26 → management}/map/create.yml +6 -6
  82. data/vcr/vcr_cassettes/{V26 → management}/map/create_400.yml +0 -0
  83. data/vcr/vcr_cassettes/{V26 → management}/map/delete.yml +2 -2
  84. data/vcr/vcr_cassettes/{V26 → management}/map/index_all.yml +0 -0
  85. data/vcr/vcr_cassettes/{V26 → management}/map/index_find.yml +0 -0
  86. data/vcr/vcr_cassettes/{V26 → management}/map/index_where.yml +0 -0
  87. data/vcr/vcr_cassettes/{V26 → management}/map/save.yml +0 -0
  88. data/vcr/vcr_cassettes/{V26 → management}/map/save_400.yml +0 -0
  89. data/vcr/vcr_cassettes/{V26 → management}/map/show_find.yml +3 -3
  90. data/vcr/vcr_cassettes/{V26 → management}/map/show_where.yml +0 -0
  91. data/vcr/vcr_cassettes/{V26 → management}/organization/create.yml +0 -0
  92. data/vcr/vcr_cassettes/{V26 → management}/organization/delete.yml +0 -0
  93. data/vcr/vcr_cassettes/{V26 → management}/organization/index.yml +0 -0
  94. data/vcr/vcr_cassettes/{V26 → management}/organization/show.yml +0 -0
  95. data/vcr/vcr_cassettes/{V26 → management}/organization/update.yml +0 -0
  96. data/vcr/vcr_cassettes/{V26 → management}/organization_member/create.yml +0 -0
  97. data/vcr/vcr_cassettes/{V26 → management}/organization_member/delete.yml +0 -0
  98. data/vcr/vcr_cassettes/{V26 → management}/organization_member/index.yml +0 -0
  99. data/vcr/vcr_cassettes/{V26 → management}/organization_member/index_404.yml +0 -0
  100. data/vcr/vcr_cassettes/{V26 → management}/organization_member/index_not_found.yml +0 -0
  101. data/vcr/vcr_cassettes/{V26 → management}/predicate_name/create.yml +0 -0
  102. data/vcr/vcr_cassettes/{V26 → management}/predicate_name/delete.yml +0 -0
  103. data/vcr/vcr_cassettes/{V26 → management}/predicate_name/index.yml +0 -0
  104. data/vcr/vcr_cassettes/{V26 → management}/predicate_name/index_all.yml +0 -0
  105. data/vcr/vcr_cassettes/{V26 → management}/predicate_name/index_find.yml +0 -0
  106. data/vcr/vcr_cassettes/{V26 → management}/predicate_name/index_where.yml +0 -0
  107. data/vcr/vcr_cassettes/{V26 → management}/project/create.yml +0 -0
  108. data/vcr/vcr_cassettes/{V26 → management}/project/create_conflict.yml +0 -0
  109. data/vcr/vcr_cassettes/{V26 → management}/project/delete.yml +0 -0
  110. data/vcr/vcr_cassettes/{V26 → management}/project/index.yml +0 -0
  111. data/vcr/vcr_cassettes/{V26 → management}/project/show.yml +0 -0
  112. data/vcr/vcr_cassettes/{V26 → management}/project_member/create.yml +0 -0
  113. data/vcr/vcr_cassettes/{V26 → management}/project_member/delete.yml +0 -0
  114. data/vcr/vcr_cassettes/{V26 → management}/project_member/index.yml +0 -0
  115. data/vcr/vcr_cassettes/{V26 → management}/project_member/index_403.yml +0 -0
  116. data/vcr/vcr_cassettes/{V26 → management}/project_member/index_not_found.yml +0 -0
  117. data/vcr/vcr_cassettes/{V26 → management}/provider/create.yml +0 -0
  118. data/vcr/vcr_cassettes/{V26 → management}/provider/delete.yml +0 -0
  119. data/vcr/vcr_cassettes/{V26 → management}/provider/index.yml +0 -0
  120. data/vcr/vcr_cassettes/{V26 → management}/provider/show.yml +0 -0
  121. data/vcr/vcr_cassettes/{V26 → management}/scenario/create.yml +0 -0
  122. data/vcr/vcr_cassettes/{V26 → management}/scenario/create_conflict.yml +0 -0
  123. data/vcr/vcr_cassettes/{V26 → management}/scenario/delete.yml +0 -0
  124. data/vcr/vcr_cassettes/{V26 → management}/scenario/deploy.yml +0 -0
  125. data/vcr/vcr_cassettes/{V26 → management}/scenario/download_aiml.yml +0 -0
  126. data/vcr/vcr_cassettes/{V26 → management}/scenario/index.yml +0 -0
  127. data/vcr/vcr_cassettes/{V26 → management}/scenario/show.yml +0 -0
  128. data/vcr/vcr_cassettes/{V26 → management}/scenario/update.yml +0 -0
  129. data/vcr/vcr_cassettes/{V26 → management}/scenario/upload_aiml.yml +0 -0
  130. data/vcr/vcr_cassettes/{V26 → management}/scenario/upload_archive.yml +0 -0
  131. data/vcr/vcr_cassettes/{V26 → management}/scenario/upload_dat.yml +0 -0
  132. data/vcr/vcr_cassettes/{V26 → management}/set/create.yml +0 -0
  133. data/vcr/vcr_cassettes/{V26 → management}/set/create_400.yml +0 -0
  134. data/vcr/vcr_cassettes/{V26 → management}/set/delete.yml +0 -0
  135. data/vcr/vcr_cassettes/{V26 → management}/set/index_all.yml +0 -0
  136. data/vcr/vcr_cassettes/{V26 → management}/set/index_find.yml +0 -0
  137. data/vcr/vcr_cassettes/{V26 → management}/set/index_where.yml +0 -0
  138. data/vcr/vcr_cassettes/{V26 → management}/set/save.yml +0 -0
  139. data/vcr/vcr_cassettes/{V26 → management}/set/save_400.yml +0 -0
  140. data/vcr/vcr_cassettes/{V26 → management}/set/show_find.yml +0 -0
  141. data/vcr/vcr_cassettes/{V26 → management}/set/show_where.yml +0 -0
  142. metadata +170 -270
  143. data/lib/docomo-nlu/management.rb +0 -88
  144. data/lib/docomo-nlu/management/V23/account.rb +0 -30
  145. data/lib/docomo-nlu/management/V23/aiml_base.rb +0 -204
  146. data/lib/docomo-nlu/management/V23/base.rb +0 -88
  147. data/lib/docomo-nlu/management/V23/bot.rb +0 -18
  148. data/lib/docomo-nlu/management/V23/bot_log.rb +0 -8
  149. data/lib/docomo-nlu/management/V23/config.rb +0 -25
  150. data/lib/docomo-nlu/management/V23/default_predicate.rb +0 -15
  151. data/lib/docomo-nlu/management/V23/entry.rb +0 -8
  152. data/lib/docomo-nlu/management/V23/log.rb +0 -8
  153. data/lib/docomo-nlu/management/V23/map.rb +0 -10
  154. data/lib/docomo-nlu/management/V23/multipart_base.rb +0 -83
  155. data/lib/docomo-nlu/management/V23/ng_word.rb +0 -10
  156. data/lib/docomo-nlu/management/V23/ok_word.rb +0 -10
  157. data/lib/docomo-nlu/management/V23/organization.rb +0 -23
  158. data/lib/docomo-nlu/management/V23/organization_member.rb +0 -15
  159. data/lib/docomo-nlu/management/V23/predicate_name.rb +0 -15
  160. data/lib/docomo-nlu/management/V23/project.rb +0 -16
  161. data/lib/docomo-nlu/management/V23/project_member.rb +0 -15
  162. data/lib/docomo-nlu/management/V23/property.rb +0 -10
  163. data/lib/docomo-nlu/management/V23/provider.rb +0 -17
  164. data/lib/docomo-nlu/management/V23/scenario.rb +0 -29
  165. data/lib/docomo-nlu/management/V23/scenario_project.rb +0 -10
  166. data/lib/docomo-nlu/management/V23/scenario_util.rb +0 -30
  167. data/lib/docomo-nlu/management/V23/set.rb +0 -10
  168. data/lib/docomo-nlu/management/V23/task_project.rb +0 -20
  169. data/lib/docomo-nlu/management/V26/multipart_base.rb +0 -83
  170. data/vcr/vcr_cassettes/V23/account/count.yml +0 -42
  171. data/vcr/vcr_cassettes/V23/account/create.yml +0 -44
  172. data/vcr/vcr_cassettes/V23/account/delete.yml +0 -38
  173. data/vcr/vcr_cassettes/V23/account/index.yml +0 -43
  174. data/vcr/vcr_cassettes/V23/account/show.yml +0 -43
  175. data/vcr/vcr_cassettes/V23/account/update.yml +0 -41
  176. data/vcr/vcr_cassettes/V23/base/login.yml +0 -44
  177. data/vcr/vcr_cassettes/V23/base/login_400.yml +0 -42
  178. data/vcr/vcr_cassettes/V23/base/logout.yml +0 -40
  179. data/vcr/vcr_cassettes/V23/base/logout_400.yml +0 -40
  180. data/vcr/vcr_cassettes/V23/bot/create.yml +0 -43
  181. data/vcr/vcr_cassettes/V23/bot/create_conflict.yml +0 -45
  182. data/vcr/vcr_cassettes/V23/bot/delete.yml +0 -38
  183. data/vcr/vcr_cassettes/V23/bot/deploy.yml +0 -164
  184. data/vcr/vcr_cassettes/V23/bot/download_aiml.yml +0 -43
  185. data/vcr/vcr_cassettes/V23/bot/download_archive.yml +0 -43
  186. data/vcr/vcr_cassettes/V23/bot/download_dat.yml +0 -43
  187. data/vcr/vcr_cassettes/V23/bot/index.yml +0 -44
  188. data/vcr/vcr_cassettes/V23/bot/index_not_found.yml +0 -42
  189. data/vcr/vcr_cassettes/V23/bot/show.yml +0 -43
  190. data/vcr/vcr_cassettes/V23/bot/upload_aiml.yml +0 -45
  191. data/vcr/vcr_cassettes/V23/bot/upload_archive.yml +0 -46
  192. data/vcr/vcr_cassettes/V23/bot/upload_dat.yml +0 -46
  193. data/vcr/vcr_cassettes/V23/config/delete.yml +0 -38
  194. data/vcr/vcr_cassettes/V23/config/index.yml +0 -120
  195. data/vcr/vcr_cassettes/V23/config/update.yml +0 -42
  196. data/vcr/vcr_cassettes/V23/default_predicate/create.yml +0 -42
  197. data/vcr/vcr_cassettes/V23/default_predicate/delete.yml +0 -38
  198. data/vcr/vcr_cassettes/V23/default_predicate/index.yml +0 -120
  199. data/vcr/vcr_cassettes/V23/default_predicate/index_not_found.yml +0 -120
  200. data/vcr/vcr_cassettes/V23/default_predicate/update.yml +0 -40
  201. data/vcr/vcr_cassettes/V23/map/create.yml +0 -45
  202. data/vcr/vcr_cassettes/V23/map/create_400.yml +0 -48
  203. data/vcr/vcr_cassettes/V23/map/delete.yml +0 -38
  204. data/vcr/vcr_cassettes/V23/map/index_all.yml +0 -43
  205. data/vcr/vcr_cassettes/V23/map/index_find.yml +0 -43
  206. data/vcr/vcr_cassettes/V23/map/index_where.yml +0 -43
  207. data/vcr/vcr_cassettes/V23/map/save.yml +0 -45
  208. data/vcr/vcr_cassettes/V23/map/save_400.yml +0 -48
  209. data/vcr/vcr_cassettes/V23/map/show_find.yml +0 -43
  210. data/vcr/vcr_cassettes/V23/map/show_where.yml +0 -43
  211. data/vcr/vcr_cassettes/V23/organization/create.yml +0 -44
  212. data/vcr/vcr_cassettes/V23/organization/delete.yml +0 -38
  213. data/vcr/vcr_cassettes/V23/organization/index.yml +0 -138
  214. data/vcr/vcr_cassettes/V23/organization/show.yml +0 -42
  215. data/vcr/vcr_cassettes/V23/organization/update.yml +0 -40
  216. data/vcr/vcr_cassettes/V23/organization_member/create.yml +0 -42
  217. data/vcr/vcr_cassettes/V23/organization_member/delete.yml +0 -38
  218. data/vcr/vcr_cassettes/V23/organization_member/index.yml +0 -42
  219. data/vcr/vcr_cassettes/V23/organization_member/index_404.yml +0 -42
  220. data/vcr/vcr_cassettes/V23/organization_member/index_not_found.yml +0 -42
  221. data/vcr/vcr_cassettes/V23/predicate_name/create.yml +0 -42
  222. data/vcr/vcr_cassettes/V23/predicate_name/delete.yml +0 -38
  223. data/vcr/vcr_cassettes/V23/predicate_name/index.yml +0 -42
  224. data/vcr/vcr_cassettes/V23/predicate_name/index_all.yml +0 -42
  225. data/vcr/vcr_cassettes/V23/predicate_name/index_find.yml +0 -42
  226. data/vcr/vcr_cassettes/V23/predicate_name/index_where.yml +0 -42
  227. data/vcr/vcr_cassettes/V23/project/create.yml +0 -44
  228. data/vcr/vcr_cassettes/V23/project/create_conflict.yml +0 -44
  229. data/vcr/vcr_cassettes/V23/project/delete.yml +0 -38
  230. data/vcr/vcr_cassettes/V23/project/index.yml +0 -474
  231. data/vcr/vcr_cassettes/V23/project/show.yml +0 -43
  232. data/vcr/vcr_cassettes/V23/project_member/create.yml +0 -42
  233. data/vcr/vcr_cassettes/V23/project_member/delete.yml +0 -38
  234. data/vcr/vcr_cassettes/V23/project_member/index.yml +0 -42
  235. data/vcr/vcr_cassettes/V23/project_member/index_403.yml +0 -40
  236. data/vcr/vcr_cassettes/V23/project_member/index_not_found.yml +0 -42
  237. data/vcr/vcr_cassettes/V23/provider/create.yml +0 -44
  238. data/vcr/vcr_cassettes/V23/provider/delete.yml +0 -38
  239. data/vcr/vcr_cassettes/V23/provider/index.yml +0 -42
  240. data/vcr/vcr_cassettes/V23/provider/show.yml +0 -42
  241. data/vcr/vcr_cassettes/V23/scenario/create.yml +0 -42
  242. data/vcr/vcr_cassettes/V23/scenario/create_conflict.yml +0 -44
  243. data/vcr/vcr_cassettes/V23/scenario/delete.yml +0 -38
  244. data/vcr/vcr_cassettes/V23/scenario/deploy.yml +0 -164
  245. data/vcr/vcr_cassettes/V23/scenario/download_aiml.yml +0 -43
  246. data/vcr/vcr_cassettes/V23/scenario/index.yml +0 -43
  247. data/vcr/vcr_cassettes/V23/scenario/show.yml +0 -42
  248. data/vcr/vcr_cassettes/V23/scenario/update.yml +0 -40
  249. data/vcr/vcr_cassettes/V23/scenario/upload_aiml.yml +0 -45
  250. data/vcr/vcr_cassettes/V23/scenario/upload_archive.yml +0 -46
  251. data/vcr/vcr_cassettes/V23/scenario/upload_dat.yml +0 -46
  252. data/vcr/vcr_cassettes/V23/set/create.yml +0 -45
  253. data/vcr/vcr_cassettes/V23/set/create_400.yml +0 -48
  254. data/vcr/vcr_cassettes/V23/set/delete.yml +0 -38
  255. data/vcr/vcr_cassettes/V23/set/index_all.yml +0 -43
  256. data/vcr/vcr_cassettes/V23/set/index_find.yml +0 -43
  257. data/vcr/vcr_cassettes/V23/set/index_where.yml +0 -43
  258. data/vcr/vcr_cassettes/V23/set/save.yml +0 -45
  259. data/vcr/vcr_cassettes/V23/set/save_400.yml +0 -48
  260. data/vcr/vcr_cassettes/V23/set/show_find.yml +0 -43
  261. data/vcr/vcr_cassettes/V23/set/show_where.yml +0 -43
@@ -1,46 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: put
5
- uri: "<Host>/management/v2.2/projects/212/bots/test_bot/archive"
6
- body:
7
- encoding: UTF-8
8
- string: "-------------RubyMultipartPost-754a6c81dd2943239c525e2e1fb564dd\r\nContent-Disposition:
9
- form-data; name=\"uploadFile\"; filename=\"test.zip\"\r\nContent-Length: 26\r\nContent-Type:
10
- text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\n#<File:0x00007fdf7a9681e0>\r\n-------------RubyMultipartPost-754a6c81dd2943239c525e2e1fb564dd--\r\n\r\n"
11
- headers:
12
- User-Agent:
13
- - Faraday v0.15.3
14
- Authorization:
15
- - "<AdminAccessToken>"
16
- Content-Type:
17
- - multipart/form-data; boundary=-----------RubyMultipartPost-754a6c81dd2943239c525e2e1fb564dd
18
- Content-Length:
19
- - '317'
20
- Accept-Encoding:
21
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
- Accept:
23
- - "*/*"
24
- response:
25
- status:
26
- code: 201
27
- message: Created
28
- headers:
29
- Date:
30
- - Wed, 14 Nov 2018 04:10:26 GMT
31
- Content-Length:
32
- - '0'
33
- Connection:
34
- - keep-alive
35
- Server:
36
- - Apache
37
- X-Content-Type-Options:
38
- - nosniff
39
- X-Frame-Options:
40
- - SAMEORIGIN
41
- body:
42
- encoding: UTF-8
43
- string: ''
44
- http_version:
45
- recorded_at: Wed, 14 Nov 2018 04:10:28 GMT
46
- recorded_with: VCR 4.0.0
@@ -1,46 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: put
5
- uri: "<Host>/management/v2.2/projects/212/bots/test_bot/dat"
6
- body:
7
- encoding: UTF-8
8
- string: "-------------RubyMultipartPost-a4b958cbbbe72443222c994d471a56d1\r\nContent-Disposition:
9
- form-data; name=\"uploadFile\"; filename=\"test.dat\"\r\nContent-Length: 26\r\nContent-Type:
10
- text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\n#<File:0x00007fdf7aa53960>\r\n-------------RubyMultipartPost-a4b958cbbbe72443222c994d471a56d1--\r\n\r\n"
11
- headers:
12
- User-Agent:
13
- - Faraday v0.15.3
14
- Authorization:
15
- - "<AdminAccessToken>"
16
- Content-Type:
17
- - multipart/form-data; boundary=-----------RubyMultipartPost-a4b958cbbbe72443222c994d471a56d1
18
- Content-Length:
19
- - '317'
20
- Accept-Encoding:
21
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
- Accept:
23
- - "*/*"
24
- response:
25
- status:
26
- code: 201
27
- message: Created
28
- headers:
29
- Date:
30
- - Wed, 14 Nov 2018 04:10:25 GMT
31
- Content-Length:
32
- - '0'
33
- Connection:
34
- - keep-alive
35
- Server:
36
- - Apache
37
- X-Content-Type-Options:
38
- - nosniff
39
- X-Frame-Options:
40
- - SAMEORIGIN
41
- body:
42
- encoding: UTF-8
43
- string: ''
44
- http_version:
45
- recorded_at: Wed, 14 Nov 2018 04:10:26 GMT
46
- recorded_with: VCR 4.0.0
@@ -1,45 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: put
5
- uri: "<Host>/management/v2.2/projects/212/bots/test_bot/sets"
6
- body:
7
- encoding: ASCII-8BIT
8
- string: !binary |-
9
- LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LTgzNTExOWMwYWI3MjQxODkxYTVkYTM2ODE5NTU5NzEwDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InVwbG9hZEZpbGUiOyBmaWxlbmFtZT0idGVzdC5zZXQiDQpDb250ZW50LUxlbmd0aDogOTENCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbg0KQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5DQoNCuadseS6rArjg4jjgqbjgq3jg6fjg7wK6YO95YaFCuWkp+WdggrjgarjgpPjgbAK56We5aWI5bedCuaoqua1nArmqKrpoIjos4AK5rmY5Y2XCuWwj+eUsOWOnwoNCi0tLS0tLS0tLS0tLS1SdWJ5TXVsdGlwYXJ0UG9zdC04MzUxMTljMGFiNzI0MTg5MWE1ZGEzNjgxOTU1OTcxMC0tDQoNCg==
10
- headers:
11
- User-Agent:
12
- - Faraday v0.15.3
13
- Authorization:
14
- - "<AdminAccessToken>"
15
- Content-Type:
16
- - multipart/form-data; boundary=-----------RubyMultipartPost-835119c0ab7241891a5da36819559710
17
- Content-Length:
18
- - '382'
19
- Accept-Encoding:
20
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
- Accept:
22
- - "*/*"
23
- response:
24
- status:
25
- code: 201
26
- message: Created
27
- headers:
28
- Date:
29
- - Wed, 14 Nov 2018 04:12:30 GMT
30
- Content-Length:
31
- - '0'
32
- Connection:
33
- - keep-alive
34
- Server:
35
- - Apache
36
- X-Content-Type-Options:
37
- - nosniff
38
- X-Frame-Options:
39
- - SAMEORIGIN
40
- body:
41
- encoding: UTF-8
42
- string: ''
43
- http_version:
44
- recorded_at: Wed, 14 Nov 2018 04:12:30 GMT
45
- recorded_with: VCR 4.0.0
@@ -1,48 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: put
5
- uri: "<Host>/management/v2.2/projects/212/bots/test_bot/sets"
6
- body:
7
- encoding: UTF-8
8
- string: "-------------RubyMultipartPost-e056a769551e5ca415628f17dc39d1f3\r\nContent-Disposition:
9
- form-data; name=\"uploadFile\"; filename=\"error.set\"\r\nContent-Length:
10
- 6\r\nContent-Type: text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\nok\nok\n\r\n-------------RubyMultipartPost-e056a769551e5ca415628f17dc39d1f3--\r\n\r\n"
11
- headers:
12
- User-Agent:
13
- - Faraday v0.15.3
14
- Authorization:
15
- - "<AdminAccessToken>"
16
- Content-Type:
17
- - multipart/form-data; boundary=-----------RubyMultipartPost-e056a769551e5ca415628f17dc39d1f3
18
- Content-Length:
19
- - '297'
20
- Accept-Encoding:
21
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
- Accept:
23
- - "*/*"
24
- response:
25
- status:
26
- code: 409
27
- message: Conflict
28
- headers:
29
- Date:
30
- - Wed, 14 Nov 2018 04:12:27 GMT
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Content-Length:
34
- - '36'
35
- Connection:
36
- - keep-alive
37
- Server:
38
- - Apache
39
- X-Content-Type-Options:
40
- - nosniff
41
- X-Frame-Options:
42
- - SAMEORIGIN
43
- body:
44
- encoding: UTF-8
45
- string: '{"error":"duplicated","keys":["ok"]}'
46
- http_version:
47
- recorded_at: Wed, 14 Nov 2018 04:12:27 GMT
48
- recorded_with: VCR 4.0.0
@@ -1,38 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: delete
5
- uri: "<Host>/management/v2.2/projects/212/bots/test_bot/sets/test"
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/json
12
- Authorization:
13
- - "<AdminAccessToken>"
14
- Accept-Encoding:
15
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
- User-Agent:
17
- - Ruby
18
- response:
19
- status:
20
- code: 204
21
- message: No Content
22
- headers:
23
- Date:
24
- - Wed, 14 Nov 2018 04:12:31 GMT
25
- Connection:
26
- - keep-alive
27
- Server:
28
- - Apache
29
- X-Content-Type-Options:
30
- - nosniff
31
- X-Frame-Options:
32
- - SAMEORIGIN
33
- body:
34
- encoding: UTF-8
35
- string: ''
36
- http_version:
37
- recorded_at: Wed, 14 Nov 2018 04:12:31 GMT
38
- recorded_with: VCR 4.0.0
@@ -1,43 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: "<Host>/management/v2.2/projects/212/bots/test_bot/sets/"
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Faraday v0.15.3
12
- Authorization:
13
- - "<AdminAccessToken>"
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
- Date:
24
- - Wed, 14 Nov 2018 04:12:28 GMT
25
- Content-Length:
26
- - '124'
27
- Connection:
28
- - keep-alive
29
- Server:
30
- - Apache
31
- X-Content-Type-Options:
32
- - nosniff
33
- X-Frame-Options:
34
- - SAMEORIGIN
35
- Content-Disposition:
36
- - attachment;filename*=UTF-8''test_bot_ja-JP_set.zip
37
- body:
38
- encoding: ASCII-8BIT
39
- string: !binary |-
40
- UEsDBBQACAAIAI5pbk0AAAAAAAAAAAAAAAAEAAAAc2V0XAMAUEsHCAAAAAACAAAAAAAAAFBLAQIUABQACAAIAI5pbk0AAAAAAgAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAABzZXRcUEsFBgAAAAABAAEAMgAAADQAAAAAAA==
41
- http_version:
42
- recorded_at: Wed, 14 Nov 2018 04:12:28 GMT
43
- recorded_with: VCR 4.0.0
@@ -1,43 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: "<Host>/management/v2.2/projects/212/bots/test_bot/sets/"
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Faraday v0.15.3
12
- Authorization:
13
- - "<AdminAccessToken>"
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
- Date:
24
- - Wed, 14 Nov 2018 04:12:29 GMT
25
- Content-Length:
26
- - '124'
27
- Connection:
28
- - keep-alive
29
- Server:
30
- - Apache
31
- X-Content-Type-Options:
32
- - nosniff
33
- X-Frame-Options:
34
- - SAMEORIGIN
35
- Content-Disposition:
36
- - attachment;filename*=UTF-8''test_bot_ja-JP_set.zip
37
- body:
38
- encoding: ASCII-8BIT
39
- string: !binary |-
40
- UEsDBBQACAAIAI5pbk0AAAAAAAAAAAAAAAAEAAAAc2V0XAMAUEsHCAAAAAACAAAAAAAAAFBLAQIUABQACAAIAI5pbk0AAAAAAgAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAABzZXRcUEsFBgAAAAABAAEAMgAAADQAAAAAAA==
41
- http_version:
42
- recorded_at: Wed, 14 Nov 2018 04:12:29 GMT
43
- recorded_with: VCR 4.0.0
@@ -1,43 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: "<Host>/management/v2.2/projects/212/bots/test_bot/sets/"
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Faraday v0.15.3
12
- Authorization:
13
- - "<AdminAccessToken>"
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
- Date:
24
- - Wed, 14 Nov 2018 04:12:29 GMT
25
- Content-Length:
26
- - '124'
27
- Connection:
28
- - keep-alive
29
- Server:
30
- - Apache
31
- X-Content-Type-Options:
32
- - nosniff
33
- X-Frame-Options:
34
- - SAMEORIGIN
35
- Content-Disposition:
36
- - attachment;filename*=UTF-8''test_bot_ja-JP_set.zip
37
- body:
38
- encoding: ASCII-8BIT
39
- string: !binary |-
40
- UEsDBBQACAAIAI5pbk0AAAAAAAAAAAAAAAAEAAAAc2V0XAMAUEsHCAAAAAACAAAAAAAAAFBLAQIUABQACAAIAI5pbk0AAAAAAgAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAABzZXRcUEsFBgAAAAABAAEAMgAAADQAAAAAAA==
41
- http_version:
42
- recorded_at: Wed, 14 Nov 2018 04:12:29 GMT
43
- recorded_with: VCR 4.0.0
@@ -1,45 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: put
5
- uri: "<Host>/management/v2.2/projects/212/bots/test_bot/sets"
6
- body:
7
- encoding: ASCII-8BIT
8
- string: !binary |-
9
- LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0LWMyNTZlYjllM2E1OTk3NjljOTBmZDdhNzNkMWY4MzRkDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InVwbG9hZEZpbGUiOyBmaWxlbmFtZT0idGVzdC5zZXQiDQpDb250ZW50LUxlbmd0aDogOTENCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbg0KQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogYmluYXJ5DQoNCuadseS6rArjg4jjgqbjgq3jg6fjg7wK6YO95YaFCuWkp+WdggrjgarjgpPjgbAK56We5aWI5bedCuaoqua1nArmqKrpoIjos4AK5rmY5Y2XCuWwj+eUsOWOnwoNCi0tLS0tLS0tLS0tLS1SdWJ5TXVsdGlwYXJ0UG9zdC1jMjU2ZWI5ZTNhNTk5NzY5YzkwZmQ3YTczZDFmODM0ZC0tDQoNCg==
10
- headers:
11
- User-Agent:
12
- - Faraday v0.15.3
13
- Authorization:
14
- - "<AdminAccessToken>"
15
- Content-Type:
16
- - multipart/form-data; boundary=-----------RubyMultipartPost-c256eb9e3a599769c90fd7a73d1f834d
17
- Content-Length:
18
- - '382'
19
- Accept-Encoding:
20
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
- Accept:
22
- - "*/*"
23
- response:
24
- status:
25
- code: 201
26
- message: Created
27
- headers:
28
- Date:
29
- - Wed, 14 Nov 2018 04:12:30 GMT
30
- Content-Length:
31
- - '0'
32
- Connection:
33
- - keep-alive
34
- Server:
35
- - Apache
36
- X-Content-Type-Options:
37
- - nosniff
38
- X-Frame-Options:
39
- - SAMEORIGIN
40
- body:
41
- encoding: UTF-8
42
- string: ''
43
- http_version:
44
- recorded_at: Wed, 14 Nov 2018 04:12:30 GMT
45
- recorded_with: VCR 4.0.0
@@ -1,48 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: put
5
- uri: "<Host>/management/v2.2/projects/212/bots/test_bot/sets"
6
- body:
7
- encoding: UTF-8
8
- string: "-------------RubyMultipartPost-e98c1efd7e81dbb8509b0b5b847b9f45\r\nContent-Disposition:
9
- form-data; name=\"uploadFile\"; filename=\"error.set\"\r\nContent-Length:
10
- 6\r\nContent-Type: text/plain\r\nContent-Transfer-Encoding: binary\r\n\r\nok\nok\n\r\n-------------RubyMultipartPost-e98c1efd7e81dbb8509b0b5b847b9f45--\r\n\r\n"
11
- headers:
12
- User-Agent:
13
- - Faraday v0.15.3
14
- Authorization:
15
- - "<AdminAccessToken>"
16
- Content-Type:
17
- - multipart/form-data; boundary=-----------RubyMultipartPost-e98c1efd7e81dbb8509b0b5b847b9f45
18
- Content-Length:
19
- - '297'
20
- Accept-Encoding:
21
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
- Accept:
23
- - "*/*"
24
- response:
25
- status:
26
- code: 409
27
- message: Conflict
28
- headers:
29
- Date:
30
- - Wed, 14 Nov 2018 04:12:27 GMT
31
- Content-Type:
32
- - application/json;charset=utf-8
33
- Content-Length:
34
- - '36'
35
- Connection:
36
- - keep-alive
37
- Server:
38
- - Apache
39
- X-Content-Type-Options:
40
- - nosniff
41
- X-Frame-Options:
42
- - SAMEORIGIN
43
- body:
44
- encoding: UTF-8
45
- string: '{"error":"duplicated","keys":["ok"]}'
46
- http_version:
47
- recorded_at: Wed, 14 Nov 2018 04:12:27 GMT
48
- recorded_with: VCR 4.0.0