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.
- checksums.yaml +4 -4
- data/README.md +113 -22
- data/docs/DropboxApi/Authenticator.html +12 -12
- data/docs/DropboxApi/ChunkedUploader.html +20 -20
- data/docs/DropboxApi/Client.html +1673 -906
- data/docs/DropboxApi/ConnectionBuilder.html +16 -16
- data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +10 -10
- data/docs/DropboxApi/Endpoints/Auth.html +6 -6
- data/docs/DropboxApi/Endpoints/Base.html +9 -9
- data/docs/DropboxApi/Endpoints/ContentDownload.html +19 -19
- data/docs/DropboxApi/Endpoints/ContentUpload.html +17 -17
- data/docs/DropboxApi/Endpoints/Files/Copy.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/CopyBatch.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/CopyBatchCheck.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatch.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatchCheck.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/Delete.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/DeleteBatch.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/DeleteBatchCheck.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/Download.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/GetPreview.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/ListFolder.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +10 -10
- data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/Move.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/Restore.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/Search.html +48 -96
- data/docs/DropboxApi/Endpoints/Files/Upload.html +10 -10
- data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +12 -12
- data/docs/DropboxApi/Endpoints/Files.html +6 -6
- data/docs/DropboxApi/Endpoints/Rpc.html +17 -17
- data/docs/DropboxApi/Endpoints/RpcContent.html +11 -11
- data/docs/DropboxApi/Endpoints/RpcNotify.html +11 -11
- data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +12 -12
- data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +12 -12
- data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +12 -12
- data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +11 -11
- data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +12 -12
- data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +12 -12
- data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +10 -10
- data/docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html +11 -11
- data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +11 -11
- data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +11 -11
- data/docs/DropboxApi/Endpoints/Sharing.html +6 -6
- data/docs/DropboxApi/Endpoints/Users/GetAccount.html +11 -11
- data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +11 -11
- data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +10 -10
- data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +10 -10
- 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 +17 -17
- 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 +7 -7
- 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 -9
- 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/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 +9 -9
- 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 +10 -10
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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/ParentFolderAccessInfo.html +6 -6
- data/docs/DropboxApi/Metadata/PhotoMetadata.html +6 -6
- data/docs/DropboxApi/Metadata/Resource.html +10 -10
- 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/ThumbnailBatchResultData.html +6 -6
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +11 -11
- data/docs/DropboxApi/Metadata/UploadSessionCursor.html +9 -9
- 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/Stack.html +22 -22
- data/docs/DropboxApi/MiddleWare.html +6 -6
- data/docs/DropboxApi/OptionsValidator.html +9 -9
- 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 +10 -10
- data/docs/DropboxApi/Results/CreateFolderBatchResult.html +13 -13
- data/docs/DropboxApi/Results/CreateFolderBatchResultEntry.html +9 -9
- data/docs/DropboxApi/Results/DeleteBatchResult.html +13 -13
- data/docs/DropboxApi/Results/DeleteBatchResultEntry.html +9 -9
- 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 +13 -13
- data/docs/DropboxApi/Results/RelocationBatchResultEntry.html +9 -9
- 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/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 +220 -108
- data/docs/_index.html +86 -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 +28 -23
- data/docs/file.api_coverage.html +14 -14
- 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 +28 -23
- data/docs/js/app.js +14 -3
- data/docs/method_list.html +338 -266
- data/docs/top-level-namespace.html +6 -6
- data/lib/dropbox_api/authenticator.rb +2 -6
- data/lib/dropbox_api/client.rb +23 -2
- data/lib/dropbox_api/connection_builder.rb +38 -4
- data/lib/dropbox_api/endpoints/base.rb +24 -1
- data/lib/dropbox_api/endpoints/content_download.rb +2 -2
- data/lib/dropbox_api/endpoints/content_upload.rb +2 -2
- data/lib/dropbox_api/endpoints/files/search_continue.rb +23 -0
- data/lib/dropbox_api/endpoints/rpc.rb +2 -2
- data/lib/dropbox_api/endpoints/rpc_content.rb +2 -2
- data/lib/dropbox_api/endpoints/rpc_notify.rb +2 -2
- data/lib/dropbox_api/errors/expired_access_token_error.rb +5 -0
- data/lib/dropbox_api/metadata/basic_account.rb +7 -1
- data/lib/dropbox_api/metadata/namespace_id.rb +10 -0
- data/lib/dropbox_api/metadata/root_info.rb +32 -0
- data/lib/dropbox_api/metadata/team_root_info.rb +8 -0
- data/lib/dropbox_api/metadata/user_root_info.rb +7 -0
- data/lib/dropbox_api/middleware/path_root.rb +35 -0
- data/lib/dropbox_api/results/search_v2_result.rb +2 -3
- data/lib/dropbox_api/version.rb +1 -1
- data/lib/dropbox_api.rb +10 -3
- metadata +21 -3
@@ -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 Sun Feb 7 11:51:56 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.5.1).
|
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/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/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/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/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/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/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>
|
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 Sun Feb 7 11:51:55 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.5.1).
|
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 Sun Feb 7 11:51:57 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.5.1).
|
269
269
|
</div>
|
270
270
|
|
271
271
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Class: DropboxApi::MiddleWare::Stack
|
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::Stack";
|
19
19
|
relpath = '../../';
|
20
20
|
</script>
|
@@ -244,7 +244,7 @@
|
|
244
244
|
|
245
245
|
</h3><div class="docstring">
|
246
246
|
<div class="discussion">
|
247
|
-
<p>Returns a new instance of Stack
|
247
|
+
<p>Returns a new instance of Stack.</p>
|
248
248
|
|
249
249
|
|
250
250
|
</div>
|
@@ -259,12 +259,12 @@
|
|
259
259
|
<pre class="lines">
|
260
260
|
|
261
261
|
|
262
|
-
3
|
263
262
|
4
|
264
|
-
5
|
263
|
+
5
|
264
|
+
6</pre>
|
265
265
|
</td>
|
266
266
|
<td>
|
267
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/stack.rb', line
|
267
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/stack.rb', line 4</span>
|
268
268
|
|
269
269
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
270
270
|
<span class='ivar'>@prependable</span><span class='comma'>,</span> <span class='ivar'>@appendable</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
@@ -297,12 +297,12 @@
|
|
297
297
|
<pre class="lines">
|
298
298
|
|
299
299
|
|
300
|
-
15
|
301
300
|
16
|
302
|
-
17
|
301
|
+
17
|
302
|
+
18</pre>
|
303
303
|
</td>
|
304
304
|
<td>
|
305
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/stack.rb', line
|
305
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/stack.rb', line 16</span>
|
306
306
|
|
307
307
|
<span class='kw'>def</span> <span class='id identifier rubyid_adapter='>adapter=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
308
308
|
<span class='ivar'>@adapter</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
|
@@ -328,12 +328,12 @@
|
|
328
328
|
<pre class="lines">
|
329
329
|
|
330
330
|
|
331
|
-
11
|
332
331
|
12
|
333
|
-
13
|
332
|
+
13
|
333
|
+
14</pre>
|
334
334
|
</td>
|
335
335
|
<td>
|
336
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/stack.rb', line
|
336
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/stack.rb', line 12</span>
|
337
337
|
|
338
338
|
<span class='kw'>def</span> <span class='id identifier rubyid_append'>append</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
339
339
|
<span class='ivar'>@appendable</span> <span class='op'><<</span> <span class='id identifier rubyid_block'>block</span>
|
@@ -381,17 +381,17 @@
|
|
381
381
|
<pre class="lines">
|
382
382
|
|
383
383
|
|
384
|
-
19
|
385
384
|
20
|
386
385
|
21
|
387
386
|
22
|
388
387
|
23
|
389
388
|
24
|
390
389
|
25
|
391
|
-
26
|
390
|
+
26
|
391
|
+
27</pre>
|
392
392
|
</td>
|
393
393
|
<td>
|
394
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/stack.rb', line
|
394
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/stack.rb', line 20</span>
|
395
395
|
|
396
396
|
<span class='kw'>def</span> <span class='id identifier rubyid_apply'>apply</span><span class='lparen'>(</span><span class='id identifier rubyid_connection'>connection</span><span class='rparen'>)</span>
|
397
397
|
<span class='ivar'>@prependable</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_block'>block</span><span class='op'>|</span> <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_yield'>yield</span><span class='lparen'>(</span><span class='id identifier rubyid_connection'>connection</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
@@ -422,12 +422,12 @@
|
|
422
422
|
<pre class="lines">
|
423
423
|
|
424
424
|
|
425
|
-
7
|
426
425
|
8
|
427
|
-
9
|
426
|
+
9
|
427
|
+
10</pre>
|
428
428
|
</td>
|
429
429
|
<td>
|
430
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/stack.rb', line
|
430
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/middleware/stack.rb', line 8</span>
|
431
431
|
|
432
432
|
<span class='kw'>def</span> <span class='id identifier rubyid_prepend'>prepend</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
433
433
|
<span class='ivar'>@prependable</span> <span class='op'><<</span> <span class='id identifier rubyid_block'>block</span>
|
@@ -442,9 +442,9 @@
|
|
442
442
|
</div>
|
443
443
|
|
444
444
|
<div id="footer">
|
445
|
-
Generated on
|
445
|
+
Generated on Sun Feb 7 11:51:55 2021 by
|
446
446
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
447
|
-
0.9.
|
447
|
+
0.9.26 (ruby-2.5.1).
|
448
448
|
</div>
|
449
449
|
|
450
450
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Module: DropboxApi::MiddleWare
|
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";
|
19
19
|
relpath = '../';
|
20
20
|
</script>
|
@@ -107,9 +107,9 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on
|
110
|
+
Generated on Sun Feb 7 11:51:55 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.5.1).
|
113
113
|
</div>
|
114
114
|
|
115
115
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Module: DropboxApi::OptionsValidator
|
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::OptionsValidator";
|
19
19
|
relpath = '../';
|
20
20
|
</script>
|
@@ -196,16 +196,16 @@ keys in the hash is invalid an ArgumentError will be raised.</p>
|
|
196
196
|
<pre class="lines">
|
197
197
|
|
198
198
|
|
199
|
-
8
|
200
199
|
9
|
201
200
|
10
|
202
201
|
11
|
203
202
|
12
|
204
203
|
13
|
205
|
-
14
|
204
|
+
14
|
205
|
+
15</pre>
|
206
206
|
</td>
|
207
207
|
<td>
|
208
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/options_validator.rb', line
|
208
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/options_validator.rb', line 9</span>
|
209
209
|
|
210
210
|
<span class='kw'>def</span> <span class='id identifier rubyid_validate_options'>validate_options</span><span class='lparen'>(</span><span class='id identifier rubyid_valid_option_keys'>valid_option_keys</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
211
211
|
<span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='op'>|</span>
|
@@ -224,9 +224,9 @@ keys in the hash is invalid an ArgumentError will be raised.</p>
|
|
224
224
|
</div>
|
225
225
|
|
226
226
|
<div id="footer">
|
227
|
-
Generated on
|
227
|
+
Generated on Sun Feb 7 11:51:55 2021 by
|
228
228
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
229
|
-
0.9.
|
229
|
+
0.9.26 (ruby-2.5.1).
|
230
230
|
</div>
|
231
231
|
|
232
232
|
</div>
|