dropbox_api 0.1.16 → 0.1.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (515) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +15 -0
  4. data/.travis.yml +0 -2
  5. data/Gemfile +26 -1
  6. data/README.md +120 -24
  7. data/Rakefile +4 -3
  8. data/TODO.md +24 -7
  9. data/api_coverage.md +8 -8
  10. data/bin/console +4 -3
  11. data/docs/DropboxApi/Authenticator.html +14 -20
  12. data/docs/DropboxApi/ChunkedUploader.html +20 -20
  13. data/docs/DropboxApi/Client.html +3446 -992
  14. data/docs/DropboxApi/ConnectionBuilder.html +266 -31
  15. data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +13 -13
  16. data/docs/DropboxApi/Endpoints/Auth.html +6 -6
  17. data/docs/DropboxApi/Endpoints/Base.html +92 -11
  18. data/docs/DropboxApi/Endpoints/ContentDownload.html +37 -48
  19. data/docs/DropboxApi/Endpoints/ContentUpload.html +35 -46
  20. data/docs/DropboxApi/Endpoints/Files/Copy.html +15 -15
  21. data/docs/DropboxApi/Endpoints/Files/CopyBatch.html +359 -0
  22. data/docs/DropboxApi/Endpoints/Files/CopyBatchCheck.html +305 -0
  23. data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +14 -14
  24. data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +15 -15
  25. data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +13 -13
  26. data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +14 -14
  27. data/docs/DropboxApi/Endpoints/Files/CreateFolderBatch.html +377 -0
  28. data/docs/DropboxApi/Endpoints/Files/CreateFolderBatchCheck.html +308 -0
  29. data/docs/DropboxApi/Endpoints/Files/Delete.html +14 -14
  30. data/docs/DropboxApi/Endpoints/Files/DeleteBatch.html +305 -0
  31. data/docs/DropboxApi/Endpoints/Files/DeleteBatchCheck.html +307 -0
  32. data/docs/DropboxApi/Endpoints/Files/Download.html +14 -14
  33. data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +14 -14
  34. data/docs/DropboxApi/Endpoints/Files/GetPreview.html +14 -14
  35. data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +14 -14
  36. data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +14 -14
  37. data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +19 -19
  38. data/docs/DropboxApi/Endpoints/Files/ListFolder.html +39 -20
  39. data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +14 -14
  40. data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +13 -13
  41. data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +15 -15
  42. data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +14 -14
  43. data/docs/DropboxApi/Endpoints/Files/Move.html +15 -15
  44. data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +14 -14
  45. data/docs/DropboxApi/Endpoints/Files/Restore.html +15 -15
  46. data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +15 -15
  47. data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +14 -14
  48. data/docs/DropboxApi/Endpoints/Files/Search.html +51 -99
  49. data/docs/DropboxApi/Endpoints/Files/SearchContinue.html +300 -0
  50. data/docs/DropboxApi/Endpoints/Files/Upload.html +14 -14
  51. data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +14 -14
  52. data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +15 -15
  53. data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +15 -15
  54. data/docs/DropboxApi/Endpoints/Files.html +8 -8
  55. data/docs/DropboxApi/Endpoints/Rpc.html +36 -47
  56. data/docs/DropboxApi/Endpoints/RpcContent.html +28 -33
  57. data/docs/DropboxApi/Endpoints/RpcNotify.html +28 -33
  58. data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +15 -15
  59. data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +15 -15
  60. data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +110 -19
  61. data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +14 -14
  62. data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +15 -15
  63. data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +15 -15
  64. data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +13 -13
  65. data/docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html +293 -0
  66. data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +14 -14
  67. data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +14 -14
  68. data/docs/DropboxApi/Endpoints/Sharing.html +8 -8
  69. data/docs/DropboxApi/Endpoints/Users/GetAccount.html +14 -14
  70. data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +14 -14
  71. data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +13 -13
  72. data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +13 -13
  73. data/docs/DropboxApi/Endpoints/Users.html +6 -6
  74. data/docs/DropboxApi/Endpoints.html +6 -6
  75. data/docs/DropboxApi/Errors/AddFileMemberError.html +10 -10
  76. data/docs/DropboxApi/Errors/AddFolderMemberError.html +16 -16
  77. data/docs/DropboxApi/Errors/AddMemberSelectorError.html +11 -11
  78. data/docs/DropboxApi/Errors/AlreadySharedError.html +9 -9
  79. data/docs/DropboxApi/Errors/BadPathError.html +6 -6
  80. data/docs/DropboxApi/Errors/BasicError.html +18 -18
  81. data/docs/DropboxApi/Errors/CantCopySharedFolderError.html +6 -6
  82. data/docs/DropboxApi/Errors/CantMoveFolderIntoItselfError.html +6 -6
  83. data/docs/DropboxApi/Errors/CantNestSharedFolderError.html +6 -6
  84. data/docs/DropboxApi/Errors/CantShareOutsideTeamError.html +6 -6
  85. data/docs/DropboxApi/Errors/ContainsSharedFolderError.html +6 -6
  86. data/docs/DropboxApi/Errors/ConversionError.html +6 -6
  87. data/docs/DropboxApi/Errors/CreateFileRequestError.html +6 -6
  88. data/docs/DropboxApi/Errors/CreateFolderBatchError.html +161 -0
  89. data/docs/DropboxApi/Errors/CreateFolderError.html +7 -7
  90. data/docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html +11 -11
  91. data/docs/DropboxApi/Errors/CursorClosedError.html +6 -6
  92. data/docs/DropboxApi/Errors/CursorNotClosedError.html +6 -6
  93. data/docs/DropboxApi/Errors/DeleteError.html +9 -8
  94. data/docs/DropboxApi/Errors/DisallowedNameError.html +6 -6
  95. data/docs/DropboxApi/Errors/DisallowedSharedLinkPolicyError.html +6 -6
  96. data/docs/DropboxApi/Errors/DownloadError.html +7 -7
  97. data/docs/DropboxApi/Errors/DownloadFailedError.html +6 -6
  98. data/docs/DropboxApi/Errors/EmailUnverifiedError.html +6 -6
  99. data/docs/DropboxApi/Errors/ExpiredAccessTokenError.html +143 -0
  100. data/docs/DropboxApi/Errors/FileAncestorConflictError.html +6 -6
  101. data/docs/DropboxApi/Errors/FileConflictError.html +6 -6
  102. data/docs/DropboxApi/Errors/FileMemberActionError.html +10 -10
  103. data/docs/DropboxApi/Errors/FolderConflictError.html +6 -6
  104. data/docs/DropboxApi/Errors/GetAccountError.html +7 -7
  105. data/docs/DropboxApi/Errors/GetCopyReferenceError.html +7 -7
  106. data/docs/DropboxApi/Errors/GetMetadataError.html +7 -7
  107. data/docs/DropboxApi/Errors/GroupDeletedError.html +6 -6
  108. data/docs/DropboxApi/Errors/GroupNotOnTeamError.html +6 -6
  109. data/docs/DropboxApi/Errors/HttpError.html +6 -6
  110. data/docs/DropboxApi/Errors/InProgressError.html +6 -6
  111. data/docs/DropboxApi/Errors/InsideAppFolderError.html +6 -6
  112. data/docs/DropboxApi/Errors/InsideOsxPackageError.html +6 -6
  113. data/docs/DropboxApi/Errors/InsidePublicFolderError.html +6 -6
  114. data/docs/DropboxApi/Errors/InsideSharedFolderError.html +6 -6
  115. data/docs/DropboxApi/Errors/InsufficientPlanError.html +6 -6
  116. data/docs/DropboxApi/Errors/InsufficientSpaceError.html +6 -6
  117. data/docs/DropboxApi/Errors/InternalError.html +6 -6
  118. data/docs/DropboxApi/Errors/InvalidCommentError.html +6 -6
  119. data/docs/DropboxApi/Errors/InvalidCopyReferenceError.html +6 -6
  120. data/docs/DropboxApi/Errors/InvalidCursorError.html +6 -6
  121. data/docs/DropboxApi/Errors/InvalidDropboxIdError.html +6 -6
  122. data/docs/DropboxApi/Errors/InvalidEmailError.html +6 -6
  123. data/docs/DropboxApi/Errors/InvalidFileError.html +6 -6
  124. data/docs/DropboxApi/Errors/InvalidIdError.html +6 -6
  125. data/docs/DropboxApi/Errors/InvalidMemberError.html +6 -6
  126. data/docs/DropboxApi/Errors/InvalidPathError.html +6 -6
  127. data/docs/DropboxApi/Errors/InvalidRevisionError.html +6 -6
  128. data/docs/DropboxApi/Errors/InvalidSettingsError.html +6 -6
  129. data/docs/DropboxApi/Errors/InvalidUrlError.html +6 -6
  130. data/docs/DropboxApi/Errors/IsAppFolderError.html +6 -6
  131. data/docs/DropboxApi/Errors/IsFileError.html +6 -6
  132. data/docs/DropboxApi/Errors/IsFolderError.html +6 -6
  133. data/docs/DropboxApi/Errors/IsOsxPackageError.html +6 -6
  134. data/docs/DropboxApi/Errors/IsPublicFolderError.html +6 -6
  135. data/docs/DropboxApi/Errors/ListFolderContinueError.html +8 -8
  136. data/docs/DropboxApi/Errors/ListFolderError.html +7 -7
  137. data/docs/DropboxApi/Errors/ListFolderLongpollError.html +7 -7
  138. data/docs/DropboxApi/Errors/ListRevisionsError.html +7 -7
  139. data/docs/DropboxApi/Errors/ListSharedLinksError.html +8 -8
  140. data/docs/DropboxApi/Errors/LookupError.html +11 -11
  141. data/docs/DropboxApi/Errors/MalformedPathError.html +6 -6
  142. data/docs/DropboxApi/Errors/NoAccountError.html +6 -6
  143. data/docs/DropboxApi/Errors/NoPermissionError.html +6 -6
  144. data/docs/DropboxApi/Errors/NoWritePermissionError.html +6 -6
  145. data/docs/DropboxApi/Errors/NotAMemberError.html +6 -6
  146. data/docs/DropboxApi/Errors/NotFileError.html +6 -6
  147. data/docs/DropboxApi/Errors/NotFolderError.html +6 -6
  148. data/docs/DropboxApi/Errors/NotFoundError.html +6 -6
  149. data/docs/DropboxApi/Errors/PollError.html +8 -8
  150. data/docs/DropboxApi/Errors/PreviewError.html +10 -10
  151. data/docs/DropboxApi/Errors/RateLimitError.html +6 -6
  152. data/docs/DropboxApi/Errors/RelocationBatchEntryError.html +163 -0
  153. data/docs/DropboxApi/Errors/RelocationError.html +13 -13
  154. data/docs/DropboxApi/Errors/RestoreError.html +9 -9
  155. data/docs/DropboxApi/Errors/RestrictedContentError.html +6 -6
  156. data/docs/DropboxApi/Errors/RevokeSharedLinkError.html +164 -0
  157. data/docs/DropboxApi/Errors/SaveCopyReferenceError.html +11 -11
  158. data/docs/DropboxApi/Errors/SaveUrlError.html +10 -10
  159. data/docs/DropboxApi/Errors/SearchError.html +7 -7
  160. data/docs/DropboxApi/Errors/SettingsError.html +8 -8
  161. data/docs/DropboxApi/Errors/ShareFolderError.html +11 -11
  162. data/docs/DropboxApi/Errors/SharePathError.html +17 -17
  163. data/docs/DropboxApi/Errors/SharedFolderAccessError.html +10 -10
  164. data/docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html +6 -6
  165. data/docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html +6 -6
  166. data/docs/DropboxApi/Errors/SharedLinkError.html +9 -9
  167. data/docs/DropboxApi/Errors/SharedLinkMalformedError.html +143 -0
  168. data/docs/DropboxApi/Errors/SharedLinkNotFoundError.html +6 -6
  169. data/docs/DropboxApi/Errors/SharingFileAccessError.html +11 -11
  170. data/docs/DropboxApi/Errors/SharingUserError.html +7 -7
  171. data/docs/DropboxApi/Errors/TeamFolderError.html +6 -6
  172. data/docs/DropboxApi/Errors/TeamPolicyDisallowsMemberPolicyError.html +6 -6
  173. data/docs/DropboxApi/Errors/ThumbnailBatchError.html +7 -7
  174. data/docs/DropboxApi/Errors/ThumbnailError.html +10 -10
  175. data/docs/DropboxApi/Errors/TooManyFilesError.html +6 -6
  176. data/docs/DropboxApi/Errors/TooManyMembersError.html +6 -6
  177. data/docs/DropboxApi/Errors/TooManyPendingInvitesError.html +6 -6
  178. data/docs/DropboxApi/Errors/TooManyRequestsError.html +15 -15
  179. data/docs/DropboxApi/Errors/TooManySharedFolderTargetsError.html +6 -6
  180. data/docs/DropboxApi/Errors/TooManyWriteOperationsError.html +6 -6
  181. data/docs/DropboxApi/Errors/UnmountedError.html +6 -6
  182. data/docs/DropboxApi/Errors/UnshareFileError.html +8 -8
  183. data/docs/DropboxApi/Errors/UnsupportedContentError.html +6 -6
  184. data/docs/DropboxApi/Errors/UnsupportedExtensionError.html +6 -6
  185. data/docs/DropboxApi/Errors/UnsupportedImageError.html +6 -6
  186. data/docs/DropboxApi/Errors/UnsupportedLinkTypeError.html +6 -6
  187. data/docs/DropboxApi/Errors/UnverifiedDropboxId.html +6 -6
  188. data/docs/DropboxApi/Errors/UploadError.html +7 -7
  189. data/docs/DropboxApi/Errors/UploadSessionFinishError.html +9 -9
  190. data/docs/DropboxApi/Errors/UploadSessionLookupError.html +10 -10
  191. data/docs/DropboxApi/Errors/UploadSessionOffsetError.html +10 -10
  192. data/docs/DropboxApi/Errors/UploadWriteFailedError.html +7 -7
  193. data/docs/DropboxApi/Errors/WriteConflictError.html +9 -9
  194. data/docs/DropboxApi/Errors/WriteError.html +11 -11
  195. data/docs/DropboxApi/Errors.html +8 -8
  196. data/docs/DropboxApi/Metadata/AccessLevel.html +9 -9
  197. data/docs/DropboxApi/Metadata/AddFileMemberResult.html +6 -6
  198. data/docs/DropboxApi/Metadata/AddMember.html +11 -11
  199. data/docs/DropboxApi/Metadata/Base.html +24 -24
  200. data/docs/DropboxApi/Metadata/BasicAccount.html +12 -7
  201. data/docs/DropboxApi/Metadata/CommitInfo.html +9 -9
  202. data/docs/DropboxApi/Metadata/Deleted.html +6 -6
  203. data/docs/DropboxApi/Metadata/Dimensions.html +6 -6
  204. data/docs/DropboxApi/Metadata/Field.html +24 -20
  205. data/docs/DropboxApi/Metadata/File.html +10 -10
  206. data/docs/DropboxApi/Metadata/FileCategoriesList.html +205 -0
  207. data/docs/DropboxApi/Metadata/FileCategory.html +250 -0
  208. data/docs/DropboxApi/Metadata/FileExtensionsList.html +213 -0
  209. data/docs/DropboxApi/Metadata/FileLinkMetadata.html +6 -6
  210. data/docs/DropboxApi/Metadata/FileMemberAction.html +10 -10
  211. data/docs/DropboxApi/Metadata/FileRequest.html +6 -6
  212. data/docs/DropboxApi/Metadata/FileStatus.html +242 -0
  213. data/docs/DropboxApi/Metadata/Folder.html +10 -10
  214. data/docs/DropboxApi/Metadata/FolderLinkMetadata.html +6 -6
  215. data/docs/DropboxApi/Metadata/FolderSharingInfo.html +6 -6
  216. data/docs/DropboxApi/Metadata/LinkPermissions.html +6 -6
  217. data/docs/DropboxApi/Metadata/Location.html +6 -6
  218. data/docs/DropboxApi/Metadata/MediaInfo.html +9 -9
  219. data/docs/DropboxApi/Metadata/MediaMetadata.html +9 -9
  220. data/docs/DropboxApi/Metadata/Member.html +13 -13
  221. data/docs/DropboxApi/Metadata/MemberAction.html +9 -9
  222. data/docs/DropboxApi/Metadata/MemberActionList.html +9 -9
  223. data/docs/DropboxApi/Metadata/MemberPermission.html +6 -6
  224. data/docs/DropboxApi/Metadata/MemberPermissionList.html +10 -10
  225. data/docs/DropboxApi/Metadata/MetadataV2.html +140 -0
  226. data/docs/DropboxApi/Metadata/Name.html +6 -6
  227. data/docs/DropboxApi/Metadata/NamespaceId.html +210 -0
  228. data/docs/DropboxApi/Metadata/ParentFolderAccessInfo.html +6 -6
  229. data/docs/DropboxApi/Metadata/PhotoMetadata.html +6 -6
  230. data/docs/DropboxApi/Metadata/Resource.html +10 -10
  231. data/docs/DropboxApi/Metadata/RootInfo.html +227 -0
  232. data/docs/DropboxApi/Metadata/SearchMatchFieldOptions.html +140 -0
  233. data/docs/DropboxApi/Metadata/SearchMatchTypeV2.html +244 -0
  234. data/docs/DropboxApi/Metadata/SearchMatchV2.html +216 -0
  235. data/docs/DropboxApi/Metadata/SearchOptions.html +140 -0
  236. data/docs/DropboxApi/Metadata/SearchOrderBy.html +242 -0
  237. data/docs/DropboxApi/Metadata/SharedFolder.html +6 -6
  238. data/docs/DropboxApi/Metadata/SharedFolderPolicy.html +6 -6
  239. data/docs/DropboxApi/Metadata/SharedLink.html +18 -18
  240. data/docs/DropboxApi/Metadata/SharedLinkMetadata.html +10 -10
  241. data/docs/DropboxApi/Metadata/SpaceAllocation.html +6 -6
  242. data/docs/DropboxApi/Metadata/SpaceUsage.html +6 -6
  243. data/docs/DropboxApi/Metadata/Tag.html +14 -14
  244. data/docs/DropboxApi/Metadata/Team.html +6 -6
  245. data/docs/DropboxApi/Metadata/TeamMemberInfo.html +6 -6
  246. data/docs/DropboxApi/Metadata/TeamRootInfo.html +140 -0
  247. data/docs/DropboxApi/Metadata/ThumbnailBatchResultData.html +6 -6
  248. data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +11 -11
  249. data/docs/DropboxApi/Metadata/UploadSessionCursor.html +9 -9
  250. data/docs/DropboxApi/Metadata/UserRootInfo.html +140 -0
  251. data/docs/DropboxApi/Metadata/VideoMetadata.html +6 -6
  252. data/docs/DropboxApi/Metadata/WriteMode.html +21 -21
  253. data/docs/DropboxApi/Metadata.html +8 -8
  254. data/docs/DropboxApi/MiddleWare/DecodeResult.html +13 -13
  255. data/docs/DropboxApi/MiddleWare/PathRoot.html +412 -0
  256. data/docs/DropboxApi/MiddleWare/Stack.html +22 -22
  257. data/docs/DropboxApi/MiddleWare.html +8 -8
  258. data/docs/DropboxApi/OptionsValidator.html +10 -10
  259. data/docs/DropboxApi/ResultBuilder.html +30 -30
  260. data/docs/DropboxApi/Results/AddFileMemberResultList.html +10 -10
  261. data/docs/DropboxApi/Results/Base.html +11 -11
  262. data/docs/DropboxApi/Results/BasicAccountBatch.html +10 -10
  263. data/docs/DropboxApi/Results/CopyBatchResult.html +224 -0
  264. data/docs/DropboxApi/Results/CreateFolderBatchResult.html +241 -0
  265. data/docs/DropboxApi/Results/CreateFolderBatchResultEntry.html +234 -0
  266. data/docs/DropboxApi/Results/DeleteBatchResult.html +241 -0
  267. data/docs/DropboxApi/Results/DeleteBatchResultEntry.html +226 -0
  268. data/docs/DropboxApi/Results/GetCopyReferenceResult.html +18 -18
  269. data/docs/DropboxApi/Results/GetTemporaryLinkResult.html +14 -14
  270. data/docs/DropboxApi/Results/GetThumbnailBatchResult.html +10 -10
  271. data/docs/DropboxApi/Results/ListFolderGetLatestCursorResult.html +10 -10
  272. data/docs/DropboxApi/Results/ListFolderLongpollResult.html +14 -14
  273. data/docs/DropboxApi/Results/ListFolderResult.html +18 -18
  274. data/docs/DropboxApi/Results/ListRevisionsResult.html +14 -14
  275. data/docs/DropboxApi/Results/ListSharedLinksResult.html +18 -18
  276. data/docs/DropboxApi/Results/RelocationBatchResult.html +241 -0
  277. data/docs/DropboxApi/Results/RelocationBatchResultEntry.html +226 -0
  278. data/docs/DropboxApi/Results/SaveCopyReferenceResult.html +10 -10
  279. data/docs/DropboxApi/Results/SaveUrlJobStatus.html +15 -15
  280. data/docs/DropboxApi/Results/SaveUrlResult.html +10 -10
  281. data/docs/DropboxApi/Results/Search/Match.html +18 -18
  282. data/docs/DropboxApi/Results/Search.html +6 -6
  283. data/docs/DropboxApi/Results/SearchResult.html +3 -3
  284. data/docs/DropboxApi/Results/SearchV2Result.html +368 -0
  285. data/docs/DropboxApi/Results/ShareFolderLaunch.html +12 -12
  286. data/docs/DropboxApi/Results/SharedFileMembers.html +22 -22
  287. data/docs/DropboxApi/Results/SharedFolderMembers.html +22 -22
  288. data/docs/DropboxApi/Results/UploadSessionStart.html +10 -10
  289. data/docs/DropboxApi/Results/VoidResult.html +6 -6
  290. data/docs/DropboxApi/Results.html +8 -8
  291. data/docs/DropboxApi.html +7 -7
  292. data/docs/DropboxScaffoldBuilder.html +269 -102
  293. data/docs/_index.html +261 -16
  294. data/docs/class_list.html +3 -3
  295. data/docs/css/common.css +3 -0
  296. data/docs/css/style.css +3 -2
  297. data/docs/file.README.html +134 -43
  298. data/docs/file.api_coverage.html +21 -21
  299. data/docs/file.rails_setup.html +10 -10
  300. data/docs/file_list.html +2 -2
  301. data/docs/frames.html +2 -2
  302. data/docs/index.html +134 -43
  303. data/docs/js/app.js +25 -3
  304. data/docs/method_list.html +598 -238
  305. data/docs/top-level-namespace.html +6 -6
  306. data/dropbox_api.gemspec +11 -16
  307. data/lib/dropbox_api/authenticator.rb +5 -8
  308. data/lib/dropbox_api/chunked_uploader.rb +2 -1
  309. data/lib/dropbox_api/client.rb +24 -2
  310. data/lib/dropbox_api/connection_builder.rb +39 -4
  311. data/lib/dropbox_api/endpoints/auth/token_revoke.rb +2 -1
  312. data/lib/dropbox_api/endpoints/base.rb +31 -5
  313. data/lib/dropbox_api/endpoints/content_download.rb +5 -7
  314. data/lib/dropbox_api/endpoints/content_upload.rb +3 -2
  315. data/lib/dropbox_api/endpoints/file_requests/create_file_request.rb +2 -1
  316. data/lib/dropbox_api/endpoints/files/copy.rb +4 -3
  317. data/lib/dropbox_api/endpoints/files/copy_batch.rb +36 -0
  318. data/lib/dropbox_api/endpoints/files/copy_batch_check.rb +21 -0
  319. data/lib/dropbox_api/endpoints/files/copy_reference_get.rb +3 -2
  320. data/lib/dropbox_api/endpoints/files/copy_reference_save.rb +4 -3
  321. data/lib/dropbox_api/endpoints/files/create_folder.rb +3 -2
  322. data/lib/dropbox_api/endpoints/files/create_folder_batch.rb +41 -0
  323. data/lib/dropbox_api/endpoints/files/create_folder_batch_check.rb +22 -0
  324. data/lib/dropbox_api/endpoints/files/delete.rb +3 -2
  325. data/lib/dropbox_api/endpoints/files/delete_batch.rb +23 -0
  326. data/lib/dropbox_api/endpoints/files/delete_batch_check.rb +21 -0
  327. data/lib/dropbox_api/endpoints/files/download.rb +3 -2
  328. data/lib/dropbox_api/endpoints/files/get_metadata.rb +3 -2
  329. data/lib/dropbox_api/endpoints/files/get_preview.rb +3 -2
  330. data/lib/dropbox_api/endpoints/files/get_temporary_link.rb +3 -2
  331. data/lib/dropbox_api/endpoints/files/get_thumbnail.rb +3 -2
  332. data/lib/dropbox_api/endpoints/files/get_thumbnail_batch.rb +4 -3
  333. data/lib/dropbox_api/endpoints/files/list_folder.rb +3 -2
  334. data/lib/dropbox_api/endpoints/files/list_folder_continue.rb +3 -2
  335. data/lib/dropbox_api/endpoints/files/list_folder_get_latest_cursor.rb +2 -1
  336. data/lib/dropbox_api/endpoints/files/list_folder_longpoll.rb +3 -2
  337. data/lib/dropbox_api/endpoints/files/list_revisions.rb +3 -2
  338. data/lib/dropbox_api/endpoints/files/move.rb +4 -3
  339. data/lib/dropbox_api/endpoints/files/permanently_delete.rb +3 -2
  340. data/lib/dropbox_api/endpoints/files/restore.rb +4 -3
  341. data/lib/dropbox_api/endpoints/files/save_url.rb +4 -3
  342. data/lib/dropbox_api/endpoints/files/save_url_check_job_status.rb +3 -2
  343. data/lib/dropbox_api/endpoints/files/search.rb +16 -27
  344. data/lib/dropbox_api/endpoints/files/search_continue.rb +23 -0
  345. data/lib/dropbox_api/endpoints/files/upload.rb +3 -2
  346. data/lib/dropbox_api/endpoints/files/upload_session_append_v2.rb +3 -2
  347. data/lib/dropbox_api/endpoints/files/upload_session_finish.rb +4 -3
  348. data/lib/dropbox_api/endpoints/files/upload_session_start.rb +4 -3
  349. data/lib/dropbox_api/endpoints/rpc.rb +3 -2
  350. data/lib/dropbox_api/endpoints/rpc_content.rb +3 -2
  351. data/lib/dropbox_api/endpoints/rpc_notify.rb +4 -3
  352. data/lib/dropbox_api/endpoints/sharing/add_file_member.rb +4 -3
  353. data/lib/dropbox_api/endpoints/sharing/add_folder_member.rb +4 -3
  354. data/lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb +4 -3
  355. data/lib/dropbox_api/endpoints/sharing/get_shared_link_metadata.rb +3 -2
  356. data/lib/dropbox_api/endpoints/sharing/list_file_members.rb +4 -3
  357. data/lib/dropbox_api/endpoints/sharing/list_folder_members.rb +4 -3
  358. data/lib/dropbox_api/endpoints/sharing/list_shared_links.rb +2 -1
  359. data/lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb +3 -2
  360. data/lib/dropbox_api/endpoints/sharing/share_folder.rb +3 -2
  361. data/lib/dropbox_api/endpoints/sharing/unshare_file.rb +3 -2
  362. data/lib/dropbox_api/endpoints/users/get_account.rb +3 -2
  363. data/lib/dropbox_api/endpoints/users/get_account_batch.rb +3 -2
  364. data/lib/dropbox_api/endpoints/users/get_current_account.rb +2 -1
  365. data/lib/dropbox_api/endpoints/users/get_space_usage.rb +2 -1
  366. data/lib/dropbox_api/endpoints/virtual/upload_by_chunks.rb +1 -0
  367. data/lib/dropbox_api/errors/add_file_member_error.rb +5 -4
  368. data/lib/dropbox_api/errors/add_folder_member_error.rb +11 -10
  369. data/lib/dropbox_api/errors/add_member_selector_error.rb +6 -5
  370. data/lib/dropbox_api/errors/already_shared_error.rb +1 -0
  371. data/lib/dropbox_api/errors/basic_error.rb +2 -1
  372. data/lib/dropbox_api/errors/create_file_request_error.rb +1 -0
  373. data/lib/dropbox_api/errors/create_folder_batch_error.rb +8 -0
  374. data/lib/dropbox_api/errors/create_folder_error.rb +2 -1
  375. data/lib/dropbox_api/errors/create_shared_link_with_settings_error.rb +6 -5
  376. data/lib/dropbox_api/errors/delete_error.rb +5 -3
  377. data/lib/dropbox_api/errors/download_error.rb +2 -1
  378. data/lib/dropbox_api/errors/expired_access_token_error.rb +5 -0
  379. data/lib/dropbox_api/errors/file_member_action_error.rb +5 -4
  380. data/lib/dropbox_api/errors/get_account_error.rb +2 -1
  381. data/lib/dropbox_api/errors/get_copy_reference_error.rb +2 -1
  382. data/lib/dropbox_api/errors/get_metadata_error.rb +2 -1
  383. data/lib/dropbox_api/errors/http_error.rb +1 -0
  384. data/lib/dropbox_api/errors/list_folder_continue_error.rb +3 -2
  385. data/lib/dropbox_api/errors/list_folder_error.rb +2 -1
  386. data/lib/dropbox_api/errors/list_folder_longpoll_error.rb +2 -1
  387. data/lib/dropbox_api/errors/list_revisions_error.rb +2 -1
  388. data/lib/dropbox_api/errors/list_shared_links_error.rb +3 -2
  389. data/lib/dropbox_api/errors/lookup_error.rb +6 -5
  390. data/lib/dropbox_api/errors/poll_error.rb +3 -2
  391. data/lib/dropbox_api/errors/preview_error.rb +5 -4
  392. data/lib/dropbox_api/errors/relocation_batch_entry_error.rb +10 -0
  393. data/lib/dropbox_api/errors/relocation_error.rb +8 -7
  394. data/lib/dropbox_api/errors/restore_error.rb +4 -3
  395. data/lib/dropbox_api/errors/revoke_shared_link_error.rb +5 -4
  396. data/lib/dropbox_api/errors/save_copy_reference_error.rb +6 -5
  397. data/lib/dropbox_api/errors/save_url_error.rb +5 -4
  398. data/lib/dropbox_api/errors/search_error.rb +2 -1
  399. data/lib/dropbox_api/errors/settings_error.rb +3 -2
  400. data/lib/dropbox_api/errors/share_folder_error.rb +6 -5
  401. data/lib/dropbox_api/errors/share_path_error.rb +12 -11
  402. data/lib/dropbox_api/errors/shared_folder_access_error.rb +5 -4
  403. data/lib/dropbox_api/errors/shared_link_error.rb +4 -3
  404. data/lib/dropbox_api/errors/sharing_file_access_error.rb +6 -5
  405. data/lib/dropbox_api/errors/sharing_user_error.rb +2 -1
  406. data/lib/dropbox_api/errors/thumbnail_batch_error.rb +2 -1
  407. data/lib/dropbox_api/errors/thumbnail_error.rb +5 -4
  408. data/lib/dropbox_api/errors/too_many_requests_error.rb +3 -2
  409. data/lib/dropbox_api/errors/unshare_file_error.rb +3 -2
  410. data/lib/dropbox_api/errors/upload_error.rb +2 -1
  411. data/lib/dropbox_api/errors/upload_session_finish_error.rb +4 -3
  412. data/lib/dropbox_api/errors/upload_session_lookup_error.rb +5 -4
  413. data/lib/dropbox_api/errors/upload_session_offset_error.rb +1 -0
  414. data/lib/dropbox_api/errors/upload_write_failed_error.rb +2 -1
  415. data/lib/dropbox_api/errors/write_conflict_error.rb +4 -3
  416. data/lib/dropbox_api/errors/write_error.rb +6 -5
  417. data/lib/dropbox_api/metadata/access_level.rb +1 -0
  418. data/lib/dropbox_api/metadata/add_file_member_result.rb +1 -0
  419. data/lib/dropbox_api/metadata/add_member.rb +3 -2
  420. data/lib/dropbox_api/metadata/base.rb +2 -1
  421. data/lib/dropbox_api/metadata/basic_account.rb +8 -1
  422. data/lib/dropbox_api/metadata/commit_info.rb +2 -1
  423. data/lib/dropbox_api/metadata/deleted.rb +1 -0
  424. data/lib/dropbox_api/metadata/dimensions.rb +1 -0
  425. data/lib/dropbox_api/metadata/field.rb +7 -4
  426. data/lib/dropbox_api/metadata/file.rb +2 -1
  427. data/lib/dropbox_api/metadata/file_categories_list.rb +9 -0
  428. data/lib/dropbox_api/metadata/file_category.rb +22 -0
  429. data/lib/dropbox_api/metadata/file_extensions_list.rb +13 -0
  430. data/lib/dropbox_api/metadata/file_link_metadata.rb +1 -0
  431. data/lib/dropbox_api/metadata/file_member_action.rb +2 -1
  432. data/lib/dropbox_api/metadata/file_request.rb +1 -0
  433. data/lib/dropbox_api/metadata/file_status.rb +14 -0
  434. data/lib/dropbox_api/metadata/folder.rb +2 -1
  435. data/lib/dropbox_api/metadata/folder_link_metadata.rb +1 -0
  436. data/lib/dropbox_api/metadata/folder_sharing_info.rb +1 -0
  437. data/lib/dropbox_api/metadata/link_permissions.rb +1 -0
  438. data/lib/dropbox_api/metadata/location.rb +1 -0
  439. data/lib/dropbox_api/metadata/media_info.rb +1 -0
  440. data/lib/dropbox_api/metadata/media_metadata.rb +1 -0
  441. data/lib/dropbox_api/metadata/member.rb +6 -5
  442. data/lib/dropbox_api/metadata/member_action.rb +1 -0
  443. data/lib/dropbox_api/metadata/member_action_list.rb +1 -0
  444. data/lib/dropbox_api/metadata/member_permission.rb +1 -0
  445. data/lib/dropbox_api/metadata/member_permission_list.rb +1 -0
  446. data/lib/dropbox_api/metadata/metadata_v2.rb +7 -0
  447. data/lib/dropbox_api/metadata/name.rb +1 -0
  448. data/lib/dropbox_api/metadata/namespace_id.rb +10 -0
  449. data/lib/dropbox_api/metadata/parent_folder_access_info.rb +1 -0
  450. data/lib/dropbox_api/metadata/photo_metadata.rb +1 -0
  451. data/lib/dropbox_api/metadata/resource.rb +2 -1
  452. data/lib/dropbox_api/metadata/root_info.rb +32 -0
  453. data/lib/dropbox_api/metadata/search_match_field_options.rb +9 -0
  454. data/lib/dropbox_api/metadata/search_match_type_v2.rb +16 -0
  455. data/lib/dropbox_api/metadata/search_match_v2.rb +18 -0
  456. data/lib/dropbox_api/metadata/search_options.rb +33 -0
  457. data/lib/dropbox_api/metadata/search_order_by.rb +14 -0
  458. data/lib/dropbox_api/metadata/shared_folder.rb +1 -0
  459. data/lib/dropbox_api/metadata/shared_folder_policy.rb +1 -0
  460. data/lib/dropbox_api/metadata/shared_link.rb +3 -2
  461. data/lib/dropbox_api/metadata/shared_link_metadata.rb +2 -1
  462. data/lib/dropbox_api/metadata/space_allocation.rb +1 -0
  463. data/lib/dropbox_api/metadata/space_usage.rb +1 -0
  464. data/lib/dropbox_api/metadata/tag.rb +2 -1
  465. data/lib/dropbox_api/metadata/team.rb +1 -0
  466. data/lib/dropbox_api/metadata/team_member_info.rb +1 -0
  467. data/lib/dropbox_api/metadata/team_root_info.rb +8 -0
  468. data/lib/dropbox_api/metadata/thumbnail_batch_result_data.rb +1 -0
  469. data/lib/dropbox_api/metadata/thumbnail_batch_result_entry.rb +3 -2
  470. data/lib/dropbox_api/metadata/upload_session_cursor.rb +1 -0
  471. data/lib/dropbox_api/metadata/user_root_info.rb +7 -0
  472. data/lib/dropbox_api/metadata/video_metadata.rb +1 -0
  473. data/lib/dropbox_api/metadata/write_mode.rb +6 -5
  474. data/lib/dropbox_api/middleware/decode_result.rb +3 -2
  475. data/lib/dropbox_api/middleware/path_root.rb +35 -0
  476. data/lib/dropbox_api/middleware/stack.rb +1 -0
  477. data/lib/dropbox_api/options_validator.rb +1 -0
  478. data/lib/dropbox_api/result_builder.rb +3 -2
  479. data/lib/dropbox_api/results/add_file_member_result_list.rb +1 -0
  480. data/lib/dropbox_api/results/base.rb +1 -0
  481. data/lib/dropbox_api/results/basic_account_batch.rb +1 -0
  482. data/lib/dropbox_api/results/copy_batch_result.rb +15 -0
  483. data/lib/dropbox_api/results/create_folder_batch_result.rb +21 -0
  484. data/lib/dropbox_api/results/create_folder_batch_result_entry.rb +20 -0
  485. data/lib/dropbox_api/results/delete_batch_result.rb +21 -0
  486. data/lib/dropbox_api/results/delete_batch_result_entry.rb +16 -0
  487. data/lib/dropbox_api/results/get_copy_reference_result.rb +4 -3
  488. data/lib/dropbox_api/results/get_temporary_link_result.rb +3 -2
  489. data/lib/dropbox_api/results/get_thumbnail_batch_result.rb +2 -1
  490. data/lib/dropbox_api/results/list_folder_get_latest_cursor_result.rb +2 -1
  491. data/lib/dropbox_api/results/list_folder_longpoll_result.rb +3 -2
  492. data/lib/dropbox_api/results/list_folder_result.rb +4 -3
  493. data/lib/dropbox_api/results/list_revisions_result.rb +3 -2
  494. data/lib/dropbox_api/results/list_shared_links_result.rb +4 -3
  495. data/lib/dropbox_api/results/relocation_batch_result.rb +21 -0
  496. data/lib/dropbox_api/results/relocation_batch_result_entry.rb +16 -0
  497. data/lib/dropbox_api/results/save_copy_reference_result.rb +2 -1
  498. data/lib/dropbox_api/results/save_url_job_status.rb +7 -6
  499. data/lib/dropbox_api/results/save_url_result.rb +2 -1
  500. data/lib/dropbox_api/results/search/match.rb +3 -2
  501. data/lib/dropbox_api/results/search_v2_result.rb +23 -0
  502. data/lib/dropbox_api/results/share_folder_launch.rb +4 -3
  503. data/lib/dropbox_api/results/shared_file_members.rb +5 -4
  504. data/lib/dropbox_api/results/shared_folder_members.rb +5 -4
  505. data/lib/dropbox_api/results/upload_session_start.rb +2 -1
  506. data/lib/dropbox_api/results/void_result.rb +1 -0
  507. data/lib/dropbox_api/version.rb +2 -1
  508. data/lib/dropbox_api.rb +38 -6
  509. data/yardoc/endpoint_handler.rb +2 -1
  510. data/yardoc/helpers/html_helper.rb +2 -1
  511. data/yardoc/rspec.rb +3 -2
  512. data/yardoc/templates/default/method_details/setup.rb +1 -0
  513. metadata +84 -93
  514. data/CHANGES.md +0 -7
  515. data/lib/dropbox_api/results/search_result.rb +0 -22
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: DropboxApi::Endpoints::RpcNotify
8
8
 
