dropbox_api 0.1.19 → 0.1.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (310) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +113 -22
  3. data/docs/DropboxApi/Authenticator.html +12 -12
  4. data/docs/DropboxApi/ChunkedUploader.html +20 -20
  5. data/docs/DropboxApi/Client.html +1673 -906
  6. data/docs/DropboxApi/ConnectionBuilder.html +16 -16
  7. data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +10 -10
  8. data/docs/DropboxApi/Endpoints/Auth.html +6 -6
  9. data/docs/DropboxApi/Endpoints/Base.html +9 -9
  10. data/docs/DropboxApi/Endpoints/ContentDownload.html +19 -19
  11. data/docs/DropboxApi/Endpoints/ContentUpload.html +17 -17
  12. data/docs/DropboxApi/Endpoints/Files/Copy.html +12 -12
  13. data/docs/DropboxApi/Endpoints/Files/CopyBatch.html +11 -11
  14. data/docs/DropboxApi/Endpoints/Files/CopyBatchCheck.html +11 -11
  15. data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +11 -11
  16. data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +12 -12
  17. data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +12 -12
  18. data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +11 -11
  19. data/docs/DropboxApi/Endpoints/Files/CreateFolderBatch.html +11 -11
  20. data/docs/DropboxApi/Endpoints/Files/CreateFolderBatchCheck.html +11 -11
  21. data/docs/DropboxApi/Endpoints/Files/Delete.html +11 -11
  22. data/docs/DropboxApi/Endpoints/Files/DeleteBatch.html +11 -11
  23. data/docs/DropboxApi/Endpoints/Files/DeleteBatchCheck.html +11 -11
  24. data/docs/DropboxApi/Endpoints/Files/Download.html +11 -11
  25. data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +11 -11
  26. data/docs/DropboxApi/Endpoints/Files/GetPreview.html +11 -11
  27. data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +11 -11
  28. data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +11 -11
  29. data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +15 -15
  30. data/docs/DropboxApi/Endpoints/Files/ListFolder.html +11 -11
  31. data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +11 -11
  32. data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +10 -10
  33. data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +11 -11
  34. data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +11 -11
  35. data/docs/DropboxApi/Endpoints/Files/Move.html +12 -12
  36. data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +11 -11
  37. data/docs/DropboxApi/Endpoints/Files/Restore.html +12 -12
  38. data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +12 -12
  39. data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +11 -11
  40. data/docs/DropboxApi/Endpoints/Files/Search.html +48 -96
  41. data/docs/DropboxApi/Endpoints/Files/Upload.html +10 -10
  42. data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +11 -11
  43. data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +12 -12
  44. data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +12 -12
  45. data/docs/DropboxApi/Endpoints/Files.html +6 -6
  46. data/docs/DropboxApi/Endpoints/Rpc.html +17 -17
  47. data/docs/DropboxApi/Endpoints/RpcContent.html +11 -11
  48. data/docs/DropboxApi/Endpoints/RpcNotify.html +11 -11
  49. data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +12 -12
  50. data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +12 -12
  51. data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +12 -12
  52. data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +11 -11
  53. data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +12 -12
  54. data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +12 -12
  55. data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +10 -10
  56. data/docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html +11 -11
  57. data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +11 -11
  58. data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +11 -11
  59. data/docs/DropboxApi/Endpoints/Sharing.html +6 -6
  60. data/docs/DropboxApi/Endpoints/Users/GetAccount.html +11 -11
  61. data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +11 -11
  62. data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +10 -10
  63. data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +10 -10
  64. data/docs/DropboxApi/Endpoints/Users.html +6 -6
  65. data/docs/DropboxApi/Endpoints.html +6 -6
  66. data/docs/DropboxApi/Errors/AddFileMemberError.html +10 -10
  67. data/docs/DropboxApi/Errors/AddFolderMemberError.html +16 -16
  68. data/docs/DropboxApi/Errors/AddMemberSelectorError.html +11 -11
  69. data/docs/DropboxApi/Errors/AlreadySharedError.html +9 -9
  70. data/docs/DropboxApi/Errors/BadPathError.html +6 -6
  71. data/docs/DropboxApi/Errors/BasicError.html +17 -17
  72. data/docs/DropboxApi/Errors/CantCopySharedFolderError.html +6 -6
  73. data/docs/DropboxApi/Errors/CantMoveFolderIntoItselfError.html +6 -6
  74. data/docs/DropboxApi/Errors/CantNestSharedFolderError.html +6 -6
  75. data/docs/DropboxApi/Errors/CantShareOutsideTeamError.html +6 -6
  76. data/docs/DropboxApi/Errors/ContainsSharedFolderError.html +6 -6
  77. data/docs/DropboxApi/Errors/ConversionError.html +6 -6
  78. data/docs/DropboxApi/Errors/CreateFileRequestError.html +6 -6
  79. data/docs/DropboxApi/Errors/CreateFolderBatchError.html +7 -7
  80. data/docs/DropboxApi/Errors/CreateFolderError.html +7 -7
  81. data/docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html +11 -11
  82. data/docs/DropboxApi/Errors/CursorClosedError.html +6 -6
  83. data/docs/DropboxApi/Errors/CursorNotClosedError.html +6 -6
  84. data/docs/DropboxApi/Errors/DeleteError.html +9 -9
  85. data/docs/DropboxApi/Errors/DisallowedNameError.html +6 -6
  86. data/docs/DropboxApi/Errors/DisallowedSharedLinkPolicyError.html +6 -6
  87. data/docs/DropboxApi/Errors/DownloadError.html +7 -7
  88. data/docs/DropboxApi/Errors/DownloadFailedError.html +6 -6
  89. data/docs/DropboxApi/Errors/EmailUnverifiedError.html +6 -6
  90. data/docs/DropboxApi/Errors/FileAncestorConflictError.html +6 -6
  91. data/docs/DropboxApi/Errors/FileConflictError.html +6 -6
  92. data/docs/DropboxApi/Errors/FileMemberActionError.html +10 -10
  93. data/docs/DropboxApi/Errors/FolderConflictError.html +6 -6
  94. data/docs/DropboxApi/Errors/GetAccountError.html +7 -7
  95. data/docs/DropboxApi/Errors/GetCopyReferenceError.html +7 -7
  96. data/docs/DropboxApi/Errors/GetMetadataError.html +7 -7
  97. data/docs/DropboxApi/Errors/GroupDeletedError.html +6 -6
  98. data/docs/DropboxApi/Errors/GroupNotOnTeamError.html +6 -6
  99. data/docs/DropboxApi/Errors/HttpError.html +6 -6
  100. data/docs/DropboxApi/Errors/InProgressError.html +6 -6
  101. data/docs/DropboxApi/Errors/InsideAppFolderError.html +6 -6
  102. data/docs/DropboxApi/Errors/InsideOsxPackageError.html +6 -6
  103. data/docs/DropboxApi/Errors/InsidePublicFolderError.html +6 -6
  104. data/docs/DropboxApi/Errors/InsideSharedFolderError.html +6 -6
  105. data/docs/DropboxApi/Errors/InsufficientPlanError.html +6 -6
  106. data/docs/DropboxApi/Errors/InsufficientSpaceError.html +6 -6
  107. data/docs/DropboxApi/Errors/InternalError.html +6 -6
  108. data/docs/DropboxApi/Errors/InvalidCommentError.html +6 -6
  109. data/docs/DropboxApi/Errors/InvalidCopyReferenceError.html +6 -6
  110. data/docs/DropboxApi/Errors/InvalidCursorError.html +6 -6
  111. data/docs/DropboxApi/Errors/InvalidDropboxIdError.html +6 -6
  112. data/docs/DropboxApi/Errors/InvalidEmailError.html +6 -6
  113. data/docs/DropboxApi/Errors/InvalidFileError.html +6 -6
  114. data/docs/DropboxApi/Errors/InvalidIdError.html +6 -6
  115. data/docs/DropboxApi/Errors/InvalidMemberError.html +6 -6
  116. data/docs/DropboxApi/Errors/InvalidPathError.html +6 -6
  117. data/docs/DropboxApi/Errors/InvalidRevisionError.html +6 -6
  118. data/docs/DropboxApi/Errors/InvalidSettingsError.html +6 -6
  119. data/docs/DropboxApi/Errors/InvalidUrlError.html +6 -6
  120. data/docs/DropboxApi/Errors/IsAppFolderError.html +6 -6
  121. data/docs/DropboxApi/Errors/IsFileError.html +6 -6
  122. data/docs/DropboxApi/Errors/IsFolderError.html +6 -6
  123. data/docs/DropboxApi/Errors/IsOsxPackageError.html +6 -6
  124. data/docs/DropboxApi/Errors/IsPublicFolderError.html +6 -6
  125. data/docs/DropboxApi/Errors/ListFolderContinueError.html +8 -8
  126. data/docs/DropboxApi/Errors/ListFolderError.html +7 -7
  127. data/docs/DropboxApi/Errors/ListFolderLongpollError.html +7 -7
  128. data/docs/DropboxApi/Errors/ListRevisionsError.html +7 -7
  129. data/docs/DropboxApi/Errors/ListSharedLinksError.html +8 -8
  130. data/docs/DropboxApi/Errors/LookupError.html +11 -11
  131. data/docs/DropboxApi/Errors/MalformedPathError.html +6 -6
  132. data/docs/DropboxApi/Errors/NoAccountError.html +6 -6
  133. data/docs/DropboxApi/Errors/NoPermissionError.html +6 -6
  134. data/docs/DropboxApi/Errors/NoWritePermissionError.html +6 -6
  135. data/docs/DropboxApi/Errors/NotAMemberError.html +6 -6
  136. data/docs/DropboxApi/Errors/NotFileError.html +6 -6
  137. data/docs/DropboxApi/Errors/NotFolderError.html +6 -6
  138. data/docs/DropboxApi/Errors/NotFoundError.html +6 -6
  139. data/docs/DropboxApi/Errors/PollError.html +8 -8
  140. data/docs/DropboxApi/Errors/PreviewError.html +10 -10
  141. data/docs/DropboxApi/Errors/RateLimitError.html +6 -6
  142. data/docs/DropboxApi/Errors/RelocationBatchEntryError.html +9 -9
  143. data/docs/DropboxApi/Errors/RelocationError.html +13 -13
  144. data/docs/DropboxApi/Errors/RestoreError.html +9 -9
  145. data/docs/DropboxApi/Errors/RestrictedContentError.html +6 -6
  146. data/docs/DropboxApi/Errors/RevokeSharedLinkError.html +10 -10
  147. data/docs/DropboxApi/Errors/SaveCopyReferenceError.html +11 -11
  148. data/docs/DropboxApi/Errors/SaveUrlError.html +10 -10
  149. data/docs/DropboxApi/Errors/SearchError.html +7 -7
  150. data/docs/DropboxApi/Errors/SettingsError.html +8 -8
  151. data/docs/DropboxApi/Errors/ShareFolderError.html +11 -11
  152. data/docs/DropboxApi/Errors/SharePathError.html +17 -17
  153. data/docs/DropboxApi/Errors/SharedFolderAccessError.html +10 -10
  154. data/docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html +6 -6
  155. data/docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html +6 -6
  156. data/docs/DropboxApi/Errors/SharedLinkError.html +9 -9
  157. data/docs/DropboxApi/Errors/SharedLinkMalformedError.html +6 -6
  158. data/docs/DropboxApi/Errors/SharedLinkNotFoundError.html +6 -6
  159. data/docs/DropboxApi/Errors/SharingFileAccessError.html +11 -11
  160. data/docs/DropboxApi/Errors/SharingUserError.html +7 -7
  161. data/docs/DropboxApi/Errors/TeamFolderError.html +6 -6
  162. data/docs/DropboxApi/Errors/TeamPolicyDisallowsMemberPolicyError.html +6 -6
  163. data/docs/DropboxApi/Errors/ThumbnailBatchError.html +7 -7
  164. data/docs/DropboxApi/Errors/ThumbnailError.html +10 -10
  165. data/docs/DropboxApi/Errors/TooManyFilesError.html +6 -6
  166. data/docs/DropboxApi/Errors/TooManyMembersError.html +6 -6
  167. data/docs/DropboxApi/Errors/TooManyPendingInvitesError.html +6 -6
  168. data/docs/DropboxApi/Errors/TooManyRequestsError.html +15 -15
  169. data/docs/DropboxApi/Errors/TooManySharedFolderTargetsError.html +6 -6
  170. data/docs/DropboxApi/Errors/TooManyWriteOperationsError.html +6 -6
  171. data/docs/DropboxApi/Errors/UnmountedError.html +6 -6
  172. data/docs/DropboxApi/Errors/UnshareFileError.html +8 -8
  173. data/docs/DropboxApi/Errors/UnsupportedContentError.html +6 -6
  174. data/docs/DropboxApi/Errors/UnsupportedExtensionError.html +6 -6
  175. data/docs/DropboxApi/Errors/UnsupportedImageError.html +6 -6
  176. data/docs/DropboxApi/Errors/UnsupportedLinkTypeError.html +6 -6
  177. data/docs/DropboxApi/Errors/UnverifiedDropboxId.html +6 -6
  178. data/docs/DropboxApi/Errors/UploadError.html +7 -7
  179. data/docs/DropboxApi/Errors/UploadSessionFinishError.html +9 -9
  180. data/docs/DropboxApi/Errors/UploadSessionLookupError.html +10 -10
  181. data/docs/DropboxApi/Errors/UploadSessionOffsetError.html +10 -10
  182. data/docs/DropboxApi/Errors/UploadWriteFailedError.html +7 -7
  183. data/docs/DropboxApi/Errors/WriteConflictError.html +9 -9
  184. data/docs/DropboxApi/Errors/WriteError.html +11 -11
  185. data/docs/DropboxApi/Errors.html +6 -6
  186. data/docs/DropboxApi/Metadata/AccessLevel.html +9 -9
  187. data/docs/DropboxApi/Metadata/AddFileMemberResult.html +6 -6
  188. data/docs/DropboxApi/Metadata/AddMember.html +11 -11
  189. data/docs/DropboxApi/Metadata/Base.html +24 -24
  190. data/docs/DropboxApi/Metadata/BasicAccount.html +6 -6
  191. data/docs/DropboxApi/Metadata/CommitInfo.html +9 -9
  192. data/docs/DropboxApi/Metadata/Deleted.html +6 -6
  193. data/docs/DropboxApi/Metadata/Dimensions.html +6 -6
  194. data/docs/DropboxApi/Metadata/Field.html +24 -20
  195. data/docs/DropboxApi/Metadata/File.html +10 -10
  196. data/docs/DropboxApi/Metadata/FileCategoriesList.html +205 -0
  197. data/docs/DropboxApi/Metadata/FileCategory.html +250 -0
  198. data/docs/DropboxApi/Metadata/FileExtensionsList.html +213 -0
  199. data/docs/DropboxApi/Metadata/FileLinkMetadata.html +6 -6
  200. data/docs/DropboxApi/Metadata/FileMemberAction.html +10 -10
  201. data/docs/DropboxApi/Metadata/FileRequest.html +6 -6
  202. data/docs/DropboxApi/Metadata/FileStatus.html +242 -0
  203. data/docs/DropboxApi/Metadata/Folder.html +10 -10
  204. data/docs/DropboxApi/Metadata/FolderLinkMetadata.html +6 -6
  205. data/docs/DropboxApi/Metadata/FolderSharingInfo.html +6 -6
  206. data/docs/DropboxApi/Metadata/LinkPermissions.html +6 -6
  207. data/docs/DropboxApi/Metadata/Location.html +6 -6
  208. data/docs/DropboxApi/Metadata/MediaInfo.html +9 -9
  209. data/docs/DropboxApi/Metadata/MediaMetadata.html +9 -9
  210. data/docs/DropboxApi/Metadata/Member.html +13 -13
  211. data/docs/DropboxApi/Metadata/MemberAction.html +9 -9
  212. data/docs/DropboxApi/Metadata/MemberActionList.html +9 -9
  213. data/docs/DropboxApi/Metadata/MemberPermission.html +6 -6
  214. data/docs/DropboxApi/Metadata/MemberPermissionList.html +10 -10
  215. data/docs/DropboxApi/Metadata/MetadataV2.html +140 -0
  216. data/docs/DropboxApi/Metadata/Name.html +6 -6
  217. data/docs/DropboxApi/Metadata/ParentFolderAccessInfo.html +6 -6
  218. data/docs/DropboxApi/Metadata/PhotoMetadata.html +6 -6
  219. data/docs/DropboxApi/Metadata/Resource.html +10 -10
  220. data/docs/DropboxApi/Metadata/SearchMatchFieldOptions.html +140 -0
  221. data/docs/DropboxApi/Metadata/SearchMatchTypeV2.html +244 -0
  222. data/docs/DropboxApi/Metadata/SearchMatchV2.html +216 -0
  223. data/docs/DropboxApi/Metadata/SearchOptions.html +140 -0
  224. data/docs/DropboxApi/Metadata/SearchOrderBy.html +242 -0
  225. data/docs/DropboxApi/Metadata/SharedFolder.html +6 -6
  226. data/docs/DropboxApi/Metadata/SharedFolderPolicy.html +6 -6
  227. data/docs/DropboxApi/Metadata/SharedLink.html +18 -18
  228. data/docs/DropboxApi/Metadata/SharedLinkMetadata.html +10 -10
  229. data/docs/DropboxApi/Metadata/SpaceAllocation.html +6 -6
  230. data/docs/DropboxApi/Metadata/SpaceUsage.html +6 -6
  231. data/docs/DropboxApi/Metadata/Tag.html +14 -14
  232. data/docs/DropboxApi/Metadata/Team.html +6 -6
  233. data/docs/DropboxApi/Metadata/TeamMemberInfo.html +6 -6
  234. data/docs/DropboxApi/Metadata/ThumbnailBatchResultData.html +6 -6
  235. data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +11 -11
  236. data/docs/DropboxApi/Metadata/UploadSessionCursor.html +9 -9
  237. data/docs/DropboxApi/Metadata/VideoMetadata.html +6 -6
  238. data/docs/DropboxApi/Metadata/WriteMode.html +21 -21
  239. data/docs/DropboxApi/Metadata.html +8 -8
  240. data/docs/DropboxApi/MiddleWare/DecodeResult.html +13 -13
  241. data/docs/DropboxApi/MiddleWare/Stack.html +22 -22
  242. data/docs/DropboxApi/MiddleWare.html +6 -6
  243. data/docs/DropboxApi/OptionsValidator.html +9 -9
  244. data/docs/DropboxApi/ResultBuilder.html +30 -30
  245. data/docs/DropboxApi/Results/AddFileMemberResultList.html +10 -10
  246. data/docs/DropboxApi/Results/Base.html +11 -11
  247. data/docs/DropboxApi/Results/BasicAccountBatch.html +10 -10
  248. data/docs/DropboxApi/Results/CopyBatchResult.html +10 -10
  249. data/docs/DropboxApi/Results/CreateFolderBatchResult.html +13 -13
  250. data/docs/DropboxApi/Results/CreateFolderBatchResultEntry.html +9 -9
  251. data/docs/DropboxApi/Results/DeleteBatchResult.html +13 -13
  252. data/docs/DropboxApi/Results/DeleteBatchResultEntry.html +9 -9
  253. data/docs/DropboxApi/Results/GetCopyReferenceResult.html +18 -18
  254. data/docs/DropboxApi/Results/GetTemporaryLinkResult.html +14 -14
  255. data/docs/DropboxApi/Results/GetThumbnailBatchResult.html +10 -10
  256. data/docs/DropboxApi/Results/ListFolderGetLatestCursorResult.html +10 -10
  257. data/docs/DropboxApi/Results/ListFolderLongpollResult.html +14 -14
  258. data/docs/DropboxApi/Results/ListFolderResult.html +18 -18
  259. data/docs/DropboxApi/Results/ListRevisionsResult.html +14 -14
  260. data/docs/DropboxApi/Results/ListSharedLinksResult.html +18 -18
  261. data/docs/DropboxApi/Results/RelocationBatchResult.html +13 -13
  262. data/docs/DropboxApi/Results/RelocationBatchResultEntry.html +9 -9
  263. data/docs/DropboxApi/Results/SaveCopyReferenceResult.html +10 -10
  264. data/docs/DropboxApi/Results/SaveUrlJobStatus.html +15 -15
  265. data/docs/DropboxApi/Results/SaveUrlResult.html +10 -10
  266. data/docs/DropboxApi/Results/Search/Match.html +18 -18
  267. data/docs/DropboxApi/Results/Search.html +6 -6
  268. data/docs/DropboxApi/Results/SearchV2Result.html +368 -0
  269. data/docs/DropboxApi/Results/ShareFolderLaunch.html +12 -12
  270. data/docs/DropboxApi/Results/SharedFileMembers.html +22 -22
  271. data/docs/DropboxApi/Results/SharedFolderMembers.html +22 -22
  272. data/docs/DropboxApi/Results/UploadSessionStart.html +10 -10
  273. data/docs/DropboxApi/Results/VoidResult.html +6 -6
  274. data/docs/DropboxApi/Results.html +8 -8
  275. data/docs/DropboxApi.html +7 -7
  276. data/docs/DropboxScaffoldBuilder.html +220 -108
  277. data/docs/_index.html +86 -16
  278. data/docs/class_list.html +3 -3
  279. data/docs/css/common.css +3 -0
  280. data/docs/css/style.css +3 -2
  281. data/docs/file.README.html +28 -23
  282. data/docs/file.api_coverage.html +14 -14
  283. data/docs/file.rails_setup.html +10 -10
  284. data/docs/file_list.html +2 -2
  285. data/docs/frames.html +2 -2
  286. data/docs/index.html +28 -23
  287. data/docs/js/app.js +14 -3
  288. data/docs/method_list.html +338 -266
  289. data/docs/top-level-namespace.html +6 -6
  290. data/lib/dropbox_api/authenticator.rb +2 -6
  291. data/lib/dropbox_api/client.rb +23 -2
  292. data/lib/dropbox_api/connection_builder.rb +38 -4
  293. data/lib/dropbox_api/endpoints/base.rb +24 -1
  294. data/lib/dropbox_api/endpoints/content_download.rb +2 -2
  295. data/lib/dropbox_api/endpoints/content_upload.rb +2 -2
  296. data/lib/dropbox_api/endpoints/files/search_continue.rb +23 -0
  297. data/lib/dropbox_api/endpoints/rpc.rb +2 -2
  298. data/lib/dropbox_api/endpoints/rpc_content.rb +2 -2
  299. data/lib/dropbox_api/endpoints/rpc_notify.rb +2 -2
  300. data/lib/dropbox_api/errors/expired_access_token_error.rb +5 -0
  301. data/lib/dropbox_api/metadata/basic_account.rb +7 -1
  302. data/lib/dropbox_api/metadata/namespace_id.rb +10 -0
  303. data/lib/dropbox_api/metadata/root_info.rb +32 -0
  304. data/lib/dropbox_api/metadata/team_root_info.rb +8 -0
  305. data/lib/dropbox_api/metadata/user_root_info.rb +7 -0
  306. data/lib/dropbox_api/middleware/path_root.rb +35 -0
  307. data/lib/dropbox_api/results/search_v2_result.rb +2 -3
  308. data/lib/dropbox_api/version.rb +1 -1
  309. data/lib/dropbox_api.rb +10 -3
  310. metadata +21 -3
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Top Level Namespace
8
8
 
