dropbox_api 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (290) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +14 -0
  4. data/.rubocop_todo.yml +442 -0
  5. data/Gemfile +5 -1
  6. data/TODO.md +16 -7
  7. data/api_coverage.md +7 -7
  8. data/docs/DropboxApi.html +4 -4
  9. data/docs/DropboxApi/Authenticator.html +3 -3
  10. data/docs/DropboxApi/ChunkedUploader.html +3 -3
  11. data/docs/DropboxApi/Client.html +212 -26
  12. data/docs/DropboxApi/ConnectionBuilder.html +3 -3
  13. data/docs/DropboxApi/Endpoints.html +3 -3
  14. data/docs/DropboxApi/Endpoints/Auth.html +3 -3
  15. data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +3 -3
  16. data/docs/DropboxApi/Endpoints/Base.html +3 -3
  17. data/docs/DropboxApi/Endpoints/ContentDownload.html +3 -3
  18. data/docs/DropboxApi/Endpoints/ContentUpload.html +3 -3
  19. data/docs/DropboxApi/Endpoints/Files.html +3 -3
  20. data/docs/DropboxApi/Endpoints/Files/Copy.html +3 -3
  21. data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +3 -3
  22. data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +3 -3
  23. data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +3 -3
  24. data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +3 -3
  25. data/docs/DropboxApi/Endpoints/Files/Delete.html +3 -3
  26. data/docs/DropboxApi/Endpoints/Files/Download.html +3 -3
  27. data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +3 -3
  28. data/docs/DropboxApi/Endpoints/Files/GetPreview.html +3 -3
  29. data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +3 -3
  30. data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +3 -3
  31. data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +3 -3
  32. data/docs/DropboxApi/Endpoints/Files/ListFolder.html +30 -11
  33. data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +3 -3
  34. data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +3 -3
  35. data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +3 -3
  36. data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +3 -3
  37. data/docs/DropboxApi/Endpoints/Files/Move.html +3 -3
  38. data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +3 -3
  39. data/docs/DropboxApi/Endpoints/Files/Restore.html +3 -3
  40. data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +3 -3
  41. data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +3 -3
  42. data/docs/DropboxApi/Endpoints/Files/Search.html +3 -3
  43. data/docs/DropboxApi/Endpoints/Files/Upload.html +3 -3
  44. data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +3 -3
  45. data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +3 -3
  46. data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +3 -3
  47. data/docs/DropboxApi/Endpoints/Rpc.html +4 -4
  48. data/docs/DropboxApi/Endpoints/RpcContent.html +3 -3
  49. data/docs/DropboxApi/Endpoints/RpcNotify.html +3 -3
  50. data/docs/DropboxApi/Endpoints/Sharing.html +5 -5
  51. data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +3 -3
  52. data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +3 -3
  53. data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +103 -12
  54. data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +3 -3
  55. data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +3 -3
  56. data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +3 -3
  57. data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +3 -3
  58. data/docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html +293 -0
  59. data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +3 -3
  60. data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +3 -3
  61. data/docs/DropboxApi/Endpoints/Users.html +3 -3
  62. data/docs/DropboxApi/Endpoints/Users/GetAccount.html +3 -3
  63. data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +3 -3
  64. data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +3 -3
  65. data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +3 -3
  66. data/docs/DropboxApi/Errors.html +5 -5
  67. data/docs/DropboxApi/Errors/AddFileMemberError.html +3 -3
  68. data/docs/DropboxApi/Errors/AddFolderMemberError.html +3 -3
  69. data/docs/DropboxApi/Errors/AddMemberSelectorError.html +3 -3
  70. data/docs/DropboxApi/Errors/AlreadySharedError.html +3 -3
  71. data/docs/DropboxApi/Errors/BadPathError.html +3 -3
  72. data/docs/DropboxApi/Errors/BasicError.html +4 -4
  73. data/docs/DropboxApi/Errors/CantCopySharedFolderError.html +3 -3
  74. data/docs/DropboxApi/Errors/CantMoveFolderIntoItselfError.html +3 -3
  75. data/docs/DropboxApi/Errors/CantNestSharedFolderError.html +3 -3
  76. data/docs/DropboxApi/Errors/CantShareOutsideTeamError.html +3 -3
  77. data/docs/DropboxApi/Errors/ContainsSharedFolderError.html +3 -3
  78. data/docs/DropboxApi/Errors/ConversionError.html +3 -3
  79. data/docs/DropboxApi/Errors/CreateFileRequestError.html +3 -3
  80. data/docs/DropboxApi/Errors/CreateFolderError.html +3 -3
  81. data/docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html +3 -3
  82. data/docs/DropboxApi/Errors/CursorClosedError.html +3 -3
  83. data/docs/DropboxApi/Errors/CursorNotClosedError.html +3 -3
  84. data/docs/DropboxApi/Errors/DeleteError.html +3 -3
  85. data/docs/DropboxApi/Errors/DisallowedNameError.html +3 -3
  86. data/docs/DropboxApi/Errors/DisallowedSharedLinkPolicyError.html +3 -3
  87. data/docs/DropboxApi/Errors/DownloadError.html +3 -3
  88. data/docs/DropboxApi/Errors/DownloadFailedError.html +3 -3
  89. data/docs/DropboxApi/Errors/EmailUnverifiedError.html +3 -3
  90. data/docs/DropboxApi/Errors/FileAncestorConflictError.html +3 -3
  91. data/docs/DropboxApi/Errors/FileConflictError.html +3 -3
  92. data/docs/DropboxApi/Errors/FileMemberActionError.html +3 -3
  93. data/docs/DropboxApi/Errors/FolderConflictError.html +3 -3
  94. data/docs/DropboxApi/Errors/GetAccountError.html +3 -3
  95. data/docs/DropboxApi/Errors/GetCopyReferenceError.html +3 -3
  96. data/docs/DropboxApi/Errors/GetMetadataError.html +3 -3
  97. data/docs/DropboxApi/Errors/GroupDeletedError.html +3 -3
  98. data/docs/DropboxApi/Errors/GroupNotOnTeamError.html +3 -3
  99. data/docs/DropboxApi/Errors/HttpError.html +3 -3
  100. data/docs/DropboxApi/Errors/InProgressError.html +3 -3
  101. data/docs/DropboxApi/Errors/InsideAppFolderError.html +3 -3
  102. data/docs/DropboxApi/Errors/InsideOsxPackageError.html +3 -3
  103. data/docs/DropboxApi/Errors/InsidePublicFolderError.html +3 -3
  104. data/docs/DropboxApi/Errors/InsideSharedFolderError.html +3 -3
  105. data/docs/DropboxApi/Errors/InsufficientPlanError.html +3 -3
  106. data/docs/DropboxApi/Errors/InsufficientSpaceError.html +3 -3
  107. data/docs/DropboxApi/Errors/InternalError.html +3 -3
  108. data/docs/DropboxApi/Errors/InvalidCommentError.html +3 -3
  109. data/docs/DropboxApi/Errors/InvalidCopyReferenceError.html +3 -3
  110. data/docs/DropboxApi/Errors/InvalidCursorError.html +3 -3
  111. data/docs/DropboxApi/Errors/InvalidDropboxIdError.html +3 -3
  112. data/docs/DropboxApi/Errors/InvalidEmailError.html +3 -3
  113. data/docs/DropboxApi/Errors/InvalidFileError.html +3 -3
  114. data/docs/DropboxApi/Errors/InvalidIdError.html +3 -3
  115. data/docs/DropboxApi/Errors/InvalidMemberError.html +3 -3
  116. data/docs/DropboxApi/Errors/InvalidPathError.html +3 -3
  117. data/docs/DropboxApi/Errors/InvalidRevisionError.html +3 -3
  118. data/docs/DropboxApi/Errors/InvalidSettingsError.html +3 -3
  119. data/docs/DropboxApi/Errors/InvalidUrlError.html +3 -3
  120. data/docs/DropboxApi/Errors/IsAppFolderError.html +3 -3
  121. data/docs/DropboxApi/Errors/IsFileError.html +3 -3
  122. data/docs/DropboxApi/Errors/IsFolderError.html +3 -3
  123. data/docs/DropboxApi/Errors/IsOsxPackageError.html +3 -3
  124. data/docs/DropboxApi/Errors/IsPublicFolderError.html +3 -3
  125. data/docs/DropboxApi/Errors/ListFolderContinueError.html +3 -3
  126. data/docs/DropboxApi/Errors/ListFolderError.html +3 -3
  127. data/docs/DropboxApi/Errors/ListFolderLongpollError.html +3 -3
  128. data/docs/DropboxApi/Errors/ListRevisionsError.html +3 -3
  129. data/docs/DropboxApi/Errors/ListSharedLinksError.html +3 -3
  130. data/docs/DropboxApi/Errors/LookupError.html +3 -3
  131. data/docs/DropboxApi/Errors/MalformedPathError.html +3 -3
  132. data/docs/DropboxApi/Errors/NoAccountError.html +3 -3
  133. data/docs/DropboxApi/Errors/NoPermissionError.html +3 -3
  134. data/docs/DropboxApi/Errors/NoWritePermissionError.html +3 -3
  135. data/docs/DropboxApi/Errors/NotAMemberError.html +3 -3
  136. data/docs/DropboxApi/Errors/NotFileError.html +3 -3
  137. data/docs/DropboxApi/Errors/NotFolderError.html +3 -3
  138. data/docs/DropboxApi/Errors/NotFoundError.html +3 -3
  139. data/docs/DropboxApi/Errors/PollError.html +3 -3
  140. data/docs/DropboxApi/Errors/PreviewError.html +3 -3
  141. data/docs/DropboxApi/Errors/RateLimitError.html +3 -3
  142. data/docs/DropboxApi/Errors/RelocationError.html +3 -3
  143. data/docs/DropboxApi/Errors/RestoreError.html +3 -3
  144. data/docs/DropboxApi/Errors/RestrictedContentError.html +3 -3
  145. data/docs/DropboxApi/Errors/RevokeSharedLinkError.html +164 -0
  146. data/docs/DropboxApi/Errors/SaveCopyReferenceError.html +3 -3
  147. data/docs/DropboxApi/Errors/SaveUrlError.html +3 -3
  148. data/docs/DropboxApi/Errors/SearchError.html +3 -3
  149. data/docs/DropboxApi/Errors/SettingsError.html +3 -3
  150. data/docs/DropboxApi/Errors/ShareFolderError.html +3 -3
  151. data/docs/DropboxApi/Errors/SharePathError.html +3 -3
  152. data/docs/DropboxApi/Errors/SharedFolderAccessError.html +3 -3
  153. data/docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html +3 -3
  154. data/docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html +3 -3
  155. data/docs/DropboxApi/Errors/SharedLinkError.html +3 -3
  156. data/docs/DropboxApi/Errors/SharedLinkMalformedError.html +143 -0
  157. data/docs/DropboxApi/Errors/SharedLinkNotFoundError.html +3 -3
  158. data/docs/DropboxApi/Errors/SharingFileAccessError.html +3 -3
  159. data/docs/DropboxApi/Errors/SharingUserError.html +3 -3
  160. data/docs/DropboxApi/Errors/TeamFolderError.html +3 -3
  161. data/docs/DropboxApi/Errors/TeamPolicyDisallowsMemberPolicyError.html +3 -3
  162. data/docs/DropboxApi/Errors/ThumbnailBatchError.html +3 -3
  163. data/docs/DropboxApi/Errors/ThumbnailError.html +3 -3
  164. data/docs/DropboxApi/Errors/TooManyFilesError.html +3 -3
  165. data/docs/DropboxApi/Errors/TooManyMembersError.html +3 -3
  166. data/docs/DropboxApi/Errors/TooManyPendingInvitesError.html +3 -3
  167. data/docs/DropboxApi/Errors/TooManyRequestsError.html +3 -3
  168. data/docs/DropboxApi/Errors/TooManySharedFolderTargetsError.html +3 -3
  169. data/docs/DropboxApi/Errors/TooManyWriteOperationsError.html +3 -3
  170. data/docs/DropboxApi/Errors/UnmountedError.html +3 -3
  171. data/docs/DropboxApi/Errors/UnshareFileError.html +3 -3
  172. data/docs/DropboxApi/Errors/UnsupportedContentError.html +3 -3
  173. data/docs/DropboxApi/Errors/UnsupportedExtensionError.html +3 -3
  174. data/docs/DropboxApi/Errors/UnsupportedImageError.html +3 -3
  175. data/docs/DropboxApi/Errors/UnsupportedLinkTypeError.html +3 -3
  176. data/docs/DropboxApi/Errors/UnverifiedDropboxId.html +3 -3
  177. data/docs/DropboxApi/Errors/UploadError.html +3 -3
  178. data/docs/DropboxApi/Errors/UploadSessionFinishError.html +3 -3
  179. data/docs/DropboxApi/Errors/UploadSessionLookupError.html +3 -3
  180. data/docs/DropboxApi/Errors/UploadSessionOffsetError.html +3 -3
  181. data/docs/DropboxApi/Errors/UploadWriteFailedError.html +3 -3
  182. data/docs/DropboxApi/Errors/WriteConflictError.html +3 -3
  183. data/docs/DropboxApi/Errors/WriteError.html +3 -3
  184. data/docs/DropboxApi/Metadata.html +3 -3
  185. data/docs/DropboxApi/Metadata/AccessLevel.html +3 -3
  186. data/docs/DropboxApi/Metadata/AddFileMemberResult.html +3 -3
  187. data/docs/DropboxApi/Metadata/AddMember.html +3 -3
  188. data/docs/DropboxApi/Metadata/Base.html +3 -3
  189. data/docs/DropboxApi/Metadata/BasicAccount.html +3 -3
  190. data/docs/DropboxApi/Metadata/CommitInfo.html +3 -3
  191. data/docs/DropboxApi/Metadata/Deleted.html +3 -3
  192. data/docs/DropboxApi/Metadata/Dimensions.html +3 -3
  193. data/docs/DropboxApi/Metadata/Field.html +3 -3
  194. data/docs/DropboxApi/Metadata/File.html +3 -3
  195. data/docs/DropboxApi/Metadata/FileLinkMetadata.html +3 -3
  196. data/docs/DropboxApi/Metadata/FileMemberAction.html +3 -3
  197. data/docs/DropboxApi/Metadata/FileRequest.html +3 -3
  198. data/docs/DropboxApi/Metadata/Folder.html +3 -3
  199. data/docs/DropboxApi/Metadata/FolderLinkMetadata.html +3 -3
  200. data/docs/DropboxApi/Metadata/FolderSharingInfo.html +3 -3
  201. data/docs/DropboxApi/Metadata/LinkPermissions.html +3 -3
  202. data/docs/DropboxApi/Metadata/Location.html +3 -3
  203. data/docs/DropboxApi/Metadata/MediaInfo.html +3 -3
  204. data/docs/DropboxApi/Metadata/MediaMetadata.html +3 -3
  205. data/docs/DropboxApi/Metadata/Member.html +3 -3
  206. data/docs/DropboxApi/Metadata/MemberAction.html +3 -3
  207. data/docs/DropboxApi/Metadata/MemberActionList.html +3 -3
  208. data/docs/DropboxApi/Metadata/MemberPermission.html +3 -3
  209. data/docs/DropboxApi/Metadata/MemberPermissionList.html +3 -3
  210. data/docs/DropboxApi/Metadata/Name.html +3 -3
  211. data/docs/DropboxApi/Metadata/ParentFolderAccessInfo.html +3 -3
  212. data/docs/DropboxApi/Metadata/PhotoMetadata.html +3 -3
  213. data/docs/DropboxApi/Metadata/Resource.html +3 -3
  214. data/docs/DropboxApi/Metadata/SharedFolder.html +3 -3
  215. data/docs/DropboxApi/Metadata/SharedFolderPolicy.html +3 -3
  216. data/docs/DropboxApi/Metadata/SharedLink.html +3 -3
  217. data/docs/DropboxApi/Metadata/SharedLinkMetadata.html +3 -3
  218. data/docs/DropboxApi/Metadata/SpaceAllocation.html +3 -3
  219. data/docs/DropboxApi/Metadata/SpaceUsage.html +3 -3
  220. data/docs/DropboxApi/Metadata/Tag.html +3 -3
  221. data/docs/DropboxApi/Metadata/Team.html +3 -3
  222. data/docs/DropboxApi/Metadata/TeamMemberInfo.html +3 -3
  223. data/docs/DropboxApi/Metadata/ThumbnailBatchResultData.html +3 -3
  224. data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +3 -3
  225. data/docs/DropboxApi/Metadata/UploadSessionCursor.html +3 -3
  226. data/docs/DropboxApi/Metadata/VideoMetadata.html +3 -3
  227. data/docs/DropboxApi/Metadata/WriteMode.html +3 -3
  228. data/docs/DropboxApi/MiddleWare.html +3 -3
  229. data/docs/DropboxApi/MiddleWare/DecodeResult.html +3 -3
  230. data/docs/DropboxApi/MiddleWare/Stack.html +3 -3
  231. data/docs/DropboxApi/OptionsValidator.html +4 -4
  232. data/docs/DropboxApi/ResultBuilder.html +3 -3
  233. data/docs/DropboxApi/Results.html +3 -3
  234. data/docs/DropboxApi/Results/AddFileMemberResultList.html +3 -3
  235. data/docs/DropboxApi/Results/Base.html +3 -3
  236. data/docs/DropboxApi/Results/BasicAccountBatch.html +3 -3
  237. data/docs/DropboxApi/Results/GetCopyReferenceResult.html +3 -3
  238. data/docs/DropboxApi/Results/GetTemporaryLinkResult.html +3 -3
  239. data/docs/DropboxApi/Results/GetThumbnailBatchResult.html +3 -3
  240. data/docs/DropboxApi/Results/ListFolderGetLatestCursorResult.html +3 -3
  241. data/docs/DropboxApi/Results/ListFolderLongpollResult.html +3 -3
  242. data/docs/DropboxApi/Results/ListFolderResult.html +3 -3
  243. data/docs/DropboxApi/Results/ListRevisionsResult.html +3 -3
  244. data/docs/DropboxApi/Results/ListSharedLinksResult.html +3 -3
  245. data/docs/DropboxApi/Results/SaveCopyReferenceResult.html +3 -3
  246. data/docs/DropboxApi/Results/SaveUrlJobStatus.html +3 -3
  247. data/docs/DropboxApi/Results/SaveUrlResult.html +3 -3
  248. data/docs/DropboxApi/Results/Search.html +3 -3
  249. data/docs/DropboxApi/Results/Search/Match.html +3 -3
  250. data/docs/DropboxApi/Results/SearchResult.html +3 -3
  251. data/docs/DropboxApi/Results/ShareFolderLaunch.html +3 -3
  252. data/docs/DropboxApi/Results/SharedFileMembers.html +3 -3
  253. data/docs/DropboxApi/Results/SharedFolderMembers.html +3 -3
  254. data/docs/DropboxApi/Results/UploadSessionStart.html +3 -3
  255. data/docs/DropboxApi/Results/VoidResult.html +3 -3
  256. data/docs/DropboxScaffoldBuilder.html +3 -3
  257. data/docs/_index.html +29 -8
  258. data/docs/class_list.html +1 -1
  259. data/docs/file.README.html +3 -3
  260. data/docs/file.api_coverage.html +3 -3
  261. data/docs/file.rails_setup.html +3 -3
  262. data/docs/frames.html +1 -1
  263. data/docs/index.html +3 -3
  264. data/docs/method_list.html +230 -214
  265. data/docs/top-level-namespace.html +3 -3
  266. data/dropbox_api.gemspec +1 -3
  267. data/lib/dropbox_api.rb +16 -1
  268. data/lib/dropbox_api/endpoints/base.rb +3 -1
  269. data/lib/dropbox_api/endpoints/file_requests/create_file_request.rb +2 -2
  270. data/lib/dropbox_api/endpoints/files/copy_batch.rb +35 -0
  271. data/lib/dropbox_api/endpoints/files/copy_batch_check.rb +20 -0
  272. data/lib/dropbox_api/endpoints/files/create_folder_batch.rb +40 -0
  273. data/lib/dropbox_api/endpoints/files/create_folder_batch_check.rb +21 -0
  274. data/lib/dropbox_api/endpoints/files/delete_batch.rb +22 -0
  275. data/lib/dropbox_api/endpoints/files/delete_batch_check.rb +20 -0
  276. data/lib/dropbox_api/endpoints/files/upload.rb +1 -1
  277. data/lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb +1 -1
  278. data/lib/dropbox_api/errors/create_folder_batch_error.rb +7 -0
  279. data/lib/dropbox_api/errors/delete_error.rb +3 -2
  280. data/lib/dropbox_api/errors/relocation_batch_entry_error.rb +9 -0
  281. data/lib/dropbox_api/results/copy_batch_result.rb +14 -0
  282. data/lib/dropbox_api/results/create_folder_batch_result.rb +20 -0
  283. data/lib/dropbox_api/results/create_folder_batch_result_entry.rb +19 -0
  284. data/lib/dropbox_api/results/delete_batch_result.rb +20 -0
  285. data/lib/dropbox_api/results/delete_batch_result_entry.rb +15 -0
  286. data/lib/dropbox_api/results/relocation_batch_result.rb +20 -0
  287. data/lib/dropbox_api/results/relocation_batch_result_entry.rb +15 -0
  288. data/lib/dropbox_api/version.rb +1 -1
  289. data/yardoc/rspec.rb +5 -5
  290. metadata +37 -18