9
- &mdash; Documentation by YARD 0.9.15
9
+ &mdash; Documentation by YARD 0.9.26
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "DropboxApi::Endpoints::RpcNotify";
19
19
  relpath = '../../';
20
20
  </script>
@@ -125,15 +125,13 @@
125
125
  <li class="public ">
126
126
  <span class="summary_signature">
127
127
 
128
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(builder) &#x21d2; RpcNotify </a>
128
+ <a href="#build_connection-instance_method" title="#build_connection (instance method)">#<strong>build_connection</strong> &#x21d2; Object </a>
129
129
 
130
130
 
131
131
 
132
132
  </span>
133
133
 
134
134
 
135
- <span class="note title constructor">constructor</span>
136
-
137
135
 
138
136
 
139
137
 
@@ -141,8 +139,7 @@
141
139
 
142
140
 
143
141
 
144
- <span class="summary_desc"><div class='inline'><p>A new instance of RpcNotify.</p>
145
- </div></span>
142
+ <span class="summary_desc"><div class='inline'></div></span>
146
143
 
147
144
  </li>
148
145
 
@@ -171,49 +168,48 @@
171
168
 
172
169
 
173
170
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Base.html" title="DropboxApi::Endpoints::Base (class)">Base</a></span></h3>
174
- <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>
171
+ <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>, <span class='object_link'><a href="Base.html#initialize-instance_method" title="DropboxApi::Endpoints::Base#initialize (method)">#initialize</a></span></p>
175
172
  <div id="constructor_details" class="method_details_list">