9
- &mdash; Documentation by YARD 0.9.19
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 = "";
19
19
  relpath = '';
20
20
  </script>
@@ -102,9 +102,9 @@
102
102
  </div>
103
103
 
104
104
  <div id="footer">
105
- Generated on Fri May 31 17:53:31 2019 by
105
+ Generated on Sun Feb 7 11:51:54 2021 by
106
106
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
107
- 0.9.19 (ruby-2.6.2).
107
+ 0.9.26 (ruby-2.5.1).
108
108
  </div>
109
109
 
110
110
  </div>
@@ -3,15 +3,11 @@ require 'oauth2'
3
3
 
4
4
  module DropboxApi
5
5
  class Authenticator < OAuth2::Client
6
- extend Forwardable
7
-
8
6
  def initialize(client_id, client_secret)
9
- @auth_code = OAuth2::Client.new(client_id, client_secret, {
7
+ super(client_id, client_secret, {
10
8
  authorize_url: 'https://www.dropbox.com/oauth2/authorize',
11
9
  token_url: 'https://api.dropboxapi.com/oauth2/token'
12
- }).auth_code
10
+ })
13
11
  end
14
-
15
- def_delegators :@auth_code, :authorize_url, :get_token
16
12
  end
17
13
  end
@@ -1,14 +1,35 @@
1
1
  # frozen_string_literal: true
