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
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DropboxApi::Endpoints::Sharing::CreateSharedLinkWithSettings
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
 
@@ -91,6 +91,11 @@
91
91
 
92
92
 
93
93
 
94
+ <dl>
95
+ <dt>Includes:</dt>
96
+ <dd><span class='object_link'><a href="../../OptionsValidator.html" title="DropboxApi::OptionsValidator (module)">OptionsValidator</a></span></dd>
97
+ </dl>
98
+
94
99
 
95
100
 
96
101
 
@@ -184,6 +189,17 @@
184
189
 
185
190
 
186
191
 
192
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="../../OptionsValidator.html" title="DropboxApi::OptionsValidator (module)">OptionsValidator</a></span></h3>
193
+ <p class="inherited"><span class='object_link'><a href="../../OptionsValidator.html#validate_options-instance_method" title="DropboxApi::OptionsValidator#validate_options (method)">#validate_options</a></span></p>
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
187
203
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Rpc.html" title="DropboxApi::Endpoints::Rpc (class)">Rpc</a></span></h3>
188
204
  <p class="inherited"><span class='object_link'><a href="../Rpc.html#build_request-instance_method" title="DropboxApi::Endpoints::Rpc#build_request (method)">#build_request</a></span>, <span class='object_link'><a href="../Rpc.html#initialize-instance_method" title="DropboxApi::Endpoints::Rpc#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Rpc.html#request_body-instance_method" title="DropboxApi::Endpoints::Rpc#request_body (method)">#request_body</a></span></p>
189
205
 
@@ -225,6 +241,9 @@ the default visibility is :public. (The resolved
225
241
  visibility, though, may depend on other aspects such as team and shared
226
242
  folder settings).</p>
227
243
 
244
+ <p>NOTE: The <code>settings</code> parameter will only work for pro, business or
245
+ enterprise accounts. It will return no permission error otherwise.</p>
246
+
228
247
 
229
248
  </div>
230
249
  </div>
@@ -267,6 +286,58 @@ created shared link This field is optional.</p>
267
286
 
268
287
  </ul>
269
288
 
289
+
290
+
291
+
292
+
293
+
294
+ <p class="tag_title">Options Hash (<tt>settings</tt>):</p>
295
+ <ul class="option">
296
+
297
+ <li>
298
+ <span class="name">requested_visibility</span>
299
+ <span class="type">(<tt>Object</tt>)</span>
300
+ <span class="default">
301
+
302
+ </span>
303
+
304
+ &mdash; <div class='inline'><p>The requested access for this
305
+ shared link. This field is optional. Must be one of &quot;public&quot;,
306
+ &quot;team_only&quot; or &quot;password&quot;.</p>
307
+ </div>
308
+
309
+ </li>
310
+
311
+ <li>
312
+ <span class="name">link_password</span>
313
+ <span class="type">(<tt>Object</tt>)</span>
314
+ <span class="default">
315
+
316
+ </span>
317
+
318
+ &mdash; <div class='inline'><p>If requested_visibility is
319
+ &quot;password&quot; this is needed to specify the password to access the link.
320
+ This field is optional.</p>
321
+ </div>
322
+
323
+ </li>
324
+
325
+ <li>
326
+ <span class="name">expires</span>
327
+ <span class="type">(<tt>Object</tt>)</span>
328
+ <span class="default">
329
+
330
+ </span>
331
+
332
+ &mdash; <div class='inline'><p>Expiration time of the shared link. By default
333
+ the link won&#39;t expire. This field is optional.</p>
334
+ </div>
335
+
336
+ </li>
337
+
338
+ </ul>
339
+
340
+
270
341
  <p class="tag_title">Returns:</p>
271
342
  <ul class="return">
272
343
 
@@ -288,19 +359,39 @@ created shared link This field is optional.</p>
288
359
  <pre class="lines">
289
360
 
290
361
 
291
- 17
292
- 18
293
- 19
294
- 20
295
- 21</pre>
362
+ 31
363
+ 32
364
+ 33
365
+ 34
366
+ 35
367
+ 36
368
+ 37
369
+ 38
370
+ 39
371
+ 40
372
+ 41
373
+ 42
374
+ 43
375
+ 44
376
+ 45</pre>
296
377
  </td>
297
378
  <td>
298
- <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb', line 17</span>
379
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb', line 31</span>
299
380
 
300
381
  <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>