data/Gemfile CHANGED
@@ -4,6 +4,10 @@ gemspec
4
4
 
5
5
  group :development do
6
6
  # Documentation
7
- gem 'yard-rspec', :git => "https://github.com/Jesus/yard-spec-plugin.git"
8
7
  gem 'redcarpet'
8
+ gem 'yard-rspec', :git => "https://github.com/Jesus/yard-spec-plugin.git"
9
+
10
+ # Code linting
11
+ gem 'rubocop', :require => false
12
+ gem 'rubocop-rspec', :require => false
9
13
  end
data/TODO.md CHANGED
@@ -1,11 +1,20 @@
1
- # Short term goals
1
+ # Immediate
2
2
 
3
- - Remove dependency on faraday.
3
+ - Test all added classes since last release.
4
+ - Add scaffoldings for the new endpoints.
5
+ - Test all new paths to build errors & results.
6
+ - Update coverage document.
7
+ - Clear out Rubocop's TODO.
8
+ - Release!
9
+ - Update the guide to contribute, show how an endpoint is implemented and
10
+ documented.
11
+
12
+ # Mid-term
13
+
14
+ - Remove dependency on Faraday.
4
15
  - Complete full [API coverage](api_coverage.md).
5
16
 
6
- # Further on
17
+ # Dreaming
7
18
 