2
2
  module DropboxApi
3
3
  class Client
4
- def initialize(oauth_bearer = ENV['DROPBOX_OAUTH_BEARER'])
5
- @connection_builder = ConnectionBuilder.new(oauth_bearer)
4
+ def initialize(
5
+ oauth_bearer = ENV['DROPBOX_OAUTH_BEARER'],
6
+ access_token: nil,
7
+ on_token_refreshed: nil
8
+ )
9
+ if access_token
10
+ @connection_builder = ConnectionBuilder.new(
11
+ access_token: access_token,
12
+ on_token_refreshed: on_token_refreshed
13
+ )
14
+ elsif oauth_bearer
15
+ @connection_builder = ConnectionBuilder.new(oauth_bearer)
16
+ else
17
+ raise ArgumentError, "Either oauth_bearer or access_token should be set"
18
+ end
6
19
  end
7
20
 
8
21
  def middleware
9
22
  @connection_builder.middleware
10
23
  end
11
24
 
25
+ def namespace_id=(value)
26
+ @connection_builder.namespace_id = value
27
+ end
28
+
29
+ def namespace_id
30
+ @connection_builder.namespace_id
31
+ end
32
+
12
33
  # @!visibility private
13
34
  def self.add_endpoint(name, endpoint)
14
35
  define_method(name) do |*args, &block|