176
173
  <h2>Constructor Details</h2>
177
174
 
178
- <div class="method_details first">
179
- <h3 class="signature first" id="initialize-instance_method">
180
-
181
- #<strong>initialize</strong>(builder) &#x21d2; <tt><span class='object_link'><a href="" title="DropboxApi::Endpoints::RpcNotify (class)">RpcNotify</a></span></tt>
175
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="Base.html#initialize-instance_method" title="DropboxApi::Endpoints::Base#initialize (method)">DropboxApi::Endpoints::Base</a></span></p>
182
176
 
177
+ </div>
183
178
 
184
-
185
179
 
186
-
187
- </h3><div class="docstring">
188
- <div class="discussion">
189
- <p>Returns a new instance of RpcNotify</p>
180
+ <div id="instance_method_details" class="method_details_list">
181
+ <h2>Instance Method Details</h2>
190
182
 
183
+
184
+ <div class="method_details first">
185
+ <h3 class="signature first" id="build_connection-instance_method">
186
+
187
+ #<strong>build_connection</strong> &#x21d2; <tt>Object</tt>
188
+
191
189
 
192
- </div>
193
- </div>
194
- <div class="tags">
195
190
 
196
191
 
197
- </div>
192
+
193
+ </h3>
198
194
  <table class="source_code">