8
- - Improve the API reference page, help here:
9
- http://gnuu.org/2009/11/18/customizing-yard-templates/
10
- - Supporting streams would be great.
11
- - Add a layer to handle pagination, use `Enumerable`.
19
+ - Support streams.
20
+ - Add a layer to handle pagination.
@@ -38,16 +38,16 @@ API call | Status
38
38
  API call | Status
39
39
  --- | :---:
40
40
  `/copy` | 🌕
41
- `/copy_batch` | 🌑
42
- `/copy_batch/check` | 🌑
41
+ `/copy_batch` | 🌕
42
+ `/copy_batch/check` | 🌕
43
43
  `/copy_reference/get` | 🌕
44
44
  `/copy_reference/save` | 🌕
45
45
  `/create_folder` | 🌕
46
- `/create_folder_batch` | 🌑
47
- `/create_folder_batch/check` | 🌑
46
+ `/create_folder_batch` | 🌕
47
+ `/create_folder_batch/check` | 🌕
48
48
  `/delete` | 🌕
49
- `/delete_batch` | 🌑
50
- `/delete_batch/check` | 🌑
49
+ `/delete_batch` | 🌕
50
+ `/delete_batch/check` | 🌕
51
51
  `/download` | 🌔
52
52
  `/download_zip` | 🌑