@@ -1,19 +1,53 @@
1
1
  # frozen_string_literal: true
2
2
  module DropboxApi
3
3
  class ConnectionBuilder
4
- def initialize(oauth_bearer)
5
- @oauth_bearer = oauth_bearer
4
+ attr_accessor :namespace_id
5
+
6
+ def initialize(oauth_bearer = nil, access_token: nil, on_token_refreshed: nil)
7
+ if access_token
8
+ if !access_token.is_a?(OAuth2::AccessToken)
9
+ raise ArgumentError, "access_token should be an OAuth2::AccessToken"
10
+ end
11
+
12
+ @access_token = access_token
13
+ @on_token_refreshed = on_token_refreshed
14
+ elsif oauth_bearer
15
+ @oauth_bearer = oauth_bearer
16
+ else
17
+ raise ArgumentError, "Either oauth_bearer or access_token should be set"
18
+ end
6
19
  end
7
20
 
8
21
  def middleware
9
22
  @middleware ||= MiddleWare::Stack.new
10
23
  end
11
24
 
25
+ def can_refresh_access_token?
26
+ @access_token && @access_token.refresh_token
27
+ end
28
+
29
+ def refresh_access_token
30
+ @access_token = @access_token.refresh!
31
+ @on_token_refreshed.call(@access_token.to_hash) if @on_token_refreshed
32
+ end
33
+
34
+ private def bearer
35
+ @oauth_bearer or oauth_bearer_from_access_token
36
+ end
37
+
38
+ private def oauth_bearer_from_access_token
39
+ refresh_access_token if @access_token.expired?
40
+
41
+ @access_token.token
42
+ end
43
+
12
44
  def build(url)