301
- <span class='comment'># NOTE: This endpoint accepts an additional option `settings` which
302
- </span> <span class='comment'># has been implemented but will work only for pro users and it will return no permission error for basic users.
303
- </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>
382
+ <span class='id identifier rubyid_validate_options'>validate_options</span><span class='lparen'>(</span><span class='lbracket'>[</span>
383
+ <span class='symbol'>:requested_visibility</span><span class='comma'>,</span>
384
+ <span class='symbol'>:link_password</span><span class='comma'>,</span>
385
+ <span class='symbol'>:expires</span>
386
+ <span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_settings'>settings</span><span class='rparen'>)</span>
387
+ <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>
388
+ <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>
389
+ <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>
390
+
391
+ <span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='lbrace'>{</span>
392
+ <span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span>
393
+ <span class='symbol'>:settings</span><span class='op'>=&gt;</span> <span class='id identifier rubyid_settings'>settings</span>
394
+ <span class='rbrace'>}</span><span class='rparen'>)</span>
304
395
  <span class='kw'>end</span></pre>
305
396
  </td>
306
397
  </tr>
@@ -312,9 +403,9 @@ created shared link This field is optional.</p>
312
403
  </div>
313
404
 
314
405
  <div id="footer">
315
- Generated on Fri Nov 16 09:02:07 2018 by
406
+ Generated on Sat Feb 16 18:39:24 2019 by
316
407
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
317
- 0.9.15 (ruby-2.3.3).
408
+ 0.9.16 (ruby-2.3.3).
318
409
  </div>
319
410
 
320
411
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DropboxApi::Endpoints::Sharing::GetSharedLinkMetadata
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
 
@@ -334,9 +334,9 @@ a password, this parameter can be used.</p>
334
334
  </div>
335
335
 
336
336
  <div id="footer">
337
- Generated on Fri Nov 16 09:02:07 2018 by
337
+ Generated on Sat Feb 16 18:39:23 2019 by
338
338
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
339
- 0.9.15 (ruby-2.3.3).
339
+ 0.9.16 (ruby-2.3.3).
340
340
  </div>
341
341
 
342
342
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DropboxApi::Endpoints::Sharing::ListFileMembers
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
 
@@ -411,9 +411,9 @@ for this field is 100.</p>
411
411
  </div>
412
412
 
413
413
  <div id="footer">
414
- Generated on Fri Nov 16 09:02:07 2018 by
414
+ Generated on Sat Feb 16 18:39:23 2019 by
415
415
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
416
- 0.9.15 (ruby-2.3.3).
416
+ 0.9.16 (ruby-2.3.3).
417
417
  </div>
418
418
 
419
419
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DropboxApi::Endpoints::Sharing::ListFolderMembers
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
 
@@ -390,9 +390,9 @@ for this field is 1000.</p>
390
390
  </div>
391
391
 
392
392
  <div id="footer">
393
- Generated on Fri Nov 16 09:02:07 2018 by
393
+ Generated on Sat Feb 16 18:39:23 2019 by
394
394
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
395
- 0.9.15 (ruby-2.3.3).
395
+ 0.9.16 (ruby-2.3.3).
396
396
  </div>
397
397
 
398
398
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DropboxApi::Endpoints::Sharing::ListSharedLinks
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
 
@@ -335,9 +335,9 @@ be suppressed by setting direct_only to true.</p>
335
335
  </div>
336
336
 
337
337
  <div id="footer">
338
- Generated on Fri Nov 16 09:02:07 2018 by
338
+ Generated on Sat Feb 16 18:39:23 2019 by
339
339
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
340
- 0.9.15 (ruby-2.3.3).
340
+ 0.9.16 (ruby-2.3.3).
341
341
  </div>
342
342
 
343
343
  </div>
@@ -0,0 +1,293 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: DropboxApi::Endpoints::Sharing::RevokeSharedLink
8
+
9
+ &mdash; Documentation by YARD 0.9.16
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "DropboxApi::Endpoints::Sharing::RevokeSharedLink";
19
+ relpath = '../../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../../_index.html">Index (R)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../../DropboxApi.html" title="DropboxApi (module)">DropboxApi</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Endpoints.html" title="DropboxApi::Endpoints (module)">Endpoints</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Sharing.html" title="DropboxApi::Endpoints::Sharing (module)">Sharing</a></span></span>
41
+ &raquo;
42
+ <span class="title">RevokeSharedLink</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: DropboxApi::Endpoints::Sharing::RevokeSharedLink
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="../Rpc.html" title="DropboxApi::Endpoints::Rpc (class)">Rpc</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="../Base.html" title="DropboxApi::Endpoints::Base (class)">Base</a></span></li>
78
+
79
+ <li class="next"><span class='object_link'><a href="../Rpc.html" title="DropboxApi::Endpoints::Rpc (class)">Rpc</a></span></li>
80
+
81
+ <li class="next">DropboxApi::Endpoints::Sharing::RevokeSharedLink</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+ </dl>
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+ <dl>
100
+ <dt>Defined in:</dt>
101
+ <dd>lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb</dd>
102
+ </dl>
103
+
104
+ </div>
105
+
106
+
107
+
108
+ <h2>
109
+ Constant Summary
110
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
111
+ </h2>
112
+
113
+ <dl class="constants">
114
+
115
+ <dt id="Method-constant" class="">Method =
116
+
117
+ </dt>
118
+ <dd><pre class="code"><span class='symbol'>:post</span></pre></dd>
119
+
120
+ <dt id="Path-constant" class="">Path =
121
+
122
+ </dt>
123
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/2/sharing/revoke_shared_link</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
124
+
125
+ <dt id="ResultType-constant" class="">ResultType =
126
+
127
+ </dt>
128
+ <dd><pre class="code"><span class='const'><span class='object_link'><a href="../../../DropboxApi.html" title="DropboxApi (module)">DropboxApi</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Results.html" title="DropboxApi::Results (module)">Results</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Results/VoidResult.html" title="DropboxApi::Results::VoidResult (class)">VoidResult</a></span></span></pre></dd>
129
+
130
+ <dt id="ErrorType-constant" class="">ErrorType =
131
+
132
+ </dt>
133
+ <dd><pre class="code"><span class='const'><span class='object_link'><a href="../../../DropboxApi.html" title="DropboxApi (module)">DropboxApi</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Errors.html" title="DropboxApi::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Errors/RevokeSharedLinkError.html" title="DropboxApi::Errors::RevokeSharedLinkError (class)">RevokeSharedLinkError</a></span></span></pre></dd>
134
+
135
+ </dl>
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <h2>
146
+ Instance Method Summary
147
+ <small><a href="#" class="summary_toggle">collapse</a></small>
148
+ </h2>
149
+
150
+ <ul class="summary">
151
+
152
+ <li class="public ">
153
+ <span class="summary_signature">
154
+
155
+ <a href="#revoke_shared_link-instance_method" title="#revoke_shared_link (instance method)">#<strong>revoke_shared_link</strong>(url) &#x21d2; Object </a>
156
+
157
+
158
+
159
+ </span>
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+ <span class="summary_desc"><div class='inline'><p>Revoke a shared link.</p>
170
+ </div></span>
171
+
172
+ </li>
173
+
174
+
175
+ </ul>
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Rpc.html" title="DropboxApi::Endpoints::Rpc (class)">Rpc</a></span></h3>
188
+ <p class="inherited"><span class='object_link'><a href="../Rpc.html#build_request-instance_method" title="DropboxApi::Endpoints::Rpc#build_request (method)">#build_request</a></span>, <span class='object_link'><a href="../Rpc.html#initialize-instance_method" title="DropboxApi::Endpoints::Rpc#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Rpc.html#request_body-instance_method" title="DropboxApi::Endpoints::Rpc#request_body (method)">#request_body</a></span></p>
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="DropboxApi::Endpoints::Base (class)">Base</a></span></h3>
199
+ <p class="inherited"><span class='object_link'><a href="../Base.html#add_endpoint-class_method" title="DropboxApi::Endpoints::Base.add_endpoint (method)">add_endpoint</a></span></p>
200
+ <div id="constructor_details" class="method_details_list">
201
+ <h2>Constructor Details</h2>
202
+
203
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Rpc.html#initialize-instance_method" title="DropboxApi::Endpoints::Rpc#initialize (method)">DropboxApi::Endpoints::Rpc</a></span></p>
204
+
205
+ </div>
206
+
207
+
208
+ <div id="instance_method_details" class="method_details_list">
209
+ <h2>Instance Method Details</h2>
210
+
211
+
212
+ <div class="method_details first">
213
+ <h3 class="signature first" id="revoke_shared_link-instance_method">
214
+
215
+ #<strong>revoke_shared_link</strong>(url) &#x21d2; <tt>Object</tt>
216
+
217
+
218
+
219
+
220
+
221
+ </h3><div class="docstring">
222
+ <div class="discussion">
223
+ <p>Revoke a shared link.</p>
224
+
225
+ <p>Note that even after revoking a shared link to a file, the file may be accessible
226
+ if there are shared links leading to any of the file parent folders. </p>
227
+
228
+ <p>A successful response indicates that the shared link was revoked.</p>
229
+
230
+
231
+ </div>
232
+ </div>
233
+ <div class="tags">
234
+ <p class="tag_title">Parameters:</p>
235
+ <ul class="param">
236
+
237
+ <li>
238
+
239
+ <span class='name'>url</span>
240
+
241
+
242
+ <span class='type'>(<tt>String</tt>)</span>
243
+
244
+
245
+
246
+ &mdash;
247
+ <div class='inline'><p>shared url which needs to be revoked.</p>
248
+ </div>
249
+
250
+ </li>
251
+
252
+ </ul>
253
+
254
+
255
+ </div>
256
+ <table class="source_code">
257
+ <tr>
258
+ <td>
259
+ <pre class="lines">
260
+
261
+
262
+ 17
263
+ 18
264
+ 19
265
+ 20
266
+ 21</pre>
267
+ </td>
268
+ <td>
269
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb', line 17</span>
270
+
271
+ <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>
272
+ <span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='lbrace'>{</span>
273
+ <span class='symbol'>:url</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_url'>url</span>
274
+ <span class='rbrace'>}</span><span class='rparen'>)</span>
275
+ <span class='kw'>end</span></pre>
276
+ </td>
277
+ </tr>
278
+ </table>
279
+ </div>
280
+
281
+ </div>
282
+
283
+ </div>
284
+
285
+ <div id="footer">
286
+ Generated on Sat Feb 16 18:39:23 2019 by
287
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
288
+ 0.9.16 (ruby-2.3.3).
289
+ </div>
290
+
291
+ </div>
292
+ </body>
293
+ </html>