53
53
  `/get_metadata` | 🌕
@@ -131,7 +131,7 @@ API call | Status
131
131
  `/relinquish_folder_membership` | 🌑
132
132
  `/remove_file_member_2` | 🌑
133
133
  `/remove_folder_member` | 🌑
134
- `/revoke_shared_link` | 🌑
134
+ `/revoke_shared_link` | 🌕
135
135
  `/set_access_inheritance` | 🌑
136
136
  `/share_folder` | 🌕
137
137
  `/transfer_folder` | 🌑
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: DropboxApi
8
8
 
9
- &mdash; Documentation by YARD 0.9.15
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -109,7 +109,7 @@
109
109
  <dt id="VERSION-constant" class="">VERSION =
110
110
 
111
111
  </dt>
112
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.1.15</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
112
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.1.16</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
113
113
 
114
114
  </dl>
115
115
 
@@ -125,9 +125,9 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Fri Nov 16 09:02:01 2018 by
128
+ Generated on Sat Feb 16 18:39:17 2019 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.9.15 (ruby-2.3.3).
130
+ 0.9.16 (ruby-2.3.3).
131
131
  </div>
132
132
 
133
133
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DropboxApi::Authenticator
8
8
 
9
- &mdash; Documentation by YARD 0.9.15
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -207,9 +207,9 @@
207
207
  </div>