13
45
  Faraday.new(url) do |connection|
46
+ connection.use DropboxApi::MiddleWare::PathRoot, {
47
+ namespace_id: self.namespace_id
48
+ }
14
49
  middleware.apply(connection) do
15
- connection.authorization :Bearer, @oauth_bearer
16
-
50
+ connection.authorization :Bearer, bearer
17
51
  yield connection
18
52
  end
19
53
  end
@@ -1,6 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
  module DropboxApi::Endpoints
3
3
  class Base
4
+ def initialize(builder)
5
+ @builder = builder
6
+ build_connection
7
+ end
8
+
4
9
  def self.add_endpoint(name, &block)
5
10
  define_method(name, block)
6
11
  DropboxApi::Client.add_endpoint(name, self)
@@ -10,6 +15,14 @@ module DropboxApi::Endpoints
10
15
 
11
16
  def perform_request(params)
12
17
  process_response(get_response(params))
18
+ rescue DropboxApi::Errors::ExpiredAccessTokenError => e
19
+ if @builder.can_refresh_access_token?
20
+ @builder.refresh_access_token
21
+ build_connection
22
+ process_response(get_response(params))
23
+ else
24
+ raise e
25
+ end
13
26
  end
14
27
 
15
28
  def get_response(*args)
@@ -24,6 +37,11 @@ module DropboxApi::Endpoints
24
37
  # Status code 409 is "Endpoint-specific error". We need to look at