199
195
  <tr>
200
196
  <td>
201
197
  <pre class="lines">
202
198
 
203
199
 
204
- 3
205
200
  4
206
201
  5
207
202
  6
208
203
  7
209
204
  8
210
- 9</pre>
205
+ 9
206
+ 10</pre>
211
207
  </td>
212
208
  <td>
213
- <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/rpc_notify.rb', line 3</span>
209
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/rpc_notify.rb', line 4</span>
214
210
 
215
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_builder'>builder</span><span class='rparen'>)</span>
216
- <span class='ivar'>@connection</span> <span class='op'>=</span> <span class='id identifier rubyid_builder'>builder</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://notify.dropboxapi.com</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span>
211
+ <span class='kw'>def</span> <span class='id identifier rubyid_build_connection'>build_connection</span>
212
+ <span class='ivar'>@connection</span> <span class='op'>=</span> <span class='ivar'>@builder</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>https://notify.dropboxapi.com</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span>
217
213
  <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_headers'>headers</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Authorization</span><span class='tstring_end'>&#39;</span></span>
218
214
 
219
215
  <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_response'>response</span> <span class='symbol'>:decode_result</span>
@@ -223,16 +219,15 @@
223
219
  </tr>
224
220
  </table>
225
221
  </div>
226
-
227
- </div>
228
-
222
+
223
+ </div>
229
224
 