208
208
 
209
209
  <div id="footer">
210
- Generated on Fri Nov 16 09:02:02 2018 by
210
+ Generated on Sat Feb 16 18:39:18 2019 by
211
211
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
212
- 0.9.15 (ruby-2.3.3).
212
+ 0.9.16 (ruby-2.3.3).
213
213
  </div>
214
214
 
215
215
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DropboxApi::ChunkedUploader
8
8
 
9
- &mdash; Documentation by YARD 0.9.15
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -401,9 +401,9 @@
401
401
  </div>
402
402
 
403
403
  <div id="footer">
404
- Generated on Fri Nov 16 09:02:02 2018 by
404
+ Generated on Sat Feb 16 18:39:18 2019 by
405
405
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
406
- 0.9.15 (ruby-2.3.3).
406
+ 0.9.16 (ruby-2.3.3).
407
407
  </div>
408
408
 
409
409
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DropboxApi::Client
8
8
 
9
- &mdash; Documentation by YARD 0.9.15
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -306,6 +306,29 @@
306
306
  <span class="summary_desc"><div class='inline'><p>List shared links of this user.</p>
307
307
  </div></span>
308
308
 
309
+ </li>
310
+
311
+
312
+ <li class="public ">
313
+ <span class="summary_signature">
314
+
315
+ <a href="#revoke_shared_link-instance_method" title="#revoke_shared_link (instance method)">#<strong>revoke_shared_link</strong>(url) &#x21d2; Object </a>
316
+
317
+
318
+
319
+ </span>
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+ <span class="summary_desc"><div class='inline'><p>Revoke a shared link.</p>
330
+ </div></span>
331
+
309
332
  </li>