25
38
  # the response body to build an exception.
26
39
  build_result(raw_response.env[:api_result])
40
+ when 401
41
+ raise DropboxApi::Errors::ExpiredAccessTokenError.build(
42
+ raw_response.env[:api_result]['error_summary'],
43
+ raw_response.env[:api_result]['error']
44
+ )
27
45
  when 429
28
46
  error = DropboxApi::Errors::TooManyRequestsError.build(
29
47
  raw_response.env[:api_result]['error_summary'],
@@ -52,7 +70,12 @@ module DropboxApi::Endpoints
52
70
  end
53
71
 
54
72
  def run_request(body, headers)
55
- @connection.run_request(self.class::Method, self.class::Path, body, headers)
73
+ @connection.run_request(
74
+ self.class::Method,
75
+ self.class::Path,
76
+ body,
77
+ headers
78
+ )
56
79
  end
57
80
  end
58
81
  end
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
  module DropboxApi::Endpoints
3
3
  class ContentDownload < DropboxApi::Endpoints::Base
4
- def initialize(builder)
5
- @connection = builder.build('https://content.dropboxapi.com') do |c|
4
+ def build_connection
5
+ @connection = @builder.build('https://content.dropboxapi.com') do |c|
6
6
  c.response :decode_result
7
7
  end
8
8
  end
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
  module DropboxApi::Endpoints
3
3
  class ContentUpload < DropboxApi::Endpoints::Base
4
- def initialize(builder)
5
- @connection = builder.build('https://content.dropboxapi.com') do |c|
4
+ def build_connection
5
+ @connection = @builder.build('https://content.dropboxapi.com') do |c|
6
6
  c.response :decode_result
7
7
  end
8
8
  end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+ module DropboxApi::Endpoints::Files
3
+ class SearchContinue < DropboxApi::Endpoints::Rpc
4
+ Method = :post
5
+ Path = '/2/files/search/continue_v2'
6
+ ResultType = DropboxApi::Results::SearchV2Result
7
+ ErrorType = DropboxApi::Errors::SearchError
8
+
9
+ include DropboxApi::OptionsValidator
10
+
11
+ # Fetches the next page of search results returned from search:2.
12
+ # Note: search:2 along with search/continue:2 can only be used to retrieve a maximum of 10,000 matches.
13
+ # Recent changes may not immediately be reflected in search results due to a short delay in indexing.
14
+ # Duplicate results may be returned across pages. Some results may not be returned.
15
+
16
+
17
+ # @param cursor [String] The cursor returned by your last call to
18
+ # search:2. Used to fetch the next page of results.
19
+ add_endpoint :search_continue do |cursor|
20
+ perform_request cursor: cursor
21
+ end
22
+ end
23
+ end
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
  module DropboxApi::Endpoints
3
3
  class Rpc < DropboxApi::Endpoints::Base
4
- def initialize(builder)
5
- @connection = builder.build('https://api.dropboxapi.com') do |c|
4
+ def build_connection
5
+ @connection = @builder.build('https://api.dropboxapi.com') do |c|
6
6
  c.response :decode_result
7
7
  end
8
8
  end
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
  module DropboxApi::Endpoints
3
3
  class RpcContent < DropboxApi::Endpoints::Rpc
4
- def initialize(builder)
5
- @connection = builder.build('https://content.dropboxapi.com') do |c|
4
+ def build_connection
5
+ @connection = @builder.build('https://content.dropboxapi.com') do |c|
6
6
  c.response :decode_result
7
7
  end
8
8
  end
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
  module DropboxApi::Endpoints
3
3
  class RpcNotify < DropboxApi::Endpoints::Rpc
4
- def initialize(builder)
5
- @connection = builder.build('https://notify.dropboxapi.com') do |c|
4
+ def build_connection
5
+ @connection = @builder.build('https://notify.dropboxapi.com') do |c|
6
6
  c.headers.delete 'Authorization'
7
7
 
8
8
  c.response :decode_result
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+ module DropboxApi::Errors
3
+ class ExpiredAccessTokenError < BasicError
4
+ end
5
+ end
@@ -16,7 +16,12 @@ module DropboxApi::Metadata
16
16
  # "disabled": false,
17
17
  # "is_teammate": true,
18
18
  # "profile_photo_url": "https://dl-web.dropbox.com/account_photo/get/dbid%3AAAH4f99T0taONIb-OurWxbNQ6ywGRopQngc?vers=1453416696524&size=128x128",
19
- # "team_member_id": "dbmid:AAHhy7WsR0x-u4ZCqiDl5Fz5zvuL3kmspwU"
19
+ # "team_member_id": "dbmid:AAHhy7WsR0x-u4ZCqiDl5Fz5zvuL3kmspwU",
20
+ # "root_info": {
21
+ # root_namespace_id: 7,
22
+ # home_namespace_id: 1,
23
+ # home_path: "/Franz Ferdinand"
24
+ # }
20
25
  # }
21
26
  # ```
22
27
  class BasicAccount < Base
@@ -28,5 +33,6 @@ module DropboxApi::Metadata
28
33
  field :is_teammate, :boolean, :optional
29
34
  field :profile_photo_url, String, :optional
30
35
  field :team_member_id, :boolean, :optional
36
+ field :root_info, DropboxApi::Metadata::RootInfo, :optional
31
37
  end
32
38
  end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+ module DropboxApi::Metadata
3
+ class NamespaceId < Base
4
+ field :namespace_id, String
5
+
6
+ def to_hash
7
+ super.merge({".tag": 'namespace_id'})
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+ module DropboxApi::Metadata
3
+ # Example of a serialized {RootInfo} object:
4
+ #
5
+ # ```json
6
+ # {
7
+ # ".tag":"user",
8
+ # "root_namespace_id":"42",
9
+ # "home_namespace_id":"42"
10
+ # }
11
+ # ```
12
+ class RootInfo < Base
13
+ class << self
14
+ def new(data)
15
+ class_for(data['.tag'].to_sym).new(data)
16
+ end
17
+
18
+ private
19
+
20
+ def class_for(tag)
21
+ case tag
22
+ when :user
23
+ DropboxApi::Metadata::UserRootInfo
24
+ when :team
25
+ DropboxApi::Metadata::TeamRootInfo
26
+ else
27
+ raise ArgumentError, "Unable to infer type for `#{tag}`"
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+ module DropboxApi::Metadata
3
+ class TeamRootInfo < Base
4
+ field :root_namespace_id, String
5
+ field :home_namespace_id, String
6
+ field :home_path, String
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+ module DropboxApi::Metadata
3
+ class UserRootInfo < Base
4
+ field :root_namespace_id, String
5
+ field :home_namespace_id, String
6
+ end
7
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+ module DropboxApi::MiddleWare
3
+ class PathRoot < Faraday::Middleware
4
+ HEADER_NAME = 'Dropbox-API-Path-Root'
5
+
6
+ def initialize(app, options = {})
7
+ super(app)
8
+ @options = options
9
+ end
10
+
11
+ def namespace_id
12
+ if @options[:namespace_id].nil?
13
+ return nil
14
+ else
15
+ return @options[:namespace_id]
16
+ end
17
+ end
18
+
19
+ def namespace_id_header_value
20
+ JSON.dump(
21
+ DropboxApi::Metadata::NamespaceId.new({
22
+ 'namespace_id' => namespace_id
23
+ }).to_hash
24
+ )
25
+ end
26
+
27
+ def call(env)
28
+ if !namespace_id.nil?
29
+ env[:request_headers][HEADER_NAME] ||= namespace_id_header_value
30
+ end
31
+
32
+ @app.call env
33
+ end
34
+ end
35
+ end
@@ -11,11 +11,10 @@ module DropboxApi::Results
11
11
  # Used for paging. If true, indicates there is another page of results
12
12
  # available that can be fetched by calling search again.
13
13
  def has_more?
14
- @data['more'].to_s == 'true'
14
+ @data['has_more'].to_s == 'true'
15
15
  end
16
16
 
17
- # Pass the cursor into #search_continue to fetch the next page of results
18
- # (not yet implemented).
17
+ # Pass the cursor into #search_continue to fetch the next page of results.
19
18
  # This field is optional.
20
19
  def cursor
21
20
  @data['cursor']
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module DropboxApi
3
- VERSION = '0.1.19'
3
+ VERSION = '0.1.20'
4
4
  end
data/lib/dropbox_api.rb CHANGED
@@ -7,12 +7,14 @@ require 'faraday'
7
7
 
8
8
  require 'dropbox_api/authenticator'
9
9
 
10
+ require 'dropbox_api/metadata/base'
11
+ require 'dropbox_api/metadata/field'
12
+ require 'dropbox_api/metadata/namespace_id'
13
+
10
14
  require 'dropbox_api/middleware/decode_result'
15
+ require 'dropbox_api/middleware/path_root'
11
16
  require 'dropbox_api/middleware/stack'
12
17
 
13
- require 'dropbox_api/metadata/field'
14
- require 'dropbox_api/metadata/base'
15
-
16
18
  require 'dropbox_api/metadata/tag'
17
19
  require 'dropbox_api/metadata/access_level'
18
20
  require 'dropbox_api/metadata/member_action'
@@ -32,6 +34,9 @@ require 'dropbox_api/metadata/member_permission'
32
34
  require 'dropbox_api/metadata/member_permission_list'
33
35
  require 'dropbox_api/metadata/add_file_member_result'
34
36
  require 'dropbox_api/metadata/parent_folder_access_info'
37
+ require 'dropbox_api/metadata/team_root_info'
38
+ require 'dropbox_api/metadata/user_root_info'
39
+ require 'dropbox_api/metadata/root_info'
35
40
  require 'dropbox_api/metadata/basic_account'
36
41
  require 'dropbox_api/metadata/link_permissions'
37
42
  require 'dropbox_api/metadata/team'
@@ -86,6 +91,7 @@ require 'dropbox_api/errors/create_folder_batch_error'
86
91
  require 'dropbox_api/errors/create_folder_error'
87
92
  require 'dropbox_api/errors/create_shared_link_with_settings_error'
88
93
  require 'dropbox_api/errors/download_error'
94
+ require 'dropbox_api/errors/expired_access_token_error'
89
95
  require 'dropbox_api/errors/sharing_file_access_error'
90
96
  require 'dropbox_api/errors/sharing_user_error'
91
97
  require 'dropbox_api/errors/file_member_action_error'
@@ -183,6 +189,7 @@ require 'dropbox_api/endpoints/files/restore'
183
189
  require 'dropbox_api/endpoints/files/save_url'
184
190
  require 'dropbox_api/endpoints/files/save_url_check_job_status'
185
191
  require 'dropbox_api/endpoints/files/search'
192
+ require 'dropbox_api/endpoints/files/search_continue'
186
193
  require 'dropbox_api/endpoints/files/upload'
187
194
  require 'dropbox_api/endpoints/files/upload_session_start'
188
195
  require 'dropbox_api/endpoints/files/upload_session_append_v2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dropbox_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesús Burgos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-07 00:00:00.000000000 Z
11
+ date: 2021-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -324,9 +324,13 @@ files:
324
324
  - docs/DropboxApi/Metadata/Dimensions.html
325
325
  - docs/DropboxApi/Metadata/Field.html
326
326
  - docs/DropboxApi/Metadata/File.html
327
+ - docs/DropboxApi/Metadata/FileCategoriesList.html
328
+ - docs/DropboxApi/Metadata/FileCategory.html
329
+ - docs/DropboxApi/Metadata/FileExtensionsList.html
327
330
  - docs/DropboxApi/Metadata/FileLinkMetadata.html
328
331
  - docs/DropboxApi/Metadata/FileMemberAction.html
329
332
  - docs/DropboxApi/Metadata/FileRequest.html
333
+ - docs/DropboxApi/Metadata/FileStatus.html
330
334
  - docs/DropboxApi/Metadata/Folder.html
331
335
  - docs/DropboxApi/Metadata/FolderLinkMetadata.html
332
336
  - docs/DropboxApi/Metadata/FolderSharingInfo.html
@@ -339,10 +343,16 @@ files:
339
343
  - docs/DropboxApi/Metadata/MemberActionList.html
340
344
  - docs/DropboxApi/Metadata/MemberPermission.html
341
345
  - docs/DropboxApi/Metadata/MemberPermissionList.html
346
+ - docs/DropboxApi/Metadata/MetadataV2.html
342
347
  - docs/DropboxApi/Metadata/Name.html
343
348
  - docs/DropboxApi/Metadata/ParentFolderAccessInfo.html
344
349
  - docs/DropboxApi/Metadata/PhotoMetadata.html
345
350
  - docs/DropboxApi/Metadata/Resource.html
351
+ - docs/DropboxApi/Metadata/SearchMatchFieldOptions.html
352
+ - docs/DropboxApi/Metadata/SearchMatchTypeV2.html
353
+ - docs/DropboxApi/Metadata/SearchMatchV2.html
354
+ - docs/DropboxApi/Metadata/SearchOptions.html
355
+ - docs/DropboxApi/Metadata/SearchOrderBy.html
346
356
  - docs/DropboxApi/Metadata/SharedFolder.html
347
357
  - docs/DropboxApi/Metadata/SharedFolderPolicy.html
348
358
  - docs/DropboxApi/Metadata/SharedLink.html
@@ -387,6 +397,7 @@ files:
387
397
  - docs/DropboxApi/Results/Search.html
388
398
  - docs/DropboxApi/Results/Search/Match.html
389
399
  - docs/DropboxApi/Results/SearchResult.html
400
+ - docs/DropboxApi/Results/SearchV2Result.html
390
401
  - docs/DropboxApi/Results/ShareFolderLaunch.html
391
402
  - docs/DropboxApi/Results/SharedFileMembers.html
392
403
  - docs/DropboxApi/Results/SharedFolderMembers.html
@@ -448,6 +459,7 @@ files:
448
459
  - lib/dropbox_api/endpoints/files/save_url.rb
449
460
  - lib/dropbox_api/endpoints/files/save_url_check_job_status.rb
450
461
  - lib/dropbox_api/endpoints/files/search.rb
462
+ - lib/dropbox_api/endpoints/files/search_continue.rb
451
463
  - lib/dropbox_api/endpoints/files/upload.rb
452
464
  - lib/dropbox_api/endpoints/files/upload_session_append_v2.rb
453
465
  - lib/dropbox_api/endpoints/files/upload_session_finish.rb
@@ -481,6 +493,7 @@ files:
481
493
  - lib/dropbox_api/errors/create_shared_link_with_settings_error.rb
482
494
  - lib/dropbox_api/errors/delete_error.rb
483
495
  - lib/dropbox_api/errors/download_error.rb
496
+ - lib/dropbox_api/errors/expired_access_token_error.rb
484
497
  - lib/dropbox_api/errors/file_member_action_error.rb
485
498
  - lib/dropbox_api/errors/get_account_error.rb
486
499
  - lib/dropbox_api/errors/get_copy_reference_error.rb
@@ -550,9 +563,11 @@ files:
550
563
  - lib/dropbox_api/metadata/member_permission_list.rb
551
564
  - lib/dropbox_api/metadata/metadata_v2.rb
552
565
  - lib/dropbox_api/metadata/name.rb
566
+ - lib/dropbox_api/metadata/namespace_id.rb
553
567
  - lib/dropbox_api/metadata/parent_folder_access_info.rb
554
568
  - lib/dropbox_api/metadata/photo_metadata.rb
555
569
  - lib/dropbox_api/metadata/resource.rb
570
+ - lib/dropbox_api/metadata/root_info.rb
556
571
  - lib/dropbox_api/metadata/search_match_field_options.rb
557
572
  - lib/dropbox_api/metadata/search_match_type_v2.rb
558
573
  - lib/dropbox_api/metadata/search_match_v2.rb
@@ -567,12 +582,15 @@ files:
567
582
  - lib/dropbox_api/metadata/tag.rb
568
583
  - lib/dropbox_api/metadata/team.rb
569
584
  - lib/dropbox_api/metadata/team_member_info.rb
585
+ - lib/dropbox_api/metadata/team_root_info.rb
570
586
  - lib/dropbox_api/metadata/thumbnail_batch_result_data.rb
571
587
  - lib/dropbox_api/metadata/thumbnail_batch_result_entry.rb
572
588
  - lib/dropbox_api/metadata/upload_session_cursor.rb
589
+ - lib/dropbox_api/metadata/user_root_info.rb
573
590
  - lib/dropbox_api/metadata/video_metadata.rb
574
591
  - lib/dropbox_api/metadata/write_mode.rb
575
592
  - lib/dropbox_api/middleware/decode_result.rb
593
+ - lib/dropbox_api/middleware/path_root.rb
576
594
  - lib/dropbox_api/middleware/stack.rb
577
595
  - lib/dropbox_api/options_validator.rb
578
596
  - lib/dropbox_api/result_builder.rb
@@ -633,7 +651,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
633
651
  - !ruby/object:Gem::Version
634
652
  version: '0'
635
653
  requirements: []
636
- rubygems_version: 3.0.9
654
+ rubygems_version: 3.0.6
637
655
  signing_key:
638
656
  specification_version: 4
639
657
  summary: Library for communicating with Dropbox API v2