230
225
  </div>
231
226
 
232
227
  <div id="footer">
233
- Generated on Fri Nov 16 09:02:04 2018 by
228
+ Generated on Wed Sep 29 23:44:25 2021 by
234
229
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
235
- 0.9.15 (ruby-2.3.3).
230
+ 0.9.26 (ruby-2.6.5).
236
231
  </div>
237
232
 
238
233
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: DropboxApi::Endpoints::Sharing::AddFileMember
8
8
 
9
- &mdash; Documentation by YARD 0.9.15
9
+ &mdash; Documentation by YARD 0.9.26
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "DropboxApi::Endpoints::Sharing::AddFileMember";
19
19
  relpath = '../../../';
20
20
  </script>
@@ -125,7 +125,7 @@
125
125
  <dt id="Path-constant" class="">Path =
126
126
 
127
127
  </dt>
128
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/2/sharing/add_file_member</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
128
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/2/sharing/add_file_member</span><span class='tstring_end'>&#39;</span></span></pre></dd>
129
129
 
130
130
  <dt id="ResultType-constant" class="">ResultType =
131
131
 
@@ -201,7 +201,7 @@
201
201
 
202
202
 
203
203
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Rpc.html" title="DropboxApi::Endpoints::Rpc (class)">Rpc</a></span></h3>
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>
204
+ <p class="inherited"><span class='object_link'><a href="../Rpc.html#build_connection-instance_method" title="DropboxApi::Endpoints::Rpc#build_connection (method)">#build_connection</a></span>, <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#request_body-instance_method" title="DropboxApi::Endpoints::Rpc#request_body (method)">#request_body</a></span></p>
205
205
 
