dropbox_api 0.1.19 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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::ConnectionBuilder
|
|
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::ConnectionBuilder";
|
|
19
19
|
relpath = '../';
|
|
20
20
|
</script>
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
|
|
201
201
|
</h3><div class="docstring">
|
|
202
202
|
<div class="discussion">
|
|
203
|
-
<p>Returns a new instance of ConnectionBuilder
|
|
203
|
+
<p>Returns a new instance of ConnectionBuilder.</p>
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
</div>
|
|
@@ -215,12 +215,12 @@
|
|
|
215
215
|
<pre class="lines">
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
3
|
|
219
218
|
4
|
|
220
|
-
5
|
|
219
|
+
5
|
|
220
|
+
6</pre>
|
|
221
221
|
</td>
|
|
222
222
|
<td>
|
|
223
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line
|
|
223
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line 4</span>
|
|
224
224
|
|
|
225
225
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_oauth_bearer'>oauth_bearer</span><span class='rparen'>)</span>
|
|
226
226
|
<span class='ivar'>@oauth_bearer</span> <span class='op'>=</span> <span class='id identifier rubyid_oauth_bearer'>oauth_bearer</span>
|
|
@@ -253,7 +253,6 @@
|
|
|
253
253
|
<pre class="lines">
|
|
254
254
|
|
|
255
255
|
|
|
256
|
-
11
|
|
257
256
|
12
|
|
258
257
|
13
|
|
259
258
|
14
|
|
@@ -261,10 +260,11 @@
|
|
|
261
260
|
16
|
|
262
261
|
17
|
|
263
262
|
18
|
|
264
|
-
19
|
|
263
|
+
19
|
|
264
|
+
20</pre>
|
|
265
265
|
</td>
|
|
266
266
|
<td>
|
|
267
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line
|
|
267
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line 12</span>
|
|
268
268
|
|
|
269
269
|
<span class='kw'>def</span> <span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='rparen'>)</span>
|
|
270
270
|
<span class='const'>Faraday</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_connection'>connection</span><span class='op'>|</span>
|
|
@@ -296,12 +296,12 @@
|
|
|
296
296
|
<pre class="lines">
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
7
|
|
300
299
|
8
|
|
301
|
-
9
|
|
300
|
+
9
|
|
301
|
+
10</pre>
|
|
302
302
|
</td>
|
|
303
303
|
<td>
|
|
304
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line
|
|
304
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line 8</span>
|
|
305
305
|
|
|
306
306
|
<span class='kw'>def</span> <span class='id identifier rubyid_middleware'>middleware</span>
|
|
307
307
|
<span class='ivar'>@middleware</span> <span class='op'>||=</span> <span class='const'><span class='object_link'><a href="MiddleWare.html" title="DropboxApi::MiddleWare (module)">MiddleWare</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="MiddleWare/Stack.html" title="DropboxApi::MiddleWare::Stack (class)">Stack</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MiddleWare/Stack.html#initialize-instance_method" title="DropboxApi::MiddleWare::Stack#initialize (method)">new</a></span></span>
|
|
@@ -316,9 +316,9 @@
|
|
|
316
316
|
</div>
|
|
317
317
|
|
|
318
318
|
<div id="footer">
|
|
319
|
-
Generated on
|
|
319
|
+
Generated on Sun Feb 7 11:51:55 2021 by
|
|
320
320
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
321
|
-
0.9.
|
|
321
|
+
0.9.26 (ruby-2.5.1).
|
|
322
322
|
</div>
|
|
323
323
|
|
|
324
324
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Endpoints::Auth::TokenRevoke
|
|
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::Endpoints::Auth::TokenRevoke";
|
|
19
19
|
relpath = '../../../';
|
|
20
20
|
</script>
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
<dt id="Path-constant" class="">Path =
|
|
121
121
|
|
|
122
122
|
</dt>
|
|
123
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'
|
|
123
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/2/auth/token/revoke</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
124
124
|
|
|
125
125
|
<dt id="ResultType-constant" class="">ResultType =
|
|
126
126
|
|
|
@@ -235,12 +235,12 @@
|
|
|
235
235
|
<pre class="lines">
|
|
236
236
|
|
|
237
237
|
|
|
238
|
-
10
|
|
239
238
|
11
|
|
240
|
-
12
|
|
239
|
+
12
|
|
240
|
+
13</pre>
|
|
241
241
|
</td>
|
|
242
242
|
<td>
|
|
243
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/auth/token_revoke.rb', line
|
|
243
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/auth/token_revoke.rb', line 11</span>
|
|
244
244
|
|
|
245
245
|
<span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:token_revoke</span> <span class='kw'>do</span>
|
|
246
246
|
<span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
|
@@ -255,9 +255,9 @@
|
|
|
255
255
|
</div>
|
|
256
256
|
|
|
257
257
|
<div id="footer">
|
|
258
|
-
Generated on
|
|
258
|
+
Generated on Sun Feb 7 11:51:57 2021 by
|
|
259
259
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
260
|
-
0.9.
|
|
260
|
+
0.9.26 (ruby-2.5.1).
|
|
261
261
|
</div>
|
|
262
262
|
|
|
263
263
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: DropboxApi::Endpoints::Auth
|
|
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::Endpoints::Auth";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
</div>
|
|
106
106
|
|
|
107
107
|
<div id="footer">
|
|
108
|
-
Generated on
|
|
108
|
+
Generated on Sun Feb 7 11:51:55 2021 by
|
|
109
109
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
110
|
-
0.9.
|
|
110
|
+
0.9.26 (ruby-2.5.1).
|
|
111
111
|
</div>
|
|
112
112
|
|
|
113
113
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Endpoints::Base
|
|
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::Endpoints::Base";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -165,13 +165,13 @@
|
|
|
165
165
|
<pre class="lines">
|
|
166
166
|
|
|
167
167
|
|
|
168
|
-
3
|
|
169
168
|
4
|
|
170
169
|
5
|
|
171
|
-
6
|
|
170
|
+
6
|
|
171
|
+
7</pre>
|
|
172
172
|
</td>
|
|
173
173
|
<td>
|
|
174
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/base.rb', line
|
|
174
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/base.rb', line 4</span>
|
|
175
175
|
|
|
176
176
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_add_endpoint'>add_endpoint</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
177
177
|
<span class='id identifier rubyid_define_method'>define_method</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
@@ -187,9 +187,9 @@
|
|
|
187
187
|
</div>
|
|
188
188
|
|
|
189
189
|
<div id="footer">
|
|
190
|
-
Generated on
|
|
190
|
+
Generated on Sun Feb 7 11:51:55 2021 by
|
|
191
191
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
192
|
-
0.9.
|
|
192
|
+
0.9.26 (ruby-2.5.1).
|
|
193
193
|
</div>
|
|
194
194
|
|
|
195
195
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Endpoints::ContentDownload
|
|
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::Endpoints::ContentDownload";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
|
|
218
218
|
</h3><div class="docstring">
|
|
219
219
|
<div class="discussion">
|
|
220
|
-
<p>Returns a new instance of ContentDownload
|
|
220
|
+
<p>Returns a new instance of ContentDownload.</p>
|
|
221
221
|
|
|
222
222
|
|
|
223
223
|
</div>
|
|
@@ -232,17 +232,17 @@
|
|
|
232
232
|
<pre class="lines">
|
|
233
233
|
|
|
234
234
|
|
|
235
|
-
3
|
|
236
235
|
4
|
|
237
236
|
5
|
|
238
237
|
6
|
|
239
|
-
7
|
|
238
|
+
7
|
|
239
|
+
8</pre>
|
|
240
240
|
</td>
|
|
241
241
|
<td>
|
|
242
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_download.rb', line
|
|
242
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_download.rb', line 4</span>
|
|
243
243
|
|
|
244
244
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_builder'>builder</span><span class='rparen'>)</span>
|
|
245
|
-
<span class='ivar'>@connection</span> <span class='op'>=</span> <span class='id identifier rubyid_builder'>builder</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
|
245
|
+
<span class='ivar'>@connection</span> <span class='op'>=</span> <span class='id identifier rubyid_builder'>builder</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>https://content.dropboxapi.com</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span>
|
|
246
246
|
<span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_response'>response</span> <span class='symbol'>:decode_result</span>
|
|
247
247
|
<span class='kw'>end</span>
|
|
248
248
|
<span class='kw'>end</span></pre>
|
|
@@ -274,7 +274,6 @@
|
|
|
274
274
|
<pre class="lines">
|
|
275
275
|
|
|
276
276
|
|
|
277
|
-
9
|
|
278
277
|
10
|
|
279
278
|
11
|
|
280
279
|
12
|
|
@@ -282,10 +281,11 @@
|
|
|
282
281
|
14
|
|
283
282
|
15
|
|
284
283
|
16
|
|
285
|
-
17
|
|
284
|
+
17
|
|
285
|
+
18</pre>
|
|
286
286
|
</td>
|
|
287
287
|
<td>
|
|
288
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_download.rb', line
|
|
288
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_download.rb', line 10</span>
|
|
289
289
|
|
|
290
290
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_request'>build_request</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
|
291
291
|
<span class='id identifier rubyid_body'>body</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
|
@@ -339,7 +339,6 @@
|
|
|
339
339
|
<pre class="lines">
|
|
340
340
|
|
|
341
341
|
|
|
342
|
-
19
|
|
343
342
|
20
|
|
344
343
|
21
|
|
345
344
|
22
|
|
@@ -348,17 +347,18 @@
|
|
|
348
347
|
25
|
|
349
348
|
26
|
|
350
349
|
27
|
|
351
|
-
28
|
|
350
|
+
28
|
|
351
|
+
29</pre>
|
|
352
352
|
</td>
|
|
353
353
|
<td>
|
|
354
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_download.rb', line
|
|
354
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_download.rb', line 20</span>
|
|
355
355
|
|
|
356
356
|
<span class='kw'>def</span> <span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
|
357
357
|
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_get_response'>get_response</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
|
358
358
|
<span class='id identifier rubyid_api_result'>api_result</span> <span class='op'>=</span> <span class='id identifier rubyid_process_response'>process_response</span> <span class='id identifier rubyid_response'>response</span>
|
|
359
359
|
|
|
360
|
-
<span class='comment'>#
|
|
361
|
-
</span> <span class='comment'>#
|
|
360
|
+
<span class='comment'># We just yield the whole response to the block, it'd be nice in the
|
|
361
|
+
</span> <span class='comment'># future to support an interface that streams the response in chunks.
|
|
362
362
|
</span> <span class='kw'>yield</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
|
363
363
|
|
|
364
364
|
<span class='id identifier rubyid_api_result'>api_result</span>
|
|
@@ -373,9 +373,9 @@
|
|
|
373
373
|
</div>
|
|
374
374
|
|
|
375
375
|
<div id="footer">
|
|
376
|
-
Generated on
|
|
376
|
+
Generated on Sun Feb 7 11:51:57 2021 by
|
|
377
377
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
378
|
-
0.9.
|
|
378
|
+
0.9.26 (ruby-2.5.1).
|
|
379
379
|
</div>
|
|
380
380
|
|
|
381
381
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Endpoints::ContentUpload
|
|
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::Endpoints::ContentUpload";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
|
|
218
218
|
</h3><div class="docstring">
|
|
219
219
|
<div class="discussion">
|
|
220
|
-
<p>Returns a new instance of ContentUpload
|
|
220
|
+
<p>Returns a new instance of ContentUpload.</p>
|
|
221
221
|
|
|
222
222
|
|
|
223
223
|
</div>
|
|
@@ -232,17 +232,17 @@
|
|
|
232
232
|
<pre class="lines">
|
|
233
233
|
|
|
234
234
|
|
|
235
|
-
3
|
|
236
235
|
4
|
|
237
236
|
5
|
|
238
237
|
6
|
|
239
|
-
7
|
|
238
|
+
7
|
|
239
|
+
8</pre>
|
|
240
240
|
</td>
|
|
241
241
|
<td>
|
|
242
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_upload.rb', line
|
|
242
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_upload.rb', line 4</span>
|
|
243
243
|
|
|
244
244
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_builder'>builder</span><span class='rparen'>)</span>
|
|
245
|
-
<span class='ivar'>@connection</span> <span class='op'>=</span> <span class='id identifier rubyid_builder'>builder</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
|
245
|
+
<span class='ivar'>@connection</span> <span class='op'>=</span> <span class='id identifier rubyid_builder'>builder</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>https://content.dropboxapi.com</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span>
|
|
246
246
|
<span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_response'>response</span> <span class='symbol'>:decode_result</span>
|
|
247
247
|
<span class='kw'>end</span>
|
|
248
248
|
<span class='kw'>end</span></pre>
|
|
@@ -274,7 +274,6 @@
|
|
|
274
274
|
<pre class="lines">
|
|
275
275
|
|
|
276
276
|
|
|
277
|
-
9
|
|
278
277
|
10
|
|
279
278
|
11
|
|
280
279
|
12
|
|
@@ -284,10 +283,11 @@
|
|
|
284
283
|
16
|
|
285
284
|
17
|
|
286
285
|
18
|
|
287
|
-
19
|
|
286
|
+
19
|
|
287
|
+
20</pre>
|
|
288
288
|
</td>
|
|
289
289
|
<td>
|
|
290
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_upload.rb', line
|
|
290
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_upload.rb', line 10</span>
|
|
291
291
|
|
|
292
292
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_request'>build_request</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span>
|
|
293
293
|
<span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
|
@@ -321,12 +321,12 @@
|
|
|
321
321
|
<pre class="lines">
|
|
322
322
|
|
|
323
323
|
|
|
324
|
-
21
|
|
325
324
|
22
|
|
326
|
-
23
|
|
325
|
+
23
|
|
326
|
+
24</pre>
|
|
327
327
|
</td>
|
|
328
328
|
<td>
|
|
329
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_upload.rb', line
|
|
329
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/content_upload.rb', line 22</span>
|
|
330
330
|
|
|
331
331
|
<span class='kw'>def</span> <span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='rparen'>)</span>
|
|
332
332
|
<span class='id identifier rubyid_process_response'>process_response</span><span class='lparen'>(</span><span class='id identifier rubyid_get_response'>get_response</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
@@ -341,9 +341,9 @@
|
|
|
341
341
|
</div>
|
|
342
342
|
|
|
343
343
|
<div id="footer">
|
|
344
|
-
Generated on
|
|
344
|
+
Generated on Sun Feb 7 11:51:57 2021 by
|
|
345
345
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
346
|
-
0.9.
|
|
346
|
+
0.9.26 (ruby-2.5.1).
|
|
347
347
|
</div>
|
|
348
348
|
|
|
349
349
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Endpoints::Files::Copy
|
|
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::Endpoints::Files::Copy";
|
|
19
19
|
relpath = '../../../';
|
|
20
20
|
</script>
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
<dt id="Path-constant" class="">Path =
|
|
121
121
|
|
|
122
122
|
</dt>
|
|
123
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'
|
|
123
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/2/files/copy</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
124
124
|
|
|
125
125
|
<dt id="ResultType-constant" class="">ResultType =
|
|
126
126
|
|
|
@@ -287,20 +287,20 @@ If the source path is a folder all its contents will be copied.</p>
|
|
|
287
287
|
<pre class="lines">
|
|
288
288
|
|
|
289
289
|
|
|
290
|
-
14
|
|
291
290
|
15
|
|
292
291
|
16
|
|
293
292
|
17
|
|
294
293
|
18
|
|
295
|
-
19
|
|
294
|
+
19
|
|
295
|
+
20</pre>
|
|
296
296
|
</td>
|
|
297
297
|
<td>
|
|
298
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/copy.rb', line
|
|
298
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/copy.rb', line 15</span>
|
|
299
299
|
|
|
300
300
|
<span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:copy</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_from'>from</span><span class='comma'>,</span> <span class='id identifier rubyid_to'>to</span><span class='op'>|</span>
|
|
301
301
|
<span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='lbrace'>{</span>
|
|
302
|
-
<span class='
|
|
303
|
-
<span class='
|
|
302
|
+
<span class='label'>from_path:</span> <span class='id identifier rubyid_from'>from</span><span class='comma'>,</span>
|
|
303
|
+
<span class='label'>to_path:</span> <span class='id identifier rubyid_to'>to</span>
|
|
304
304
|
<span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
305
305
|
<span class='kw'>end</span></pre>
|
|
306
306
|
</td>
|
|
@@ -313,9 +313,9 @@ If the source path is a folder all its contents will be copied.</p>
|
|
|
313
313
|
</div>
|
|
314
314
|
|
|
315
315
|
<div id="footer">
|
|
316
|
-
Generated on
|
|
316
|
+
Generated on Sun Feb 7 11:51:56 2021 by
|
|
317
317
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
318
|
-
0.9.
|
|
318
|
+
0.9.26 (ruby-2.5.1).
|
|
319
319
|
</div>
|
|
320
320
|
|
|
321
321
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Endpoints::Files::CopyBatch
|
|
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::Endpoints::Files::CopyBatch";
|
|
19
19
|
relpath = '../../../';
|
|
20
20
|
</script>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<dt id="Path-constant" class="">Path =
|
|
126
126
|
|
|
127
127
|
</dt>
|
|
128
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'
|
|
128
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/2/files/copy_batch_v2</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
129
129
|
|
|
130
130
|
<dt id="ResultType-constant" class="">ResultType =
|
|
131
131
|
|
|
@@ -315,7 +315,6 @@ conflict. The default for this field is <code>false</code>.</p>
|
|
|
315
315
|
<pre class="lines">
|
|
316
316
|
|
|
317
317
|
|
|
318
|
-
24
|
|
319
318
|
25
|
|
320
319
|
26
|
|
321
320
|
27
|
|
@@ -324,10 +323,11 @@ conflict. The default for this field is <code>false</code>.</p>
|
|
|
324
323
|
30
|
|
325
324
|
31
|
|
326
325
|
32
|
|
327
|
-
33
|
|
326
|
+
33
|
|
327
|
+
34</pre>
|
|
328
328
|
</td>
|
|
329
329
|
<td>
|
|
330
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/copy_batch.rb', line
|
|
330
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/copy_batch.rb', line 25</span>
|
|
331
331
|
|
|
332
332
|
<span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:copy_batch</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_entries'>entries</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='op'>|</span>
|
|
333
333
|
<span class='id identifier rubyid_validate_options'>validate_options</span><span class='lparen'>(</span><span class='lbracket'>[</span>
|
|
@@ -336,7 +336,7 @@ conflict. The default for this field is <code>false</code>.</p>
|
|
|
336
336
|
<span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:autorename</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='kw'>false</span>
|
|
337
337
|
|
|
338
338
|
<span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span>
|
|
339
|
-
<span class='
|
|
339
|
+
<span class='label'>entries:</span> <span class='id identifier rubyid_entries'>entries</span>
|
|
340
340
|
<span class='rbrace'>}</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
341
341
|
<span class='kw'>end</span></pre>
|
|
342
342
|
</td>
|
|
@@ -349,9 +349,9 @@ conflict. The default for this field is <code>false</code>.</p>
|
|
|
349
349
|
</div>
|
|
350
350
|
|
|
351
351
|
<div id="footer">
|
|
352
|
-
Generated on
|
|
352
|
+
Generated on Sun Feb 7 11:51:57 2021 by
|
|
353
353
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
354
|
-
0.9.
|
|
354
|
+
0.9.26 (ruby-2.5.1).
|
|
355
355
|
</div>
|
|
356
356
|
|
|
357
357
|
</div>
|