310
333
 
311
334
 
@@ -2488,6 +2511,9 @@ the default visibility is :public. (The resolved
2488
2511
  visibility, though, may depend on other aspects such as team and shared
2489
2512
  folder settings).</p>
2490
2513
 
2514
+ <p>NOTE: The <code>settings</code> parameter will only work for pro, business or
2515
+ enterprise accounts. It will return no permission error otherwise.</p>
2516
+
2491
2517
 
2492
2518
  </div>
2493
2519
  </div>
@@ -2530,6 +2556,58 @@ created shared link This field is optional.</p>
2530
2556
 
2531
2557
  </ul>
2532
2558
 
2559
+
2560
+
2561
+
2562
+
2563
+
2564
+ <p class="tag_title">Options Hash (<tt>settings</tt>):</p>
2565
+ <ul class="option">
2566
+
2567
+ <li>
2568
+ <span class="name">requested_visibility</span>
2569
+ <span class="type">(<tt>Object</tt>)</span>
2570
+ <span class="default">
2571
+
2572
+ </span>
2573
+
2574
+ &mdash; <div class='inline'><p>The requested access for this
2575
+ shared link. This field is optional. Must be one of &quot;public&quot;,
2576
+ &quot;team_only&quot; or &quot;password&quot;.</p>
2577
+ </div>
2578
+
2579
+ </li>
2580
+
2581
+ <li>
2582
+ <span class="name">link_password</span>
2583
+ <span class="type">(<tt>Object</tt>)</span>
2584
+ <span class="default">
2585
+
2586
+ </span>
2587
+
2588
+ &mdash; <div class='inline'><p>If requested_visibility is
2589
+ &quot;password&quot; this is needed to specify the password to access the link.
2590
+ This field is optional.</p>
2591
+ </div>
2592
+
2593
+ </li>
2594
+
2595
+ <li>
2596
+ <span class="name">expires</span>
2597
+ <span class="type">(<tt>Object</tt>)</span>
2598
+ <span class="default">
2599
+
2600
+ </span>
2601
+
2602
+ &mdash; <div class='inline'><p>Expiration time of the shared link. By default
2603
+ the link won&#39;t expire. This field is optional.</p>
2604
+ </div>
2605
+
2606
+ </li>
2607
+
2608
+ </ul>
2609
+
2610
+
2533
2611
  <p class="tag_title">Returns:</p>
2534
2612
  <ul class="return">
2535
2613
 
@@ -2551,19 +2629,39 @@ created shared link This field is optional.</p>
2551
2629
  <pre class="lines">
2552
2630
 
2553
2631
 
2554
- 17
2555
- 18
2556
- 19
2557
- 20
2558
- 21</pre>
2632
+ 31
2633
+ 32
2634
+ 33
2635
+ 34
2636
+ 35
2637
+ 36
2638
+ 37
2639
+ 38
2640
+ 39
2641
+ 40
2642
+ 41
2643
+ 42
2644
+ 43
2645
+ 44
2646
+ 45</pre>
2559
2647
  </td>
2560
2648
  <td>
2561
- <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb', line 17</span>
2649
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb', line 31</span>
2562
2650
 
2563
2651
  <span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:create_shared_link_with_settings</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_settings'>settings</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='op'>|</span>