206
206
 
207
207
 
@@ -212,11 +212,11 @@
212
212
 
213
213
 
214
214
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="DropboxApi::Endpoints::Base (class)">Base</a></span></h3>
215
- <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>
215
+ <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>, <span class='object_link'><a href="../Base.html#initialize-instance_method" title="DropboxApi::Endpoints::Base#initialize (method)">#initialize</a></span></p>
216
216
  <div id="constructor_details" class="method_details_list">
217
217
  <h2>Constructor Details</h2>
218
218
 
219
- <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>
219
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Base.html#initialize-instance_method" title="DropboxApi::Endpoints::Base#initialize (method)">DropboxApi::Endpoints::Base</a></span></p>
220
220
 
221
221
  </div>
222
222
 
@@ -367,7 +367,6 @@ display to added members in their invitation. This field is optional.</p>
367
367
  <pre class="lines">
368
368
 
369
369
 
370
- 33
371
370
  34
372
371
  35
373
372
  36
@@ -378,10 +377,11 @@ display to added members in their invitation. This field is optional.</p>
378
377
  41
379
378
  42
380
379
  43
381
- 44</pre>
380
+ 44
381
+ 45</pre>
382
382
  </td>
383
383
  <td>
384
- <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/sharing/add_file_member.rb', line 33</span>
384
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/sharing/add_file_member.rb', line 34</span>
385
385
 
