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.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.rubocop.yml +15 -0
- data/.travis.yml +0 -2
- data/Gemfile +26 -1
- data/README.md +120 -24
- data/Rakefile +4 -3
- data/TODO.md +24 -7
- data/api_coverage.md +8 -8
- data/bin/console +4 -3
- data/docs/DropboxApi/Authenticator.html +14 -20
- data/docs/DropboxApi/ChunkedUploader.html +20 -20
- data/docs/DropboxApi/Client.html +3446 -992
- data/docs/DropboxApi/ConnectionBuilder.html +266 -31
- data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +13 -13
- data/docs/DropboxApi/Endpoints/Auth.html +6 -6
- data/docs/DropboxApi/Endpoints/Base.html +92 -11
- data/docs/DropboxApi/Endpoints/ContentDownload.html +37 -48
- data/docs/DropboxApi/Endpoints/ContentUpload.html +35 -46
- data/docs/DropboxApi/Endpoints/Files/Copy.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/CopyBatch.html +359 -0
- data/docs/DropboxApi/Endpoints/Files/CopyBatchCheck.html +305 -0
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +13 -13
- data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatch.html +377 -0
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatchCheck.html +308 -0
- data/docs/DropboxApi/Endpoints/Files/Delete.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/DeleteBatch.html +305 -0
- data/docs/DropboxApi/Endpoints/Files/DeleteBatchCheck.html +307 -0
- data/docs/DropboxApi/Endpoints/Files/Download.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/GetPreview.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +19 -19
- data/docs/DropboxApi/Endpoints/Files/ListFolder.html +39 -20
- data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +13 -13
- data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/Move.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/Restore.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/Search.html +51 -99
- data/docs/DropboxApi/Endpoints/Files/SearchContinue.html +300 -0
- data/docs/DropboxApi/Endpoints/Files/Upload.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +15 -15
- data/docs/DropboxApi/Endpoints/Files.html +8 -8
- data/docs/DropboxApi/Endpoints/Rpc.html +36 -47
- data/docs/DropboxApi/Endpoints/RpcContent.html +28 -33
- data/docs/DropboxApi/Endpoints/RpcNotify.html +28 -33
- data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +15 -15
- data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +15 -15
- data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +110 -19
- data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +14 -14
- data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +15 -15
- data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +15 -15
- data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +13 -13
- data/docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html +293 -0
- data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +14 -14
- data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +14 -14
- data/docs/DropboxApi/Endpoints/Sharing.html +8 -8
- data/docs/DropboxApi/Endpoints/Users/GetAccount.html +14 -14
- data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +14 -14
- data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +13 -13
- data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +13 -13
- data/docs/DropboxApi/Endpoints/Users.html +6 -6
- data/docs/DropboxApi/Endpoints.html +6 -6
- data/docs/DropboxApi/Errors/AddFileMemberError.html +10 -10
- data/docs/DropboxApi/Errors/AddFolderMemberError.html +16 -16
- data/docs/DropboxApi/Errors/AddMemberSelectorError.html +11 -11
- data/docs/DropboxApi/Errors/AlreadySharedError.html +9 -9
- data/docs/DropboxApi/Errors/BadPathError.html +6 -6
- data/docs/DropboxApi/Errors/BasicError.html +18 -18
- data/docs/DropboxApi/Errors/CantCopySharedFolderError.html +6 -6
- data/docs/DropboxApi/Errors/CantMoveFolderIntoItselfError.html +6 -6
- data/docs/DropboxApi/Errors/CantNestSharedFolderError.html +6 -6
- data/docs/DropboxApi/Errors/CantShareOutsideTeamError.html +6 -6
- data/docs/DropboxApi/Errors/ContainsSharedFolderError.html +6 -6
- data/docs/DropboxApi/Errors/ConversionError.html +6 -6
- data/docs/DropboxApi/Errors/CreateFileRequestError.html +6 -6
- data/docs/DropboxApi/Errors/CreateFolderBatchError.html +161 -0
- data/docs/DropboxApi/Errors/CreateFolderError.html +7 -7
- data/docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html +11 -11
- data/docs/DropboxApi/Errors/CursorClosedError.html +6 -6
- data/docs/DropboxApi/Errors/CursorNotClosedError.html +6 -6
- data/docs/DropboxApi/Errors/DeleteError.html +9 -8
- data/docs/DropboxApi/Errors/DisallowedNameError.html +6 -6
- data/docs/DropboxApi/Errors/DisallowedSharedLinkPolicyError.html +6 -6
- data/docs/DropboxApi/Errors/DownloadError.html +7 -7
- data/docs/DropboxApi/Errors/DownloadFailedError.html +6 -6
- data/docs/DropboxApi/Errors/EmailUnverifiedError.html +6 -6
- data/docs/DropboxApi/Errors/ExpiredAccessTokenError.html +143 -0
- data/docs/DropboxApi/Errors/FileAncestorConflictError.html +6 -6
- data/docs/DropboxApi/Errors/FileConflictError.html +6 -6
- data/docs/DropboxApi/Errors/FileMemberActionError.html +10 -10
- data/docs/DropboxApi/Errors/FolderConflictError.html +6 -6
- data/docs/DropboxApi/Errors/GetAccountError.html +7 -7
- data/docs/DropboxApi/Errors/GetCopyReferenceError.html +7 -7
- data/docs/DropboxApi/Errors/GetMetadataError.html +7 -7
- data/docs/DropboxApi/Errors/GroupDeletedError.html +6 -6
- data/docs/DropboxApi/Errors/GroupNotOnTeamError.html +6 -6
- data/docs/DropboxApi/Errors/HttpError.html +6 -6
- data/docs/DropboxApi/Errors/InProgressError.html +6 -6
- data/docs/DropboxApi/Errors/InsideAppFolderError.html +6 -6
- data/docs/DropboxApi/Errors/InsideOsxPackageError.html +6 -6
- data/docs/DropboxApi/Errors/InsidePublicFolderError.html +6 -6
- data/docs/DropboxApi/Errors/InsideSharedFolderError.html +6 -6
- data/docs/DropboxApi/Errors/InsufficientPlanError.html +6 -6
- data/docs/DropboxApi/Errors/InsufficientSpaceError.html +6 -6
- data/docs/DropboxApi/Errors/InternalError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidCommentError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidCopyReferenceError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidCursorError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidDropboxIdError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidEmailError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidFileError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidIdError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidMemberError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidPathError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidRevisionError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidSettingsError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidUrlError.html +6 -6
- data/docs/DropboxApi/Errors/IsAppFolderError.html +6 -6
- data/docs/DropboxApi/Errors/IsFileError.html +6 -6
- data/docs/DropboxApi/Errors/IsFolderError.html +6 -6
- data/docs/DropboxApi/Errors/IsOsxPackageError.html +6 -6
- data/docs/DropboxApi/Errors/IsPublicFolderError.html +6 -6
- data/docs/DropboxApi/Errors/ListFolderContinueError.html +8 -8
- data/docs/DropboxApi/Errors/ListFolderError.html +7 -7
- data/docs/DropboxApi/Errors/ListFolderLongpollError.html +7 -7
- data/docs/DropboxApi/Errors/ListRevisionsError.html +7 -7
- data/docs/DropboxApi/Errors/ListSharedLinksError.html +8 -8
- data/docs/DropboxApi/Errors/LookupError.html +11 -11
- data/docs/DropboxApi/Errors/MalformedPathError.html +6 -6
- data/docs/DropboxApi/Errors/NoAccountError.html +6 -6
- data/docs/DropboxApi/Errors/NoPermissionError.html +6 -6
- data/docs/DropboxApi/Errors/NoWritePermissionError.html +6 -6
- data/docs/DropboxApi/Errors/NotAMemberError.html +6 -6
- data/docs/DropboxApi/Errors/NotFileError.html +6 -6
- data/docs/DropboxApi/Errors/NotFolderError.html +6 -6
- data/docs/DropboxApi/Errors/NotFoundError.html +6 -6
- data/docs/DropboxApi/Errors/PollError.html +8 -8
- data/docs/DropboxApi/Errors/PreviewError.html +10 -10
- data/docs/DropboxApi/Errors/RateLimitError.html +6 -6
- data/docs/DropboxApi/Errors/RelocationBatchEntryError.html +163 -0
- data/docs/DropboxApi/Errors/RelocationError.html +13 -13
- data/docs/DropboxApi/Errors/RestoreError.html +9 -9
- data/docs/DropboxApi/Errors/RestrictedContentError.html +6 -6
- data/docs/DropboxApi/Errors/RevokeSharedLinkError.html +164 -0
- data/docs/DropboxApi/Errors/SaveCopyReferenceError.html +11 -11
- data/docs/DropboxApi/Errors/SaveUrlError.html +10 -10
- data/docs/DropboxApi/Errors/SearchError.html +7 -7
- data/docs/DropboxApi/Errors/SettingsError.html +8 -8
- data/docs/DropboxApi/Errors/ShareFolderError.html +11 -11
- data/docs/DropboxApi/Errors/SharePathError.html +17 -17
- data/docs/DropboxApi/Errors/SharedFolderAccessError.html +10 -10
- data/docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html +6 -6
- data/docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html +6 -6
- data/docs/DropboxApi/Errors/SharedLinkError.html +9 -9
- data/docs/DropboxApi/Errors/SharedLinkMalformedError.html +143 -0
- data/docs/DropboxApi/Errors/SharedLinkNotFoundError.html +6 -6
- data/docs/DropboxApi/Errors/SharingFileAccessError.html +11 -11
- data/docs/DropboxApi/Errors/SharingUserError.html +7 -7
- data/docs/DropboxApi/Errors/TeamFolderError.html +6 -6
- data/docs/DropboxApi/Errors/TeamPolicyDisallowsMemberPolicyError.html +6 -6
- data/docs/DropboxApi/Errors/ThumbnailBatchError.html +7 -7
- data/docs/DropboxApi/Errors/ThumbnailError.html +10 -10
- data/docs/DropboxApi/Errors/TooManyFilesError.html +6 -6
- data/docs/DropboxApi/Errors/TooManyMembersError.html +6 -6
- data/docs/DropboxApi/Errors/TooManyPendingInvitesError.html +6 -6
- data/docs/DropboxApi/Errors/TooManyRequestsError.html +15 -15
- data/docs/DropboxApi/Errors/TooManySharedFolderTargetsError.html +6 -6
- data/docs/DropboxApi/Errors/TooManyWriteOperationsError.html +6 -6
- data/docs/DropboxApi/Errors/UnmountedError.html +6 -6
- data/docs/DropboxApi/Errors/UnshareFileError.html +8 -8
- data/docs/DropboxApi/Errors/UnsupportedContentError.html +6 -6
- data/docs/DropboxApi/Errors/UnsupportedExtensionError.html +6 -6
- data/docs/DropboxApi/Errors/UnsupportedImageError.html +6 -6
- data/docs/DropboxApi/Errors/UnsupportedLinkTypeError.html +6 -6
- data/docs/DropboxApi/Errors/UnverifiedDropboxId.html +6 -6
- data/docs/DropboxApi/Errors/UploadError.html +7 -7
- data/docs/DropboxApi/Errors/UploadSessionFinishError.html +9 -9
- data/docs/DropboxApi/Errors/UploadSessionLookupError.html +10 -10
- data/docs/DropboxApi/Errors/UploadSessionOffsetError.html +10 -10
- data/docs/DropboxApi/Errors/UploadWriteFailedError.html +7 -7
- data/docs/DropboxApi/Errors/WriteConflictError.html +9 -9
- data/docs/DropboxApi/Errors/WriteError.html +11 -11
- data/docs/DropboxApi/Errors.html +8 -8
- data/docs/DropboxApi/Metadata/AccessLevel.html +9 -9
- data/docs/DropboxApi/Metadata/AddFileMemberResult.html +6 -6
- data/docs/DropboxApi/Metadata/AddMember.html +11 -11
- data/docs/DropboxApi/Metadata/Base.html +24 -24
- data/docs/DropboxApi/Metadata/BasicAccount.html +12 -7
- data/docs/DropboxApi/Metadata/CommitInfo.html +9 -9
- data/docs/DropboxApi/Metadata/Deleted.html +6 -6
- data/docs/DropboxApi/Metadata/Dimensions.html +6 -6
- data/docs/DropboxApi/Metadata/Field.html +24 -20
- data/docs/DropboxApi/Metadata/File.html +10 -10
- data/docs/DropboxApi/Metadata/FileCategoriesList.html +205 -0
- data/docs/DropboxApi/Metadata/FileCategory.html +250 -0
- data/docs/DropboxApi/Metadata/FileExtensionsList.html +213 -0
- data/docs/DropboxApi/Metadata/FileLinkMetadata.html +6 -6
- data/docs/DropboxApi/Metadata/FileMemberAction.html +10 -10
- data/docs/DropboxApi/Metadata/FileRequest.html +6 -6
- data/docs/DropboxApi/Metadata/FileStatus.html +242 -0
- data/docs/DropboxApi/Metadata/Folder.html +10 -10
- data/docs/DropboxApi/Metadata/FolderLinkMetadata.html +6 -6
- data/docs/DropboxApi/Metadata/FolderSharingInfo.html +6 -6
- data/docs/DropboxApi/Metadata/LinkPermissions.html +6 -6
- data/docs/DropboxApi/Metadata/Location.html +6 -6
- data/docs/DropboxApi/Metadata/MediaInfo.html +9 -9
- data/docs/DropboxApi/Metadata/MediaMetadata.html +9 -9
- data/docs/DropboxApi/Metadata/Member.html +13 -13
- data/docs/DropboxApi/Metadata/MemberAction.html +9 -9
- data/docs/DropboxApi/Metadata/MemberActionList.html +9 -9
- data/docs/DropboxApi/Metadata/MemberPermission.html +6 -6
- data/docs/DropboxApi/Metadata/MemberPermissionList.html +10 -10
- data/docs/DropboxApi/Metadata/MetadataV2.html +140 -0
- data/docs/DropboxApi/Metadata/Name.html +6 -6
- data/docs/DropboxApi/Metadata/NamespaceId.html +210 -0
- data/docs/DropboxApi/Metadata/ParentFolderAccessInfo.html +6 -6
- data/docs/DropboxApi/Metadata/PhotoMetadata.html +6 -6
- data/docs/DropboxApi/Metadata/Resource.html +10 -10
- data/docs/DropboxApi/Metadata/RootInfo.html +227 -0
- data/docs/DropboxApi/Metadata/SearchMatchFieldOptions.html +140 -0
- data/docs/DropboxApi/Metadata/SearchMatchTypeV2.html +244 -0
- data/docs/DropboxApi/Metadata/SearchMatchV2.html +216 -0
- data/docs/DropboxApi/Metadata/SearchOptions.html +140 -0
- data/docs/DropboxApi/Metadata/SearchOrderBy.html +242 -0
- data/docs/DropboxApi/Metadata/SharedFolder.html +6 -6
- data/docs/DropboxApi/Metadata/SharedFolderPolicy.html +6 -6
- data/docs/DropboxApi/Metadata/SharedLink.html +18 -18
- data/docs/DropboxApi/Metadata/SharedLinkMetadata.html +10 -10
- data/docs/DropboxApi/Metadata/SpaceAllocation.html +6 -6
- data/docs/DropboxApi/Metadata/SpaceUsage.html +6 -6
- data/docs/DropboxApi/Metadata/Tag.html +14 -14
- data/docs/DropboxApi/Metadata/Team.html +6 -6
- data/docs/DropboxApi/Metadata/TeamMemberInfo.html +6 -6
- data/docs/DropboxApi/Metadata/TeamRootInfo.html +140 -0
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultData.html +6 -6
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +11 -11
- data/docs/DropboxApi/Metadata/UploadSessionCursor.html +9 -9
- data/docs/DropboxApi/Metadata/UserRootInfo.html +140 -0
- data/docs/DropboxApi/Metadata/VideoMetadata.html +6 -6
- data/docs/DropboxApi/Metadata/WriteMode.html +21 -21
- data/docs/DropboxApi/Metadata.html +8 -8
- data/docs/DropboxApi/MiddleWare/DecodeResult.html +13 -13
- data/docs/DropboxApi/MiddleWare/PathRoot.html +412 -0
- data/docs/DropboxApi/MiddleWare/Stack.html +22 -22
- data/docs/DropboxApi/MiddleWare.html +8 -8
- data/docs/DropboxApi/OptionsValidator.html +10 -10
- data/docs/DropboxApi/ResultBuilder.html +30 -30
- data/docs/DropboxApi/Results/AddFileMemberResultList.html +10 -10
- data/docs/DropboxApi/Results/Base.html +11 -11
- data/docs/DropboxApi/Results/BasicAccountBatch.html +10 -10
- data/docs/DropboxApi/Results/CopyBatchResult.html +224 -0
- data/docs/DropboxApi/Results/CreateFolderBatchResult.html +241 -0
- data/docs/DropboxApi/Results/CreateFolderBatchResultEntry.html +234 -0
- data/docs/DropboxApi/Results/DeleteBatchResult.html +241 -0
- data/docs/DropboxApi/Results/DeleteBatchResultEntry.html +226 -0
- data/docs/DropboxApi/Results/GetCopyReferenceResult.html +18 -18
- data/docs/DropboxApi/Results/GetTemporaryLinkResult.html +14 -14
- data/docs/DropboxApi/Results/GetThumbnailBatchResult.html +10 -10
- data/docs/DropboxApi/Results/ListFolderGetLatestCursorResult.html +10 -10
- data/docs/DropboxApi/Results/ListFolderLongpollResult.html +14 -14
- data/docs/DropboxApi/Results/ListFolderResult.html +18 -18
- data/docs/DropboxApi/Results/ListRevisionsResult.html +14 -14
- data/docs/DropboxApi/Results/ListSharedLinksResult.html +18 -18
- data/docs/DropboxApi/Results/RelocationBatchResult.html +241 -0
- data/docs/DropboxApi/Results/RelocationBatchResultEntry.html +226 -0
- data/docs/DropboxApi/Results/SaveCopyReferenceResult.html +10 -10
- data/docs/DropboxApi/Results/SaveUrlJobStatus.html +15 -15
- data/docs/DropboxApi/Results/SaveUrlResult.html +10 -10
- data/docs/DropboxApi/Results/Search/Match.html +18 -18
- data/docs/DropboxApi/Results/Search.html +6 -6
- data/docs/DropboxApi/Results/SearchResult.html +3 -3
- data/docs/DropboxApi/Results/SearchV2Result.html +368 -0
- data/docs/DropboxApi/Results/ShareFolderLaunch.html +12 -12
- data/docs/DropboxApi/Results/SharedFileMembers.html +22 -22
- data/docs/DropboxApi/Results/SharedFolderMembers.html +22 -22
- data/docs/DropboxApi/Results/UploadSessionStart.html +10 -10
- data/docs/DropboxApi/Results/VoidResult.html +6 -6
- data/docs/DropboxApi/Results.html +8 -8
- data/docs/DropboxApi.html +7 -7
- data/docs/DropboxScaffoldBuilder.html +269 -102
- data/docs/_index.html +261 -16
- data/docs/class_list.html +3 -3
- data/docs/css/common.css +3 -0
- data/docs/css/style.css +3 -2
- data/docs/file.README.html +134 -43
- data/docs/file.api_coverage.html +21 -21
- data/docs/file.rails_setup.html +10 -10
- data/docs/file_list.html +2 -2
- data/docs/frames.html +2 -2
- data/docs/index.html +134 -43
- data/docs/js/app.js +25 -3
- data/docs/method_list.html +598 -238
- data/docs/top-level-namespace.html +6 -6
- data/dropbox_api.gemspec +11 -16
- data/lib/dropbox_api/authenticator.rb +5 -8
- data/lib/dropbox_api/chunked_uploader.rb +2 -1
- data/lib/dropbox_api/client.rb +24 -2
- data/lib/dropbox_api/connection_builder.rb +39 -4
- data/lib/dropbox_api/endpoints/auth/token_revoke.rb +2 -1
- data/lib/dropbox_api/endpoints/base.rb +31 -5
- data/lib/dropbox_api/endpoints/content_download.rb +5 -7
- data/lib/dropbox_api/endpoints/content_upload.rb +3 -2
- data/lib/dropbox_api/endpoints/file_requests/create_file_request.rb +2 -1
- data/lib/dropbox_api/endpoints/files/copy.rb +4 -3
- data/lib/dropbox_api/endpoints/files/copy_batch.rb +36 -0
- data/lib/dropbox_api/endpoints/files/copy_batch_check.rb +21 -0
- data/lib/dropbox_api/endpoints/files/copy_reference_get.rb +3 -2
- data/lib/dropbox_api/endpoints/files/copy_reference_save.rb +4 -3
- data/lib/dropbox_api/endpoints/files/create_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/files/create_folder_batch.rb +41 -0
- data/lib/dropbox_api/endpoints/files/create_folder_batch_check.rb +22 -0
- data/lib/dropbox_api/endpoints/files/delete.rb +3 -2
- data/lib/dropbox_api/endpoints/files/delete_batch.rb +23 -0
- data/lib/dropbox_api/endpoints/files/delete_batch_check.rb +21 -0
- data/lib/dropbox_api/endpoints/files/download.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_metadata.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_preview.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_temporary_link.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_thumbnail.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_thumbnail_batch.rb +4 -3
- data/lib/dropbox_api/endpoints/files/list_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_folder_continue.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_folder_get_latest_cursor.rb +2 -1
- data/lib/dropbox_api/endpoints/files/list_folder_longpoll.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_revisions.rb +3 -2
- data/lib/dropbox_api/endpoints/files/move.rb +4 -3
- data/lib/dropbox_api/endpoints/files/permanently_delete.rb +3 -2
- data/lib/dropbox_api/endpoints/files/restore.rb +4 -3
- data/lib/dropbox_api/endpoints/files/save_url.rb +4 -3
- data/lib/dropbox_api/endpoints/files/save_url_check_job_status.rb +3 -2
- data/lib/dropbox_api/endpoints/files/search.rb +16 -27
- data/lib/dropbox_api/endpoints/files/search_continue.rb +23 -0
- data/lib/dropbox_api/endpoints/files/upload.rb +3 -2
- data/lib/dropbox_api/endpoints/files/upload_session_append_v2.rb +3 -2
- data/lib/dropbox_api/endpoints/files/upload_session_finish.rb +4 -3
- data/lib/dropbox_api/endpoints/files/upload_session_start.rb +4 -3
- data/lib/dropbox_api/endpoints/rpc.rb +3 -2
- data/lib/dropbox_api/endpoints/rpc_content.rb +3 -2
- data/lib/dropbox_api/endpoints/rpc_notify.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/add_file_member.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/add_folder_member.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/get_shared_link_metadata.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/list_file_members.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/list_folder_members.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/list_shared_links.rb +2 -1
- data/lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/share_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/unshare_file.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_account.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_account_batch.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_current_account.rb +2 -1
- data/lib/dropbox_api/endpoints/users/get_space_usage.rb +2 -1
- data/lib/dropbox_api/endpoints/virtual/upload_by_chunks.rb +1 -0
- data/lib/dropbox_api/errors/add_file_member_error.rb +5 -4
- data/lib/dropbox_api/errors/add_folder_member_error.rb +11 -10
- data/lib/dropbox_api/errors/add_member_selector_error.rb +6 -5
- data/lib/dropbox_api/errors/already_shared_error.rb +1 -0
- data/lib/dropbox_api/errors/basic_error.rb +2 -1
- data/lib/dropbox_api/errors/create_file_request_error.rb +1 -0
- data/lib/dropbox_api/errors/create_folder_batch_error.rb +8 -0
- data/lib/dropbox_api/errors/create_folder_error.rb +2 -1
- data/lib/dropbox_api/errors/create_shared_link_with_settings_error.rb +6 -5
- data/lib/dropbox_api/errors/delete_error.rb +5 -3
- data/lib/dropbox_api/errors/download_error.rb +2 -1
- data/lib/dropbox_api/errors/expired_access_token_error.rb +5 -0
- data/lib/dropbox_api/errors/file_member_action_error.rb +5 -4
- data/lib/dropbox_api/errors/get_account_error.rb +2 -1
- data/lib/dropbox_api/errors/get_copy_reference_error.rb +2 -1
- data/lib/dropbox_api/errors/get_metadata_error.rb +2 -1
- data/lib/dropbox_api/errors/http_error.rb +1 -0
- data/lib/dropbox_api/errors/list_folder_continue_error.rb +3 -2
- data/lib/dropbox_api/errors/list_folder_error.rb +2 -1
- data/lib/dropbox_api/errors/list_folder_longpoll_error.rb +2 -1
- data/lib/dropbox_api/errors/list_revisions_error.rb +2 -1
- data/lib/dropbox_api/errors/list_shared_links_error.rb +3 -2
- data/lib/dropbox_api/errors/lookup_error.rb +6 -5
- data/lib/dropbox_api/errors/poll_error.rb +3 -2
- data/lib/dropbox_api/errors/preview_error.rb +5 -4
- data/lib/dropbox_api/errors/relocation_batch_entry_error.rb +10 -0
- data/lib/dropbox_api/errors/relocation_error.rb +8 -7
- data/lib/dropbox_api/errors/restore_error.rb +4 -3
- data/lib/dropbox_api/errors/revoke_shared_link_error.rb +5 -4
- data/lib/dropbox_api/errors/save_copy_reference_error.rb +6 -5
- data/lib/dropbox_api/errors/save_url_error.rb +5 -4
- data/lib/dropbox_api/errors/search_error.rb +2 -1
- data/lib/dropbox_api/errors/settings_error.rb +3 -2
- data/lib/dropbox_api/errors/share_folder_error.rb +6 -5
- data/lib/dropbox_api/errors/share_path_error.rb +12 -11
- data/lib/dropbox_api/errors/shared_folder_access_error.rb +5 -4
- data/lib/dropbox_api/errors/shared_link_error.rb +4 -3
- data/lib/dropbox_api/errors/sharing_file_access_error.rb +6 -5
- data/lib/dropbox_api/errors/sharing_user_error.rb +2 -1
- data/lib/dropbox_api/errors/thumbnail_batch_error.rb +2 -1
- data/lib/dropbox_api/errors/thumbnail_error.rb +5 -4
- data/lib/dropbox_api/errors/too_many_requests_error.rb +3 -2
- data/lib/dropbox_api/errors/unshare_file_error.rb +3 -2
- data/lib/dropbox_api/errors/upload_error.rb +2 -1
- data/lib/dropbox_api/errors/upload_session_finish_error.rb +4 -3
- data/lib/dropbox_api/errors/upload_session_lookup_error.rb +5 -4
- data/lib/dropbox_api/errors/upload_session_offset_error.rb +1 -0
- data/lib/dropbox_api/errors/upload_write_failed_error.rb +2 -1
- data/lib/dropbox_api/errors/write_conflict_error.rb +4 -3
- data/lib/dropbox_api/errors/write_error.rb +6 -5
- data/lib/dropbox_api/metadata/access_level.rb +1 -0
- data/lib/dropbox_api/metadata/add_file_member_result.rb +1 -0
- data/lib/dropbox_api/metadata/add_member.rb +3 -2
- data/lib/dropbox_api/metadata/base.rb +2 -1
- data/lib/dropbox_api/metadata/basic_account.rb +8 -1
- data/lib/dropbox_api/metadata/commit_info.rb +2 -1
- data/lib/dropbox_api/metadata/deleted.rb +1 -0
- data/lib/dropbox_api/metadata/dimensions.rb +1 -0
- data/lib/dropbox_api/metadata/field.rb +7 -4
- data/lib/dropbox_api/metadata/file.rb +2 -1
- data/lib/dropbox_api/metadata/file_categories_list.rb +9 -0
- data/lib/dropbox_api/metadata/file_category.rb +22 -0
- data/lib/dropbox_api/metadata/file_extensions_list.rb +13 -0
- data/lib/dropbox_api/metadata/file_link_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/file_member_action.rb +2 -1
- data/lib/dropbox_api/metadata/file_request.rb +1 -0
- data/lib/dropbox_api/metadata/file_status.rb +14 -0
- data/lib/dropbox_api/metadata/folder.rb +2 -1
- data/lib/dropbox_api/metadata/folder_link_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/folder_sharing_info.rb +1 -0
- data/lib/dropbox_api/metadata/link_permissions.rb +1 -0
- data/lib/dropbox_api/metadata/location.rb +1 -0
- data/lib/dropbox_api/metadata/media_info.rb +1 -0
- data/lib/dropbox_api/metadata/media_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/member.rb +6 -5
- data/lib/dropbox_api/metadata/member_action.rb +1 -0
- data/lib/dropbox_api/metadata/member_action_list.rb +1 -0
- data/lib/dropbox_api/metadata/member_permission.rb +1 -0
- data/lib/dropbox_api/metadata/member_permission_list.rb +1 -0
- data/lib/dropbox_api/metadata/metadata_v2.rb +7 -0
- data/lib/dropbox_api/metadata/name.rb +1 -0
- data/lib/dropbox_api/metadata/namespace_id.rb +10 -0
- data/lib/dropbox_api/metadata/parent_folder_access_info.rb +1 -0
- data/lib/dropbox_api/metadata/photo_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/resource.rb +2 -1
- data/lib/dropbox_api/metadata/root_info.rb +32 -0
- data/lib/dropbox_api/metadata/search_match_field_options.rb +9 -0
- data/lib/dropbox_api/metadata/search_match_type_v2.rb +16 -0
- data/lib/dropbox_api/metadata/search_match_v2.rb +18 -0
- data/lib/dropbox_api/metadata/search_options.rb +33 -0
- data/lib/dropbox_api/metadata/search_order_by.rb +14 -0
- data/lib/dropbox_api/metadata/shared_folder.rb +1 -0
- data/lib/dropbox_api/metadata/shared_folder_policy.rb +1 -0
- data/lib/dropbox_api/metadata/shared_link.rb +3 -2
- data/lib/dropbox_api/metadata/shared_link_metadata.rb +2 -1
- data/lib/dropbox_api/metadata/space_allocation.rb +1 -0
- data/lib/dropbox_api/metadata/space_usage.rb +1 -0
- data/lib/dropbox_api/metadata/tag.rb +2 -1
- data/lib/dropbox_api/metadata/team.rb +1 -0
- data/lib/dropbox_api/metadata/team_member_info.rb +1 -0
- data/lib/dropbox_api/metadata/team_root_info.rb +8 -0
- data/lib/dropbox_api/metadata/thumbnail_batch_result_data.rb +1 -0
- data/lib/dropbox_api/metadata/thumbnail_batch_result_entry.rb +3 -2
- data/lib/dropbox_api/metadata/upload_session_cursor.rb +1 -0
- data/lib/dropbox_api/metadata/user_root_info.rb +7 -0
- data/lib/dropbox_api/metadata/video_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/write_mode.rb +6 -5
- data/lib/dropbox_api/middleware/decode_result.rb +3 -2
- data/lib/dropbox_api/middleware/path_root.rb +35 -0
- data/lib/dropbox_api/middleware/stack.rb +1 -0
- data/lib/dropbox_api/options_validator.rb +1 -0
- data/lib/dropbox_api/result_builder.rb +3 -2
- data/lib/dropbox_api/results/add_file_member_result_list.rb +1 -0
- data/lib/dropbox_api/results/base.rb +1 -0
- data/lib/dropbox_api/results/basic_account_batch.rb +1 -0
- data/lib/dropbox_api/results/copy_batch_result.rb +15 -0
- data/lib/dropbox_api/results/create_folder_batch_result.rb +21 -0
- data/lib/dropbox_api/results/create_folder_batch_result_entry.rb +20 -0
- data/lib/dropbox_api/results/delete_batch_result.rb +21 -0
- data/lib/dropbox_api/results/delete_batch_result_entry.rb +16 -0
- data/lib/dropbox_api/results/get_copy_reference_result.rb +4 -3
- data/lib/dropbox_api/results/get_temporary_link_result.rb +3 -2
- data/lib/dropbox_api/results/get_thumbnail_batch_result.rb +2 -1
- data/lib/dropbox_api/results/list_folder_get_latest_cursor_result.rb +2 -1
- data/lib/dropbox_api/results/list_folder_longpoll_result.rb +3 -2
- data/lib/dropbox_api/results/list_folder_result.rb +4 -3
- data/lib/dropbox_api/results/list_revisions_result.rb +3 -2
- data/lib/dropbox_api/results/list_shared_links_result.rb +4 -3
- data/lib/dropbox_api/results/relocation_batch_result.rb +21 -0
- data/lib/dropbox_api/results/relocation_batch_result_entry.rb +16 -0
- data/lib/dropbox_api/results/save_copy_reference_result.rb +2 -1
- data/lib/dropbox_api/results/save_url_job_status.rb +7 -6
- data/lib/dropbox_api/results/save_url_result.rb +2 -1
- data/lib/dropbox_api/results/search/match.rb +3 -2
- data/lib/dropbox_api/results/search_v2_result.rb +23 -0
- data/lib/dropbox_api/results/share_folder_launch.rb +4 -3
- data/lib/dropbox_api/results/shared_file_members.rb +5 -4
- data/lib/dropbox_api/results/shared_folder_members.rb +5 -4
- data/lib/dropbox_api/results/upload_session_start.rb +2 -1
- data/lib/dropbox_api/results/void_result.rb +1 -0
- data/lib/dropbox_api/version.rb +2 -1
- data/lib/dropbox_api.rb +38 -6
- data/yardoc/endpoint_handler.rb +2 -1
- data/yardoc/helpers/html_helper.rb +2 -1
- data/yardoc/rspec.rb +3 -2
- data/yardoc/templates/default/method_details/setup.rb +1 -0
- metadata +84 -93
- data/CHANGES.md +0 -7
- data/lib/dropbox_api/results/search_result.rb +0 -22
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Class: DropboxApi::Metadata::VideoMetadata
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.26
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "DropboxApi::Metadata::VideoMetadata";
|
19
19
|
relpath = '../../';
|
20
20
|
</script>
|
@@ -155,9 +155,9 @@
|
|
155
155
|
</div>
|
156
156
|
|
157
157
|
<div id="footer">
|
158
|
-
Generated on
|
158
|
+
Generated on Wed Sep 29 23:44:26 2021 by
|
159
159
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
160
|
-
0.9.
|
160
|
+
0.9.26 (ruby-2.6.5).
|
161
161
|
</div>
|
162
162
|
|
163
163
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Class: DropboxApi::Metadata::WriteMode
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.26
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "DropboxApi::Metadata::WriteMode";
|
19
19
|
relpath = '../../';
|
20
20
|
</script>
|
@@ -271,7 +271,7 @@ to the file name. For example, "document.txt" might become
|
|
271
271
|
|
272
272
|
</h3><div class="docstring">
|
273
273
|
<div class="discussion">
|
274
|
-
<p>Returns a new instance of WriteMode
|
274
|
+
<p>Returns a new instance of WriteMode.</p>
|
275
275
|
|
276
276
|
|
277
277
|
</div>
|
@@ -306,7 +306,6 @@ to the file name. For example, "document.txt" might become
|
|
306
306
|
<pre class="lines">
|
307
307
|
|
308
308
|
|
309
|
-
45
|
310
309
|
46
|
311
310
|
47
|
312
311
|
48
|
@@ -319,10 +318,11 @@ to the file name. For example, "document.txt" might become
|
|
319
318
|
55
|
320
319
|
56
|
321
320
|
57
|
322
|
-
58
|
321
|
+
58
|
322
|
+
59</pre>
|
323
323
|
</td>
|
324
324
|
<td>
|
325
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/write_mode.rb', line
|
325
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/write_mode.rb', line 46</span>
|
326
326
|
|
327
327
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_write_mode'>write_mode</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
328
328
|
<span class='kw'>case</span> <span class='id identifier rubyid_write_mode'>write_mode</span>
|
@@ -330,11 +330,11 @@ to the file name. For example, "document.txt" might become
|
|
330
330
|
<span class='ivar'>@write_mode</span> <span class='op'>=</span> <span class='id identifier rubyid_write_mode'>write_mode</span>
|
331
331
|
<span class='kw'>when</span> <span class='const'>String</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Symbol</span>
|
332
332
|
<span class='ivar'>@write_mode</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
333
|
-
<span class='tstring'><span class='tstring_beg'
|
333
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.tag</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_write_mode'>write_mode</span>
|
334
334
|
<span class='rbrace'>}</span>
|
335
335
|
<span class='ivar'>@write_mode</span><span class='lbracket'>[</span><span class='id identifier rubyid_write_mode'>write_mode</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span> <span class='kw'>unless</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
336
336
|
<span class='kw'>end</span>
|
337
|
-
<span class='ivar'>@write_mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'
|
337
|
+
<span class='ivar'>@write_mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.tag</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@write_mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.tag</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
338
338
|
|
339
339
|
<span class='id identifier rubyid_check_validity'>check_validity</span>
|
340
340
|
<span class='kw'>end</span></pre>
|
@@ -366,7 +366,6 @@ to the file name. For example, "document.txt" might become
|
|
366
366
|
<pre class="lines">
|
367
367
|
|
368
368
|
|
369
|
-
60
|
370
369
|
61
|
371
370
|
62
|
372
371
|
63
|
@@ -374,18 +373,19 @@ to the file name. For example, "document.txt" might become
|
|
374
373
|
65
|
375
374
|
66
|
376
375
|
67
|
377
|
-
68
|
376
|
+
68
|
377
|
+
69</pre>
|
378
378
|
</td>
|
379
379
|
<td>
|
380
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/write_mode.rb', line
|
380
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/write_mode.rb', line 61</span>
|
381
381
|
|
382
382
|
<span class='kw'>def</span> <span class='id identifier rubyid_check_validity'>check_validity</span>
|
383
|
-
<span class='kw'>unless</span> <span class='id identifier rubyid_valid_mode?'>valid_mode?</span> <span class='ivar'>@write_mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'
|
383
|
+
<span class='kw'>unless</span> <span class='id identifier rubyid_valid_mode?'>valid_mode?</span> <span class='ivar'>@write_mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.tag</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
384
384
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Invalid write mode: </span><span class='embexpr_beg'>#{</span><span class='ivar'>@write_mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>.tag</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
385
385
|
<span class='kw'>end</span>
|
386
386
|
|
387
|
-
<span class='kw'>if</span> <span class='ivar'>@write_mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'
|
388
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'
|
387
|
+
<span class='kw'>if</span> <span class='ivar'>@write_mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.tag</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:update</span> <span class='op'>&&</span> <span class='ivar'>@write_mode</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>update</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
388
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Mode `:update` expects a `rev` number</span><span class='tstring_end'>'</span></span>
|
389
389
|
<span class='kw'>end</span>
|
390
390
|
<span class='kw'>end</span></pre>
|
391
391
|
</td>
|
@@ -409,12 +409,12 @@ to the file name. For example, "document.txt" might become
|
|
409
409
|
<pre class="lines">
|
410
410
|
|
411
411
|
|
412
|
-
70
|
413
412
|
71
|
414
|
-
72
|
413
|
+
72
|
414
|
+
73</pre>
|
415
415
|
</td>
|
416
416
|
<td>
|
417
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/write_mode.rb', line
|
417
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/write_mode.rb', line 71</span>
|
418
418
|
|
419
419
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_hash'>to_hash</span>
|
420
420
|
<span class='ivar'>@write_mode</span>
|
@@ -429,9 +429,9 @@ to the file name. For example, "document.txt" might become
|
|
429
429
|
</div>
|
430
430
|
|
431
431
|
<div id="footer">
|
432
|
-
Generated on
|
432
|
+
Generated on Wed Sep 29 23:44:25 2021 by
|
433
433
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
434
|
-
0.9.
|
434
|
+
0.9.26 (ruby-2.6.5).
|
435
435
|
</div>
|
436
436
|
|
437
437
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Module: DropboxApi::Metadata
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.26
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "DropboxApi::Metadata";
|
19
19
|
relpath = '../';
|
20
20
|
</script>
|
@@ -79,7 +79,7 @@
|
|
79
79
|
<dl>
|
80
80
|
<dt>Defined in:</dt>
|
81
81
|
<dd>lib/dropbox_api/metadata/tag.rb<span class="defines">,<br />
|
82
|
-
lib/dropbox_api/metadata/base.rb,<br /> lib/dropbox_api/metadata/file.rb,<br /> lib/dropbox_api/metadata/name.rb,<br /> lib/dropbox_api/metadata/team.rb,<br /> lib/dropbox_api/metadata/field.rb,<br /> lib/dropbox_api/metadata/folder.rb,<br /> lib/dropbox_api/metadata/member.rb,<br /> lib/dropbox_api/metadata/deleted.rb,<br /> lib/dropbox_api/metadata/location.rb,<br /> lib/dropbox_api/metadata/resource.rb,<br /> lib/dropbox_api/metadata/add_member.rb,<br /> lib/dropbox_api/metadata/dimensions.rb,<br /> lib/dropbox_api/metadata/media_info.rb,<br /> lib/dropbox_api/metadata/write_mode.rb,<br /> lib/dropbox_api/metadata/commit_info.rb,<br /> lib/dropbox_api/metadata/shared_link.rb,<br /> lib/dropbox_api/metadata/space_usage.rb,<br /> lib/dropbox_api/metadata/access_level.rb,<br /> lib/dropbox_api/metadata/file_request.rb,<br /> lib/dropbox_api/metadata/basic_account.rb,<br /> lib/dropbox_api/metadata/member_action.rb,<br /> lib/dropbox_api/metadata/shared_folder.rb,<br /> lib/dropbox_api/metadata/media_metadata.rb,<br /> lib/dropbox_api/metadata/photo_metadata.rb,<br /> lib/dropbox_api/metadata/video_metadata.rb,<br /> lib/dropbox_api/metadata/link_permissions.rb,<br /> lib/dropbox_api/metadata/space_allocation.rb,<br /> lib/dropbox_api/metadata/team_member_info.rb,<br /> lib/dropbox_api/metadata/member_permission.rb,<br /> lib/dropbox_api/metadata/file_link_metadata.rb,<br /> lib/dropbox_api/metadata/file_member_action.rb,<br /> lib/dropbox_api/metadata/member_action_list.rb,<br /> lib/dropbox_api/metadata/folder_sharing_info.rb,<br /> lib/dropbox_api/metadata/folder_link_metadata.rb,<br /> lib/dropbox_api/metadata/shared_folder_policy.rb,<br /> lib/dropbox_api/metadata/shared_link_metadata.rb,<br /> lib/dropbox_api/metadata/upload_session_cursor.rb,<br /> lib/dropbox_api/metadata/add_file_member_result.rb,<br /> lib/dropbox_api/metadata/member_permission_list.rb,<br /> lib/dropbox_api/metadata/parent_folder_access_info.rb,<br /> lib/dropbox_api/metadata/thumbnail_batch_result_data.rb,<br /> lib/dropbox_api/metadata/thumbnail_batch_result_entry.rb</span>
|
82
|
+
lib/dropbox_api/metadata/base.rb,<br /> lib/dropbox_api/metadata/file.rb,<br /> lib/dropbox_api/metadata/name.rb,<br /> lib/dropbox_api/metadata/team.rb,<br /> lib/dropbox_api/metadata/field.rb,<br /> lib/dropbox_api/metadata/folder.rb,<br /> lib/dropbox_api/metadata/member.rb,<br /> lib/dropbox_api/metadata/deleted.rb,<br /> lib/dropbox_api/metadata/location.rb,<br /> lib/dropbox_api/metadata/resource.rb,<br /> lib/dropbox_api/metadata/root_info.rb,<br /> lib/dropbox_api/metadata/add_member.rb,<br /> lib/dropbox_api/metadata/dimensions.rb,<br /> lib/dropbox_api/metadata/media_info.rb,<br /> lib/dropbox_api/metadata/write_mode.rb,<br /> lib/dropbox_api/metadata/commit_info.rb,<br /> lib/dropbox_api/metadata/file_status.rb,<br /> lib/dropbox_api/metadata/metadata_v2.rb,<br /> lib/dropbox_api/metadata/shared_link.rb,<br /> lib/dropbox_api/metadata/space_usage.rb,<br /> lib/dropbox_api/metadata/access_level.rb,<br /> lib/dropbox_api/metadata/file_request.rb,<br /> lib/dropbox_api/metadata/namespace_id.rb,<br /> lib/dropbox_api/metadata/basic_account.rb,<br /> lib/dropbox_api/metadata/file_category.rb,<br /> lib/dropbox_api/metadata/member_action.rb,<br /> lib/dropbox_api/metadata/shared_folder.rb,<br /> lib/dropbox_api/metadata/media_metadata.rb,<br /> lib/dropbox_api/metadata/photo_metadata.rb,<br /> lib/dropbox_api/metadata/search_options.rb,<br /> lib/dropbox_api/metadata/team_root_info.rb,<br /> lib/dropbox_api/metadata/user_root_info.rb,<br /> lib/dropbox_api/metadata/video_metadata.rb,<br /> lib/dropbox_api/metadata/search_match_v2.rb,<br /> lib/dropbox_api/metadata/search_order_by.rb,<br /> lib/dropbox_api/metadata/link_permissions.rb,<br /> lib/dropbox_api/metadata/space_allocation.rb,<br /> lib/dropbox_api/metadata/team_member_info.rb,<br /> lib/dropbox_api/metadata/member_permission.rb,<br /> lib/dropbox_api/metadata/file_link_metadata.rb,<br /> lib/dropbox_api/metadata/file_member_action.rb,<br /> lib/dropbox_api/metadata/member_action_list.rb,<br /> lib/dropbox_api/metadata/folder_sharing_info.rb,<br /> lib/dropbox_api/metadata/file_categories_list.rb,<br /> lib/dropbox_api/metadata/file_extensions_list.rb,<br /> lib/dropbox_api/metadata/folder_link_metadata.rb,<br /> lib/dropbox_api/metadata/search_match_type_v2.rb,<br /> lib/dropbox_api/metadata/shared_folder_policy.rb,<br /> lib/dropbox_api/metadata/shared_link_metadata.rb,<br /> lib/dropbox_api/metadata/upload_session_cursor.rb,<br /> lib/dropbox_api/metadata/add_file_member_result.rb,<br /> lib/dropbox_api/metadata/member_permission_list.rb,<br /> lib/dropbox_api/metadata/parent_folder_access_info.rb,<br /> lib/dropbox_api/metadata/search_match_field_options.rb,<br /> lib/dropbox_api/metadata/thumbnail_batch_result_data.rb,<br /> lib/dropbox_api/metadata/thumbnail_batch_result_entry.rb</span>
|
83
83
|
</dd>
|
84
84
|
</dl>
|
85
85
|
|
@@ -91,7 +91,7 @@
|
|
91
91
|
|
92
92
|
|
93
93
|
|
94
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Metadata/AccessLevel.html" title="DropboxApi::Metadata::AccessLevel (class)">AccessLevel</a></span>, <span class='object_link'><a href="Metadata/AddFileMemberResult.html" title="DropboxApi::Metadata::AddFileMemberResult (class)">AddFileMemberResult</a></span>, <span class='object_link'><a href="Metadata/AddMember.html" title="DropboxApi::Metadata::AddMember (class)">AddMember</a></span>, <span class='object_link'><a href="Metadata/Base.html" title="DropboxApi::Metadata::Base (class)">Base</a></span>, <span class='object_link'><a href="Metadata/BasicAccount.html" title="DropboxApi::Metadata::BasicAccount (class)">BasicAccount</a></span>, <span class='object_link'><a href="Metadata/CommitInfo.html" title="DropboxApi::Metadata::CommitInfo (class)">CommitInfo</a></span>, <span class='object_link'><a href="Metadata/Deleted.html" title="DropboxApi::Metadata::Deleted (class)">Deleted</a></span>, <span class='object_link'><a href="Metadata/Dimensions.html" title="DropboxApi::Metadata::Dimensions (class)">Dimensions</a></span>, <span class='object_link'><a href="Metadata/Field.html" title="DropboxApi::Metadata::Field (class)">Field</a></span>, <span class='object_link'><a href="Metadata/File.html" title="DropboxApi::Metadata::File (class)">File</a></span>, <span class='object_link'><a href="Metadata/FileLinkMetadata.html" title="DropboxApi::Metadata::FileLinkMetadata (class)">FileLinkMetadata</a></span>, <span class='object_link'><a href="Metadata/FileMemberAction.html" title="DropboxApi::Metadata::FileMemberAction (class)">FileMemberAction</a></span>, <span class='object_link'><a href="Metadata/FileRequest.html" title="DropboxApi::Metadata::FileRequest (class)">FileRequest</a></span>, <span class='object_link'><a href="Metadata/Folder.html" title="DropboxApi::Metadata::Folder (class)">Folder</a></span>, <span class='object_link'><a href="Metadata/FolderLinkMetadata.html" title="DropboxApi::Metadata::FolderLinkMetadata (class)">FolderLinkMetadata</a></span>, <span class='object_link'><a href="Metadata/FolderSharingInfo.html" title="DropboxApi::Metadata::FolderSharingInfo (class)">FolderSharingInfo</a></span>, <span class='object_link'><a href="Metadata/LinkPermissions.html" title="DropboxApi::Metadata::LinkPermissions (class)">LinkPermissions</a></span>, <span class='object_link'><a href="Metadata/Location.html" title="DropboxApi::Metadata::Location (class)">Location</a></span>, <span class='object_link'><a href="Metadata/MediaInfo.html" title="DropboxApi::Metadata::MediaInfo (class)">MediaInfo</a></span>, <span class='object_link'><a href="Metadata/MediaMetadata.html" title="DropboxApi::Metadata::MediaMetadata (class)">MediaMetadata</a></span>, <span class='object_link'><a href="Metadata/Member.html" title="DropboxApi::Metadata::Member (class)">Member</a></span>, <span class='object_link'><a href="Metadata/MemberAction.html" title="DropboxApi::Metadata::MemberAction (class)">MemberAction</a></span>, <span class='object_link'><a href="Metadata/MemberActionList.html" title="DropboxApi::Metadata::MemberActionList (class)">MemberActionList</a></span>, <span class='object_link'><a href="Metadata/MemberPermission.html" title="DropboxApi::Metadata::MemberPermission (class)">MemberPermission</a></span>, <span class='object_link'><a href="Metadata/MemberPermissionList.html" title="DropboxApi::Metadata::MemberPermissionList (class)">MemberPermissionList</a></span>, <span class='object_link'><a href="Metadata/Name.html" title="DropboxApi::Metadata::Name (class)">Name</a></span>, <span class='object_link'><a href="Metadata/ParentFolderAccessInfo.html" title="DropboxApi::Metadata::ParentFolderAccessInfo (class)">ParentFolderAccessInfo</a></span>, <span class='object_link'><a href="Metadata/PhotoMetadata.html" title="DropboxApi::Metadata::PhotoMetadata (class)">PhotoMetadata</a></span>, <span class='object_link'><a href="Metadata/Resource.html" title="DropboxApi::Metadata::Resource (class)">Resource</a></span>, <span class='object_link'><a href="Metadata/SharedFolder.html" title="DropboxApi::Metadata::SharedFolder (class)">SharedFolder</a></span>, <span class='object_link'><a href="Metadata/SharedFolderPolicy.html" title="DropboxApi::Metadata::SharedFolderPolicy (class)">SharedFolderPolicy</a></span>, <span class='object_link'><a href="Metadata/SharedLink.html" title="DropboxApi::Metadata::SharedLink (class)">SharedLink</a></span>, <span class='object_link'><a href="Metadata/SharedLinkMetadata.html" title="DropboxApi::Metadata::SharedLinkMetadata (class)">SharedLinkMetadata</a></span>, <span class='object_link'><a href="Metadata/SpaceAllocation.html" title="DropboxApi::Metadata::SpaceAllocation (class)">SpaceAllocation</a></span>, <span class='object_link'><a href="Metadata/SpaceUsage.html" title="DropboxApi::Metadata::SpaceUsage (class)">SpaceUsage</a></span>, <span class='object_link'><a href="Metadata/Tag.html" title="DropboxApi::Metadata::Tag (class)">Tag</a></span>, <span class='object_link'><a href="Metadata/Team.html" title="DropboxApi::Metadata::Team (class)">Team</a></span>, <span class='object_link'><a href="Metadata/TeamMemberInfo.html" title="DropboxApi::Metadata::TeamMemberInfo (class)">TeamMemberInfo</a></span>, <span class='object_link'><a href="Metadata/ThumbnailBatchResultData.html" title="DropboxApi::Metadata::ThumbnailBatchResultData (class)">ThumbnailBatchResultData</a></span>, <span class='object_link'><a href="Metadata/ThumbnailBatchResultEntry.html" title="DropboxApi::Metadata::ThumbnailBatchResultEntry (class)">ThumbnailBatchResultEntry</a></span>, <span class='object_link'><a href="Metadata/UploadSessionCursor.html" title="DropboxApi::Metadata::UploadSessionCursor (class)">UploadSessionCursor</a></span>, <span class='object_link'><a href="Metadata/VideoMetadata.html" title="DropboxApi::Metadata::VideoMetadata (class)">VideoMetadata</a></span>, <span class='object_link'><a href="Metadata/WriteMode.html" title="DropboxApi::Metadata::WriteMode (class)">WriteMode</a></span>
|
94
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Metadata/AccessLevel.html" title="DropboxApi::Metadata::AccessLevel (class)">AccessLevel</a></span>, <span class='object_link'><a href="Metadata/AddFileMemberResult.html" title="DropboxApi::Metadata::AddFileMemberResult (class)">AddFileMemberResult</a></span>, <span class='object_link'><a href="Metadata/AddMember.html" title="DropboxApi::Metadata::AddMember (class)">AddMember</a></span>, <span class='object_link'><a href="Metadata/Base.html" title="DropboxApi::Metadata::Base (class)">Base</a></span>, <span class='object_link'><a href="Metadata/BasicAccount.html" title="DropboxApi::Metadata::BasicAccount (class)">BasicAccount</a></span>, <span class='object_link'><a href="Metadata/CommitInfo.html" title="DropboxApi::Metadata::CommitInfo (class)">CommitInfo</a></span>, <span class='object_link'><a href="Metadata/Deleted.html" title="DropboxApi::Metadata::Deleted (class)">Deleted</a></span>, <span class='object_link'><a href="Metadata/Dimensions.html" title="DropboxApi::Metadata::Dimensions (class)">Dimensions</a></span>, <span class='object_link'><a href="Metadata/Field.html" title="DropboxApi::Metadata::Field (class)">Field</a></span>, <span class='object_link'><a href="Metadata/File.html" title="DropboxApi::Metadata::File (class)">File</a></span>, <span class='object_link'><a href="Metadata/FileCategoriesList.html" title="DropboxApi::Metadata::FileCategoriesList (class)">FileCategoriesList</a></span>, <span class='object_link'><a href="Metadata/FileCategory.html" title="DropboxApi::Metadata::FileCategory (class)">FileCategory</a></span>, <span class='object_link'><a href="Metadata/FileExtensionsList.html" title="DropboxApi::Metadata::FileExtensionsList (class)">FileExtensionsList</a></span>, <span class='object_link'><a href="Metadata/FileLinkMetadata.html" title="DropboxApi::Metadata::FileLinkMetadata (class)">FileLinkMetadata</a></span>, <span class='object_link'><a href="Metadata/FileMemberAction.html" title="DropboxApi::Metadata::FileMemberAction (class)">FileMemberAction</a></span>, <span class='object_link'><a href="Metadata/FileRequest.html" title="DropboxApi::Metadata::FileRequest (class)">FileRequest</a></span>, <span class='object_link'><a href="Metadata/FileStatus.html" title="DropboxApi::Metadata::FileStatus (class)">FileStatus</a></span>, <span class='object_link'><a href="Metadata/Folder.html" title="DropboxApi::Metadata::Folder (class)">Folder</a></span>, <span class='object_link'><a href="Metadata/FolderLinkMetadata.html" title="DropboxApi::Metadata::FolderLinkMetadata (class)">FolderLinkMetadata</a></span>, <span class='object_link'><a href="Metadata/FolderSharingInfo.html" title="DropboxApi::Metadata::FolderSharingInfo (class)">FolderSharingInfo</a></span>, <span class='object_link'><a href="Metadata/LinkPermissions.html" title="DropboxApi::Metadata::LinkPermissions (class)">LinkPermissions</a></span>, <span class='object_link'><a href="Metadata/Location.html" title="DropboxApi::Metadata::Location (class)">Location</a></span>, <span class='object_link'><a href="Metadata/MediaInfo.html" title="DropboxApi::Metadata::MediaInfo (class)">MediaInfo</a></span>, <span class='object_link'><a href="Metadata/MediaMetadata.html" title="DropboxApi::Metadata::MediaMetadata (class)">MediaMetadata</a></span>, <span class='object_link'><a href="Metadata/Member.html" title="DropboxApi::Metadata::Member (class)">Member</a></span>, <span class='object_link'><a href="Metadata/MemberAction.html" title="DropboxApi::Metadata::MemberAction (class)">MemberAction</a></span>, <span class='object_link'><a href="Metadata/MemberActionList.html" title="DropboxApi::Metadata::MemberActionList (class)">MemberActionList</a></span>, <span class='object_link'><a href="Metadata/MemberPermission.html" title="DropboxApi::Metadata::MemberPermission (class)">MemberPermission</a></span>, <span class='object_link'><a href="Metadata/MemberPermissionList.html" title="DropboxApi::Metadata::MemberPermissionList (class)">MemberPermissionList</a></span>, <span class='object_link'><a href="Metadata/MetadataV2.html" title="DropboxApi::Metadata::MetadataV2 (class)">MetadataV2</a></span>, <span class='object_link'><a href="Metadata/Name.html" title="DropboxApi::Metadata::Name (class)">Name</a></span>, <span class='object_link'><a href="Metadata/NamespaceId.html" title="DropboxApi::Metadata::NamespaceId (class)">NamespaceId</a></span>, <span class='object_link'><a href="Metadata/ParentFolderAccessInfo.html" title="DropboxApi::Metadata::ParentFolderAccessInfo (class)">ParentFolderAccessInfo</a></span>, <span class='object_link'><a href="Metadata/PhotoMetadata.html" title="DropboxApi::Metadata::PhotoMetadata (class)">PhotoMetadata</a></span>, <span class='object_link'><a href="Metadata/Resource.html" title="DropboxApi::Metadata::Resource (class)">Resource</a></span>, <span class='object_link'><a href="Metadata/RootInfo.html" title="DropboxApi::Metadata::RootInfo (class)">RootInfo</a></span>, <span class='object_link'><a href="Metadata/SearchMatchFieldOptions.html" title="DropboxApi::Metadata::SearchMatchFieldOptions (class)">SearchMatchFieldOptions</a></span>, <span class='object_link'><a href="Metadata/SearchMatchTypeV2.html" title="DropboxApi::Metadata::SearchMatchTypeV2 (class)">SearchMatchTypeV2</a></span>, <span class='object_link'><a href="Metadata/SearchMatchV2.html" title="DropboxApi::Metadata::SearchMatchV2 (class)">SearchMatchV2</a></span>, <span class='object_link'><a href="Metadata/SearchOptions.html" title="DropboxApi::Metadata::SearchOptions (class)">SearchOptions</a></span>, <span class='object_link'><a href="Metadata/SearchOrderBy.html" title="DropboxApi::Metadata::SearchOrderBy (class)">SearchOrderBy</a></span>, <span class='object_link'><a href="Metadata/SharedFolder.html" title="DropboxApi::Metadata::SharedFolder (class)">SharedFolder</a></span>, <span class='object_link'><a href="Metadata/SharedFolderPolicy.html" title="DropboxApi::Metadata::SharedFolderPolicy (class)">SharedFolderPolicy</a></span>, <span class='object_link'><a href="Metadata/SharedLink.html" title="DropboxApi::Metadata::SharedLink (class)">SharedLink</a></span>, <span class='object_link'><a href="Metadata/SharedLinkMetadata.html" title="DropboxApi::Metadata::SharedLinkMetadata (class)">SharedLinkMetadata</a></span>, <span class='object_link'><a href="Metadata/SpaceAllocation.html" title="DropboxApi::Metadata::SpaceAllocation (class)">SpaceAllocation</a></span>, <span class='object_link'><a href="Metadata/SpaceUsage.html" title="DropboxApi::Metadata::SpaceUsage (class)">SpaceUsage</a></span>, <span class='object_link'><a href="Metadata/Tag.html" title="DropboxApi::Metadata::Tag (class)">Tag</a></span>, <span class='object_link'><a href="Metadata/Team.html" title="DropboxApi::Metadata::Team (class)">Team</a></span>, <span class='object_link'><a href="Metadata/TeamMemberInfo.html" title="DropboxApi::Metadata::TeamMemberInfo (class)">TeamMemberInfo</a></span>, <span class='object_link'><a href="Metadata/TeamRootInfo.html" title="DropboxApi::Metadata::TeamRootInfo (class)">TeamRootInfo</a></span>, <span class='object_link'><a href="Metadata/ThumbnailBatchResultData.html" title="DropboxApi::Metadata::ThumbnailBatchResultData (class)">ThumbnailBatchResultData</a></span>, <span class='object_link'><a href="Metadata/ThumbnailBatchResultEntry.html" title="DropboxApi::Metadata::ThumbnailBatchResultEntry (class)">ThumbnailBatchResultEntry</a></span>, <span class='object_link'><a href="Metadata/UploadSessionCursor.html" title="DropboxApi::Metadata::UploadSessionCursor (class)">UploadSessionCursor</a></span>, <span class='object_link'><a href="Metadata/UserRootInfo.html" title="DropboxApi::Metadata::UserRootInfo (class)">UserRootInfo</a></span>, <span class='object_link'><a href="Metadata/VideoMetadata.html" title="DropboxApi::Metadata::VideoMetadata (class)">VideoMetadata</a></span>, <span class='object_link'><a href="Metadata/WriteMode.html" title="DropboxApi::Metadata::WriteMode (class)">WriteMode</a></span>
|
95
95
|
|
96
96
|
|
97
97
|
</p>
|
@@ -107,9 +107,9 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on
|
110
|
+
Generated on Wed Sep 29 23:44:24 2021 by
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
112
|
-
0.9.
|
112
|
+
0.9.26 (ruby-2.6.5).
|
113
113
|
</div>
|
114
114
|
|
115
115
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Class: DropboxApi::MiddleWare::DecodeResult
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.26
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "DropboxApi::MiddleWare::DecodeResult";
|
19
19
|
relpath = '../../';
|
20
20
|
</script>
|
@@ -186,7 +186,6 @@
|
|
186
186
|
<pre class="lines">
|
187
187
|
|
188
188
|
|
189
|
-
3
|
190
189
|
4
|
191
190
|
5
|
192
191
|
6
|
@@ -194,10 +193,11 @@
|
|
194
193
|
8
|
195
194
|
9
|
196
195
|
10
|
197
|
-
11
|
196
|
+
11
|
197
|
+
12</pre>
|
198
198
|
</td>
|
199
199
|
<td>
|
200
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/decode_result.rb', line
|
200
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/decode_result.rb', line 4</span>
|
201
201
|
|
202
202
|
<span class='kw'>def</span> <span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_rq_env'>rq_env</span><span class='rparen'>)</span>
|
203
203
|
<span class='ivar'>@app</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_rq_env'>rq_env</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_on_complete'>on_complete</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_rs_env'>rs_env</span><span class='op'>|</span>
|
@@ -229,7 +229,6 @@
|
|
229
229
|
<pre class="lines">
|
230
230
|
|
231
231
|
|
232
|
-
13
|
233
232
|
14
|
234
233
|
15
|
235
234
|
16
|
@@ -238,16 +237,17 @@
|
|
238
237
|
19
|
239
238
|
20
|
240
239
|
21
|
241
|
-
22
|
240
|
+
22
|
241
|
+
23</pre>
|
242
242
|
</td>
|
243
243
|
<td>
|
244
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/decode_result.rb', line
|
244
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/decode_result.rb', line 14</span>
|
245
245
|
|
246
246
|
<span class='kw'>def</span> <span class='id identifier rubyid_decode'>decode</span><span class='lparen'>(</span><span class='id identifier rubyid_json'>json</span><span class='rparen'>)</span>
|
247
247
|
<span class='comment'># Dropbox may send a response with the string 'null' in its body, this
|
248
248
|
</span> <span class='comment'># would be a void result. `add_folder_member` is an example of an
|
249
249
|
</span> <span class='comment'># endpoint without return values.
|
250
|
-
</span> <span class='kw'>if</span> <span class='id identifier rubyid_json'>json</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'
|
250
|
+
</span> <span class='kw'>if</span> <span class='id identifier rubyid_json'>json</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>null</span><span class='tstring_end'>'</span></span>
|
251
251
|
<span class='lbrace'>{</span><span class='rbrace'>}</span>
|
252
252
|
<span class='kw'>else</span>
|
253
253
|
<span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span> <span class='id identifier rubyid_json'>json</span>
|
@@ -263,9 +263,9 @@
|
|
263
263
|
</div>
|
264
264
|
|
265
265
|
<div id="footer">
|
266
|
-
Generated on
|
266
|
+
Generated on Wed Sep 29 23:44:26 2021 by
|
267
267
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
268
|
-
0.9.
|
268
|
+
0.9.26 (ruby-2.6.5).
|
269
269
|
</div>
|
270
270
|
|
271
271
|
</div>
|