2564
- <span class='comment'># NOTE: This endpoint accepts an additional option `settings` which
2565
- </span> <span class='comment'># hasn&#39;t been implemented.
2566
- </span> <span class='id identifier rubyid_perform_request'>perform_request</span> <span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_path'>path</span>
2652
+ <span class='id identifier rubyid_validate_options'>validate_options</span><span class='lparen'>(</span><span class='lbracket'>[</span>
2653
+ <span class='symbol'>:requested_visibility</span><span class='comma'>,</span>
2654
+ <span class='symbol'>:link_password</span><span class='comma'>,</span>
2655
+ <span class='symbol'>:expires</span>
2656
+ <span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_settings'>settings</span><span class='rparen'>)</span>
2657
+ <span class='id identifier rubyid_settings'>settings</span><span class='lbracket'>[</span><span class='symbol'>:requested_visibility</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>public</span><span class='tstring_end'>&#39;</span></span>
2658
+ <span class='id identifier rubyid_settings'>settings</span><span class='lbracket'>[</span><span class='symbol'>:link_password</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='kw'>nil</span>
2659
+ <span class='id identifier rubyid_settings'>settings</span><span class='lbracket'>[</span><span class='symbol'>:expires</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='kw'>nil</span>
2660
+
2661
+ <span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='lbrace'>{</span>
2662
+ <span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span>
2663
+ <span class='symbol'>:settings</span><span class='op'>=&gt;</span> <span class='id identifier rubyid_settings'>settings</span>
2664
+ <span class='rbrace'>}</span><span class='rparen'>)</span>
2567
2665
  <span class='kw'>end</span></pre>
2568
2666
  </td>
2569
2667
  </tr>
@@ -2672,7 +2770,7 @@ deleting a folder. If the given &quot;rev&quot; doesn&#39;t match, a
2672
2770
  </li>
2673
2771
 
2674
2772
  <li>
2675
- wont&#39; delete the file if `parent_rev` doesn&#39;t match
2773
+ won&#39;t delete the file if `parent_rev` doesn&#39;t match
2676
2774
  <table class="source_code test_code">
2677
2775
  <tr>
2678
2776
  <td>
@@ -4817,6 +4915,21 @@ is set for photo and video. The default for this field is <code>false</code>.</p
4817
4915
  returned for deleted file or folder, otherwise
4818
4916
  <span class='object_link'><a href="Errors/NotFoundError.html" title="DropboxApi::Errors::NotFoundError (class)">Errors::NotFoundError</a></span>
4819
4917
  will be raised. The default for this field is <code>false</code>.</p>
4918
+ </div>
4919
+
4920
+ </li>
4921
+
4922
+ <li>
4923
+ <span class="name">limit</span>
4924
+ <span class="type">(<tt>Numeric</tt>)</span>
4925
+ <span class="default">
4926
+
4927
+ </span>
4928
+
4929
+ &mdash; <div class='inline'><p>If present, will specify max number of
4930
+ results per request (Note:
4931
+ <a href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_parent" title="Dropbox docs">Dropbox docs</a> indicate
4932
+ this is &quot;approximate&quot;, and more may be returned)</p>
4820
4933
  </div>
4821
4934
 
4822
4935
  </li>
@@ -4843,7 +4956,7 @@ will be raised. The default for this field is <code>false</code>.</p>
4843
4956
  9</pre>
4844
4957
  </td>
4845
4958
  <td>
4846
- <pre class="code"><span class="info file"># File 'spec/endpoints/files/list_folder_spec.rb', line 24</span>
4959
+ <pre class="code"><span class="info file"># File 'spec/endpoints/files/list_folder_spec.rb', line 28</span>
4847
4960
 
4848
4961
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list_folder'>list_folder</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
4849
4962
 
@@ -4866,7 +4979,7 @@ will be raised. The default for this field is <code>false</code>.</p>
4866
4979
  15</pre>
4867
4980
  </td>
4868
4981
  <td>
4869
- <pre class="code"><span class="info file"># File 'spec/endpoints/files/list_folder_spec.rb', line 24</span>
4982
+ <pre class="code"><span class="info file"># File 'spec/endpoints/files/list_folder_spec.rb', line 28</span>
4870
4983
 
4871
4984
  <span class='id identifier rubyid_expect'>expect</span> <span class='lbrace'>{</span>
4872
4985
  <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list_folder'>list_folder</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/unexisting_folder</span><span class='tstring_end'>&quot;</span></span>
@@ -4891,7 +5004,7 @@ will be raised. The default for this field is <code>false</code>.</p>
4891
5004
  23</pre>
4892
5005
  </td>
4893
5006
  <td>
4894
- <pre class="code"><span class="info file"># File 'spec/endpoints/files/list_folder_spec.rb', line 24</span>
5007
+ <pre class="code"><span class="info file"># File 'spec/endpoints/files/list_folder_spec.rb', line 28</span>
4895
5008
 
4896
5009
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list_folder'>list_folder</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
4897
5010
 
@@ -4920,7 +5033,7 @@ will be raised. The default for this field is <code>false</code>.</p>
4920
5033
  33</pre>
4921
5034
  </td>
4922
5035
  <td>
4923
- <pre class="code"><span class="info file"># File 'spec/endpoints/files/list_folder_spec.rb', line 24</span>
5036
+ <pre class="code"><span class="info file"># File 'spec/endpoints/files/list_folder_spec.rb', line 28</span>
4924
5037
 
4925
5038
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list_shared_links'>list_shared_links</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_path_prefix'>path_prefix</span><span class='embexpr_end'>}</span><span class='tstring_content'>/shared_folder</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
4926
5039
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list_folder'>list_folder</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>shared_link:</span> <span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_links'>links</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='period'>.</span><span class='id identifier rubyid_url'>url</span>
@@ -4947,7 +5060,7 @@ will be raised. The default for this field is <code>false</code>.</p>
4947
5060
  39</pre>
4948
5061
  </td>
4949
5062
  <td>
4950
- <pre class="code"><span class="info file"># File 'spec/endpoints/files/list_folder_spec.rb', line 24</span>
5063
+ <pre class="code"><span class="info file"># File 'spec/endpoints/files/list_folder_spec.rb', line 28</span>
4951
5064
 
4952
5065
  <span class='id identifier rubyid_expect'>expect</span> <span class='lbrace'>{</span>
4953
5066
  <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list_folder'>list_folder</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/img.png</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='symbol'>:invalid_arg</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>value</span><span class='tstring_end'>&quot;</span></span>
@@ -4966,10 +5079,6 @@ will be raised. The default for this field is <code>false</code>.</p>
4966
5079
  <pre class="lines">
4967
5080
 
4968
5081
 
4969
- 24
4970
- 25
4971
- 26
4972
- 27
4973
5082
  28
4974
5083
  29
4975
5084
  30
@@ -4982,10 +5091,16 @@ will be raised. The default for this field is <code>false</code>.</p>
4982
5091
  37
4983
5092
  38
4984
5093
  39
4985
- 40</pre>
5094
+ 40
5095
+ 41
5096
+ 42
5097
+ 43
5098
+ 44
5099
+ 45
5100
+ 46</pre>
4986
5101
  </td>
4987
5102
  <td>
4988
- <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/list_folder.rb', line 24</span>
5103
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/list_folder.rb', line 28</span>
4989
5104
 
4990
5105
  <span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:list_folder</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='op'>|</span>
4991
5106
  <span class='id identifier rubyid_validate_options'>validate_options</span><span class='lparen'>(</span><span class='lbracket'>[</span>
@@ -4993,13 +5108,15 @@ will be raised. The default for this field is <code>false</code>.</p>
4993
5108
  <span class='symbol'>:include_media_info</span><span class='comma'>,</span>
4994
5109
  <span class='symbol'>:include_deleted</span><span class='comma'>,</span>
4995
5110
  <span class='symbol'>:shared_link</span><span class='comma'>,</span>
4996
- <span class='symbol'>:include_has_explicit_shared_members</span>
5111
+ <span class='symbol'>:include_has_explicit_shared_members</span><span class='comma'>,</span>
5112
+ <span class='symbol'>:limit</span>
4997
5113
  <span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
4998
5114
  <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:recursive</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='kw'>false</span>
4999
5115
  <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:include_media_info</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='kw'>false</span>
5000
5116
  <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:include_deleted</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='kw'>false</span>
5001
5117
  <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:shared_link</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_build_shared_link_param'>build_shared_link_param</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:shared_link</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:shared_link</span><span class='rbracket'>]</span>
5002
-
5118
+ <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
5119
+
5003
5120
  <span class='id identifier rubyid_perform_request'>perform_request</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span>
5004
5121
  <span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_path'>path</span>
5005
5122
  <span class='rbrace'>}</span><span class='rparen'>)</span>
@@ -6485,6 +6602,75 @@ deleting a folder.</p>
6485
6602
  </td>
6486
6603
  </tr>
6487
6604
  </table>
6605
+ </div>
6606
+
6607
+ <div class="method_details ">
6608
+ <h3 class="signature " id="revoke_shared_link-instance_method">
6609
+
6610
+ #<strong>revoke_shared_link</strong>(url) &#x21d2; <tt>Object</tt>
6611
+
6612
+
6613
+
6614
+
6615
+
6616
+ </h3><div class="docstring">
6617
+ <div class="discussion">
6618
+ <p>Revoke a shared link.</p>
6619
+
6620
+ <p>Note that even after revoking a shared link to a file, the file may be accessible
6621
+ if there are shared links leading to any of the file parent folders. </p>
6622
+
6623
+ <p>A successful response indicates that the shared link was revoked.</p>
6624
+
6625
+
6626
+ </div>
6627
+ </div>
6628
+ <div class="tags">
6629
+ <p class="tag_title">Parameters:</p>
6630
+ <ul class="param">
6631
+
6632
+ <li>
6633
+
6634
+ <span class='name'>url</span>
6635
+
6636
+
6637
+ <span class='type'>(<tt>String</tt>)</span>
6638
+
6639
+
6640
+
6641
+ &mdash;
6642
+ <div class='inline'><p>shared url which needs to be revoked.</p>
6643
+ </div>
6644
+
6645
+ </li>
6646
+
6647
+ </ul>
6648
+
6649
+
6650
+ </div>
6651
+ <table class="source_code">
6652
+ <tr>
6653
+ <td>
6654
+ <pre class="lines">
6655
+
6656
+
6657
+ 17
6658
+ 18
6659
+ 19
6660
+ 20
6661
+ 21</pre>
6662
+ </td>
6663
+ <td>
6664
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb', line 17</span>
6665
+
6666
+ <span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:revoke_shared_link</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_url'>url</span><span class='op'>|</span>
6667
+ <span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='lbrace'>{</span>
6668
+ <span class='symbol'>:url</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_url'>url</span>
6669
+ <span class='rbrace'>}</span><span class='rparen'>)</span>
6670
+ <span class='kw'>end</span></pre>
6671
+ </td>
6672
+ </tr>
6673
+ </table>
6488
6674
  </div>
6489
6675
 
6490
6676
  <div class="method_details ">
@@ -8737,9 +8923,9 @@ that you can use to continue the upload afterwards.</p>
8737
8923
  </div>
8738
8924
 
8739
8925
  <div id="footer">
8740
- Generated on Fri Nov 16 09:02:02 2018 by
8926
+ Generated on Sat Feb 16 18:39:18 2019 by
8741
8927
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
8742
- 0.9.15 (ruby-2.3.3).
8928
+ 0.9.16 (ruby-2.3.3).
8743
8929
  </div>
8744
8930
 
8745
8931
  </div>