386
386
  <span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:add_file_member</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='id identifier rubyid_members'>members</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>
387
387
  <span class='id identifier rubyid_validate_options'>validate_options</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='symbol'>:quiet</span><span class='comma'>,</span> <span class='symbol'>:custom_message</span><span class='comma'>,</span> <span class='symbol'>:access_level</span><span class='comma'>,</span> <span class='symbol'>:add_message_as_comment</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -391,8 +391,8 @@ display to added members in their invitation. This field is optional.</p>
391
391
  <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:add_message_as_comment</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='kw'>false</span>
392
392
 
393
393
  <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>
394
- <span class='symbol'>:file</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_file'>file</span><span class='comma'>,</span>
395
- <span class='symbol'>:members</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_build_members_param'>build_members_param</span><span class='lparen'>(</span><span class='id identifier rubyid_members'>members</span><span class='rparen'>)</span>
394
+ <span class='label'>file:</span> <span class='id identifier rubyid_file'>file</span><span class='comma'>,</span>
395
+ <span class='label'>members:</span> <span class='id identifier rubyid_build_members_param'>build_members_param</span><span class='lparen'>(</span><span class='id identifier rubyid_members'>members</span><span class='rparen'>)</span>
396
396
  <span class='rbrace'>}</span><span class='rparen'>)</span>
397
397
  <span class='kw'>end</span></pre>
398
398
  </td>
@@ -405,9 +405,9 @@ display to added members in their invitation. This field is optional.</p>
405
405
  </div>
406
406
 
407
407
  <div id="footer">
408
- Generated on Fri Nov 16 09:02:06 2018 by
408
+ Generated on Wed Sep 29 23:44:27 2021 by
409
409
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
410
- 0.9.15 (ruby-2.3.3).
410
+ 0.9.26 (ruby-2.6.5).
411
411
  </div>
412
412
 
413
413
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: DropboxApi::Endpoints::Sharing::AddFolderMember
8
8
 
9
- &mdash; Documentation by YARD 0.9.15
9
+ &mdash; Documentation by YARD 0.9.26
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "DropboxApi::Endpoints::Sharing::AddFolderMember";
19
19
  relpath = '../../../';
20
20
  </script>
@@ -125,7 +125,7 @@
125
125
  <dt id="Path-constant" class="">Path =
126
126
 
127
127
  </dt>
128
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/2/sharing/add_folder_member</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
128
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/2/sharing/add_folder_member</span><span class='tstring_end'>&#39;</span></span></pre></dd>
129
129
 
130
130
  <dt id="ResultType-constant" class="">ResultType =
131
131
 
@@ -201,7 +201,7 @@
201
201
 
202
202
 
203
203
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Rpc.html" title="DropboxApi::Endpoints::Rpc (class)">Rpc</a></span></h3>
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>
204
+ <p class="inherited"><span class='object_link'><a href="../Rpc.html#build_connection-instance_method" title="DropboxApi::Endpoints::Rpc#build_connection (method)">#build_connection</a></span>, <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#request_body-instance_method" title="DropboxApi::Endpoints::Rpc#request_body (method)">#request_body</a></span></p>
205
205
 
206
206
 
207
207
 
@@ -212,11 +212,11 @@
212
212
 
213
213
 
214
214
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="DropboxApi::Endpoints::Base (class)">Base</a></span></h3>
215
- <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>
215
+ <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>, <span class='object_link'><a href="../Base.html#initialize-instance_method" title="DropboxApi::Endpoints::Base#initialize (method)">#initialize</a></span></p>
216
216
  <div id="constructor_details" class="method_details_list">
217
217
  <h2>Constructor Details</h2>
218
218
 
219
- <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>
219
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Base.html#initialize-instance_method" title="DropboxApi::Endpoints::Base#initialize (method)">DropboxApi::Endpoints::Base</a></span></p>
220
220
 
221
221
  </div>
222
222
 
@@ -356,7 +356,6 @@ added members in their invitation. This field is optional.</p>
356
356
  <pre class="lines">
357
357
 
358
358
 
359
- 38
360
359
  39
361
360
  40
362
361
  41
@@ -365,10 +364,11 @@ added members in their invitation. This field is optional.</p>
365
364
  44
366
365
  45
367
366
  46
368
- 47</pre>
367
+ 47
368
+ 48</pre>
369
369
  </td>
370
370
  <td>
371
- <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/sharing/add_folder_member.rb', line 38</span>
371
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/sharing/add_folder_member.rb', line 39</span>
372
372
 
373
373
  <span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:add_folder_member</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_folder_id'>folder_id</span><span class='comma'>,</span> <span class='id identifier rubyid_members'>members</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>
374
374
  <span class='id identifier rubyid_validate_options'>validate_options</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='symbol'>:quiet</span><span class='comma'>,</span> <span class='symbol'>:custom_message</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -376,8 +376,8 @@ added members in their invitation. This field is optional.</p>
376
376
  <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:custom_message</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='kw'>nil</span>
377
377
 
378
378
  <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>
379
- <span class='symbol'>:shared_folder_id</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_folder_id'>folder_id</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='comma'>,</span>
380
- <span class='symbol'>:members</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_build_members_param'>build_members_param</span><span class='lparen'>(</span><span class='id identifier rubyid_members'>members</span><span class='rparen'>)</span>
379
+ <span class='label'>shared_folder_id:</span> <span class='id identifier rubyid_folder_id'>folder_id</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='comma'>,</span>
380
+ <span class='label'>members:</span> <span class='id identifier rubyid_build_members_param'>build_members_param</span><span class='lparen'>(</span><span class='id identifier rubyid_members'>members</span><span class='rparen'>)</span>
381
381
  <span class='rbrace'>}</span><span class='rparen'>)</span>
382
382
  <span class='kw'>end</span></pre>
383
383
  </td>
@@ -390,9 +390,9 @@ added members in their invitation. This field is optional.</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 Wed Sep 29 23:44:27 2021 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.26 (ruby-2.6.5).
396
396
  </div>
397
397
 
398
398
  </div>
@@ -6,15 +6,15 @@
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.26
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "DropboxApi::Endpoints::Sharing::CreateSharedLinkWithSettings";
19
19
  relpath = '../../../';
20
20
  </script>
@@ -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
 
@@ -120,7 +125,7 @@
120
125
  <dt id="Path-constant" class="">Path =
121
126
 
122
127
  </dt>
123
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/2/sharing/create_shared_link_with_settings</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
128
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/2/sharing/create_shared_link_with_settings</span><span class='tstring_end'>&#39;</span></span></pre></dd>
124
129
 
125
130
  <dt id="ResultType-constant" class="">ResultType =
126
131
 
@@ -184,8 +189,19 @@
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
- <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>
204
+ <p class="inherited"><span class='object_link'><a href="../Rpc.html#build_connection-instance_method" title="DropboxApi::Endpoints::Rpc#build_connection (method)">#build_connection</a></span>, <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#request_body-instance_method" title="DropboxApi::Endpoints::Rpc#request_body (method)">#request_body</a></span></p>
189
205
 
190
206
 
191
207
 
@@ -196,11 +212,11 @@
196
212
 
197
213
 
198
214
  <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>
215
+ <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>, <span class='object_link'><a href="../Base.html#initialize-instance_method" title="DropboxApi::Endpoints::Base#initialize (method)">#initialize</a></span></p>
200
216
  <div id="constructor_details" class="method_details_list">
201
217
  <h2>Constructor Details</h2>
202
218
 
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>
219
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Base.html#initialize-instance_method" title="DropboxApi::Endpoints::Base#initialize (method)">DropboxApi::Endpoints::Base</a></span></p>
204
220
 
205
221
  </div>
206
222
 
@@ -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
+ 32
363
+ 33
364
+ 34
365
+ 35
366
+ 36
367
+ 37
368
+ 38
369
+ 39
370
+ 40
371
+ 41
372
+ 42
373
+ 43
374
+ 44
375
+ 45
376
+ 46</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 32</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='label'>path:</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span>
393
+ <span class='label'>settings:</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 Wed Sep 29 23:44:28 2021 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.26 (ruby-2.6.5).
318
409
  </div>
319
410
 
320
411
  </div>