dropbox_api 0.1.16 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.rubocop.yml +15 -0
- data/.travis.yml +0 -2
- data/Gemfile +6 -1
- data/README.md +7 -2
- data/Rakefile +4 -3
- data/TODO.md +16 -7
- data/api_coverage.md +8 -8
- data/bin/console +4 -3
- data/docs/DropboxApi/Authenticator.html +3 -3
- data/docs/DropboxApi/ChunkedUploader.html +3 -3
- data/docs/DropboxApi/Client.html +1541 -182
- data/docs/DropboxApi/ConnectionBuilder.html +3 -3
- data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +3 -3
- data/docs/DropboxApi/Endpoints/Auth.html +3 -3
- data/docs/DropboxApi/Endpoints/Base.html +3 -3
- data/docs/DropboxApi/Endpoints/ContentDownload.html +3 -3
- data/docs/DropboxApi/Endpoints/ContentUpload.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Copy.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/CopyBatch.html +359 -0
- data/docs/DropboxApi/Endpoints/Files/CopyBatchCheck.html +305 -0
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatch.html +377 -0
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatchCheck.html +308 -0
- data/docs/DropboxApi/Endpoints/Files/Delete.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/DeleteBatch.html +305 -0
- data/docs/DropboxApi/Endpoints/Files/DeleteBatchCheck.html +307 -0
- data/docs/DropboxApi/Endpoints/Files/Download.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/GetPreview.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/ListFolder.html +30 -11
- data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Move.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Restore.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Search.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/Upload.html +4 -4
- data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +3 -3
- data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +3 -3
- data/docs/DropboxApi/Endpoints/Files.html +5 -5
- data/docs/DropboxApi/Endpoints/Rpc.html +4 -4
- data/docs/DropboxApi/Endpoints/RpcContent.html +3 -3
- data/docs/DropboxApi/Endpoints/RpcNotify.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +103 -12
- data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html +293 -0
- data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +3 -3
- data/docs/DropboxApi/Endpoints/Sharing.html +5 -5
- data/docs/DropboxApi/Endpoints/Users/GetAccount.html +3 -3
- data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +3 -3
- data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +3 -3
- data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +3 -3
- data/docs/DropboxApi/Endpoints/Users.html +3 -3
- data/docs/DropboxApi/Endpoints.html +3 -3
- data/docs/DropboxApi/Errors/AddFileMemberError.html +3 -3
- data/docs/DropboxApi/Errors/AddFolderMemberError.html +3 -3
- data/docs/DropboxApi/Errors/AddMemberSelectorError.html +3 -3
- data/docs/DropboxApi/Errors/AlreadySharedError.html +3 -3
- data/docs/DropboxApi/Errors/BadPathError.html +3 -3
- data/docs/DropboxApi/Errors/BasicError.html +4 -4
- data/docs/DropboxApi/Errors/CantCopySharedFolderError.html +3 -3
- data/docs/DropboxApi/Errors/CantMoveFolderIntoItselfError.html +3 -3
- data/docs/DropboxApi/Errors/CantNestSharedFolderError.html +3 -3
- data/docs/DropboxApi/Errors/CantShareOutsideTeamError.html +3 -3
- data/docs/DropboxApi/Errors/ContainsSharedFolderError.html +3 -3
- data/docs/DropboxApi/Errors/ConversionError.html +3 -3
- data/docs/DropboxApi/Errors/CreateFileRequestError.html +3 -3
- data/docs/DropboxApi/Errors/CreateFolderBatchError.html +161 -0
- data/docs/DropboxApi/Errors/CreateFolderError.html +3 -3
- data/docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html +3 -3
- data/docs/DropboxApi/Errors/CursorClosedError.html +3 -3
- data/docs/DropboxApi/Errors/CursorNotClosedError.html +3 -3
- data/docs/DropboxApi/Errors/DeleteError.html +5 -4
- data/docs/DropboxApi/Errors/DisallowedNameError.html +3 -3
- data/docs/DropboxApi/Errors/DisallowedSharedLinkPolicyError.html +3 -3
- data/docs/DropboxApi/Errors/DownloadError.html +3 -3
- data/docs/DropboxApi/Errors/DownloadFailedError.html +3 -3
- data/docs/DropboxApi/Errors/EmailUnverifiedError.html +3 -3
- data/docs/DropboxApi/Errors/FileAncestorConflictError.html +3 -3
- data/docs/DropboxApi/Errors/FileConflictError.html +3 -3
- data/docs/DropboxApi/Errors/FileMemberActionError.html +3 -3
- data/docs/DropboxApi/Errors/FolderConflictError.html +3 -3
- data/docs/DropboxApi/Errors/GetAccountError.html +3 -3
- data/docs/DropboxApi/Errors/GetCopyReferenceError.html +3 -3
- data/docs/DropboxApi/Errors/GetMetadataError.html +3 -3
- data/docs/DropboxApi/Errors/GroupDeletedError.html +3 -3
- data/docs/DropboxApi/Errors/GroupNotOnTeamError.html +3 -3
- data/docs/DropboxApi/Errors/HttpError.html +3 -3
- data/docs/DropboxApi/Errors/InProgressError.html +3 -3
- data/docs/DropboxApi/Errors/InsideAppFolderError.html +3 -3
- data/docs/DropboxApi/Errors/InsideOsxPackageError.html +3 -3
- data/docs/DropboxApi/Errors/InsidePublicFolderError.html +3 -3
- data/docs/DropboxApi/Errors/InsideSharedFolderError.html +3 -3
- data/docs/DropboxApi/Errors/InsufficientPlanError.html +3 -3
- data/docs/DropboxApi/Errors/InsufficientSpaceError.html +3 -3
- data/docs/DropboxApi/Errors/InternalError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidCommentError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidCopyReferenceError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidCursorError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidDropboxIdError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidEmailError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidFileError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidIdError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidMemberError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidPathError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidRevisionError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidSettingsError.html +3 -3
- data/docs/DropboxApi/Errors/InvalidUrlError.html +3 -3
- data/docs/DropboxApi/Errors/IsAppFolderError.html +3 -3
- data/docs/DropboxApi/Errors/IsFileError.html +3 -3
- data/docs/DropboxApi/Errors/IsFolderError.html +3 -3
- data/docs/DropboxApi/Errors/IsOsxPackageError.html +3 -3
- data/docs/DropboxApi/Errors/IsPublicFolderError.html +3 -3
- data/docs/DropboxApi/Errors/ListFolderContinueError.html +3 -3
- data/docs/DropboxApi/Errors/ListFolderError.html +3 -3
- data/docs/DropboxApi/Errors/ListFolderLongpollError.html +3 -3
- data/docs/DropboxApi/Errors/ListRevisionsError.html +3 -3
- data/docs/DropboxApi/Errors/ListSharedLinksError.html +3 -3
- data/docs/DropboxApi/Errors/LookupError.html +3 -3
- data/docs/DropboxApi/Errors/MalformedPathError.html +3 -3
- data/docs/DropboxApi/Errors/NoAccountError.html +3 -3
- data/docs/DropboxApi/Errors/NoPermissionError.html +3 -3
- data/docs/DropboxApi/Errors/NoWritePermissionError.html +3 -3
- data/docs/DropboxApi/Errors/NotAMemberError.html +3 -3
- data/docs/DropboxApi/Errors/NotFileError.html +3 -3
- data/docs/DropboxApi/Errors/NotFolderError.html +3 -3
- data/docs/DropboxApi/Errors/NotFoundError.html +3 -3
- data/docs/DropboxApi/Errors/PollError.html +3 -3
- data/docs/DropboxApi/Errors/PreviewError.html +3 -3
- data/docs/DropboxApi/Errors/RateLimitError.html +3 -3
- data/docs/DropboxApi/Errors/RelocationBatchEntryError.html +163 -0
- data/docs/DropboxApi/Errors/RelocationError.html +3 -3
- data/docs/DropboxApi/Errors/RestoreError.html +3 -3
- data/docs/DropboxApi/Errors/RestrictedContentError.html +3 -3
- data/docs/DropboxApi/Errors/RevokeSharedLinkError.html +164 -0
- data/docs/DropboxApi/Errors/SaveCopyReferenceError.html +3 -3
- data/docs/DropboxApi/Errors/SaveUrlError.html +3 -3
- data/docs/DropboxApi/Errors/SearchError.html +3 -3
- data/docs/DropboxApi/Errors/SettingsError.html +3 -3
- data/docs/DropboxApi/Errors/ShareFolderError.html +3 -3
- data/docs/DropboxApi/Errors/SharePathError.html +3 -3
- data/docs/DropboxApi/Errors/SharedFolderAccessError.html +3 -3
- data/docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html +3 -3
- data/docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html +3 -3
- data/docs/DropboxApi/Errors/SharedLinkError.html +3 -3
- data/docs/DropboxApi/Errors/SharedLinkMalformedError.html +143 -0
- data/docs/DropboxApi/Errors/SharedLinkNotFoundError.html +3 -3
- data/docs/DropboxApi/Errors/SharingFileAccessError.html +3 -3
- data/docs/DropboxApi/Errors/SharingUserError.html +3 -3
- data/docs/DropboxApi/Errors/TeamFolderError.html +3 -3
- data/docs/DropboxApi/Errors/TeamPolicyDisallowsMemberPolicyError.html +3 -3
- data/docs/DropboxApi/Errors/ThumbnailBatchError.html +3 -3
- data/docs/DropboxApi/Errors/ThumbnailError.html +3 -3
- data/docs/DropboxApi/Errors/TooManyFilesError.html +3 -3
- data/docs/DropboxApi/Errors/TooManyMembersError.html +3 -3
- data/docs/DropboxApi/Errors/TooManyPendingInvitesError.html +3 -3
- data/docs/DropboxApi/Errors/TooManyRequestsError.html +3 -3
- data/docs/DropboxApi/Errors/TooManySharedFolderTargetsError.html +3 -3
- data/docs/DropboxApi/Errors/TooManyWriteOperationsError.html +3 -3
- data/docs/DropboxApi/Errors/UnmountedError.html +3 -3
- data/docs/DropboxApi/Errors/UnshareFileError.html +3 -3
- data/docs/DropboxApi/Errors/UnsupportedContentError.html +3 -3
- data/docs/DropboxApi/Errors/UnsupportedExtensionError.html +3 -3
- data/docs/DropboxApi/Errors/UnsupportedImageError.html +3 -3
- data/docs/DropboxApi/Errors/UnsupportedLinkTypeError.html +3 -3
- data/docs/DropboxApi/Errors/UnverifiedDropboxId.html +3 -3
- data/docs/DropboxApi/Errors/UploadError.html +3 -3
- data/docs/DropboxApi/Errors/UploadSessionFinishError.html +3 -3
- data/docs/DropboxApi/Errors/UploadSessionLookupError.html +3 -3
- data/docs/DropboxApi/Errors/UploadSessionOffsetError.html +3 -3
- data/docs/DropboxApi/Errors/UploadWriteFailedError.html +3 -3
- data/docs/DropboxApi/Errors/WriteConflictError.html +3 -3
- data/docs/DropboxApi/Errors/WriteError.html +3 -3
- data/docs/DropboxApi/Errors.html +5 -5
- data/docs/DropboxApi/Metadata/AccessLevel.html +3 -3
- data/docs/DropboxApi/Metadata/AddFileMemberResult.html +3 -3
- data/docs/DropboxApi/Metadata/AddMember.html +3 -3
- data/docs/DropboxApi/Metadata/Base.html +3 -3
- data/docs/DropboxApi/Metadata/BasicAccount.html +3 -3
- data/docs/DropboxApi/Metadata/CommitInfo.html +3 -3
- data/docs/DropboxApi/Metadata/Deleted.html +3 -3
- data/docs/DropboxApi/Metadata/Dimensions.html +3 -3
- data/docs/DropboxApi/Metadata/Field.html +3 -3
- data/docs/DropboxApi/Metadata/File.html +3 -3
- data/docs/DropboxApi/Metadata/FileLinkMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/FileMemberAction.html +3 -3
- data/docs/DropboxApi/Metadata/FileRequest.html +3 -3
- data/docs/DropboxApi/Metadata/Folder.html +3 -3
- data/docs/DropboxApi/Metadata/FolderLinkMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/FolderSharingInfo.html +3 -3
- data/docs/DropboxApi/Metadata/LinkPermissions.html +3 -3
- data/docs/DropboxApi/Metadata/Location.html +3 -3
- data/docs/DropboxApi/Metadata/MediaInfo.html +3 -3
- data/docs/DropboxApi/Metadata/MediaMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/Member.html +3 -3
- data/docs/DropboxApi/Metadata/MemberAction.html +3 -3
- data/docs/DropboxApi/Metadata/MemberActionList.html +3 -3
- data/docs/DropboxApi/Metadata/MemberPermission.html +3 -3
- data/docs/DropboxApi/Metadata/MemberPermissionList.html +3 -3
- data/docs/DropboxApi/Metadata/Name.html +3 -3
- data/docs/DropboxApi/Metadata/ParentFolderAccessInfo.html +3 -3
- data/docs/DropboxApi/Metadata/PhotoMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/Resource.html +3 -3
- data/docs/DropboxApi/Metadata/SharedFolder.html +3 -3
- data/docs/DropboxApi/Metadata/SharedFolderPolicy.html +3 -3
- data/docs/DropboxApi/Metadata/SharedLink.html +3 -3
- data/docs/DropboxApi/Metadata/SharedLinkMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/SpaceAllocation.html +3 -3
- data/docs/DropboxApi/Metadata/SpaceUsage.html +3 -3
- data/docs/DropboxApi/Metadata/Tag.html +3 -3
- data/docs/DropboxApi/Metadata/Team.html +3 -3
- data/docs/DropboxApi/Metadata/TeamMemberInfo.html +3 -3
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultData.html +3 -3
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +3 -3
- data/docs/DropboxApi/Metadata/UploadSessionCursor.html +3 -3
- data/docs/DropboxApi/Metadata/VideoMetadata.html +3 -3
- data/docs/DropboxApi/Metadata/WriteMode.html +3 -3
- data/docs/DropboxApi/Metadata.html +3 -3
- data/docs/DropboxApi/MiddleWare/DecodeResult.html +3 -3
- data/docs/DropboxApi/MiddleWare/Stack.html +3 -3
- data/docs/DropboxApi/MiddleWare.html +3 -3
- data/docs/DropboxApi/OptionsValidator.html +4 -4
- data/docs/DropboxApi/ResultBuilder.html +3 -3
- data/docs/DropboxApi/Results/AddFileMemberResultList.html +3 -3
- data/docs/DropboxApi/Results/Base.html +4 -4
- data/docs/DropboxApi/Results/BasicAccountBatch.html +3 -3
- data/docs/DropboxApi/Results/CopyBatchResult.html +224 -0
- data/docs/DropboxApi/Results/CreateFolderBatchResult.html +241 -0
- data/docs/DropboxApi/Results/CreateFolderBatchResultEntry.html +234 -0
- data/docs/DropboxApi/Results/DeleteBatchResult.html +241 -0
- data/docs/DropboxApi/Results/DeleteBatchResultEntry.html +226 -0
- data/docs/DropboxApi/Results/GetCopyReferenceResult.html +3 -3
- data/docs/DropboxApi/Results/GetTemporaryLinkResult.html +3 -3
- data/docs/DropboxApi/Results/GetThumbnailBatchResult.html +3 -3
- data/docs/DropboxApi/Results/ListFolderGetLatestCursorResult.html +3 -3
- data/docs/DropboxApi/Results/ListFolderLongpollResult.html +3 -3
- data/docs/DropboxApi/Results/ListFolderResult.html +3 -3
- data/docs/DropboxApi/Results/ListRevisionsResult.html +3 -3
- data/docs/DropboxApi/Results/ListSharedLinksResult.html +3 -3
- data/docs/DropboxApi/Results/RelocationBatchResult.html +241 -0
- data/docs/DropboxApi/Results/RelocationBatchResultEntry.html +226 -0
- data/docs/DropboxApi/Results/SaveCopyReferenceResult.html +3 -3
- data/docs/DropboxApi/Results/SaveUrlJobStatus.html +3 -3
- data/docs/DropboxApi/Results/SaveUrlResult.html +3 -3
- data/docs/DropboxApi/Results/Search/Match.html +3 -3
- data/docs/DropboxApi/Results/Search.html +3 -3
- data/docs/DropboxApi/Results/SearchResult.html +3 -3
- data/docs/DropboxApi/Results/ShareFolderLaunch.html +3 -3
- data/docs/DropboxApi/Results/SharedFileMembers.html +3 -3
- data/docs/DropboxApi/Results/SharedFolderMembers.html +3 -3
- data/docs/DropboxApi/Results/UploadSessionStart.html +3 -3
- data/docs/DropboxApi/Results/VoidResult.html +3 -3
- data/docs/DropboxApi/Results.html +5 -5
- data/docs/DropboxApi.html +4 -4
- data/docs/DropboxScaffoldBuilder.html +105 -50
- data/docs/_index.html +140 -14
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +3 -3
- data/docs/file.api_coverage.html +10 -10
- data/docs/file.rails_setup.html +3 -3
- data/docs/frames.html +1 -1
- data/docs/index.html +3 -3
- data/docs/js/app.js +11 -0
- data/docs/method_list.html +430 -254
- data/docs/top-level-namespace.html +3 -3
- data/dropbox_api.gemspec +15 -16
- data/lib/dropbox_api/authenticator.rb +3 -2
- data/lib/dropbox_api/chunked_uploader.rb +2 -1
- data/lib/dropbox_api/client.rb +2 -1
- data/lib/dropbox_api/connection_builder.rb +1 -0
- data/lib/dropbox_api/endpoints/auth/token_revoke.rb +2 -1
- data/lib/dropbox_api/endpoints/base.rb +7 -4
- data/lib/dropbox_api/endpoints/content_download.rb +4 -6
- data/lib/dropbox_api/endpoints/content_upload.rb +2 -1
- data/lib/dropbox_api/endpoints/file_requests/create_file_request.rb +2 -1
- data/lib/dropbox_api/endpoints/files/copy.rb +4 -3
- data/lib/dropbox_api/endpoints/files/copy_batch.rb +36 -0
- data/lib/dropbox_api/endpoints/files/copy_batch_check.rb +21 -0
- data/lib/dropbox_api/endpoints/files/copy_reference_get.rb +3 -2
- data/lib/dropbox_api/endpoints/files/copy_reference_save.rb +4 -3
- data/lib/dropbox_api/endpoints/files/create_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/files/create_folder_batch.rb +41 -0
- data/lib/dropbox_api/endpoints/files/create_folder_batch_check.rb +22 -0
- data/lib/dropbox_api/endpoints/files/delete.rb +3 -2
- data/lib/dropbox_api/endpoints/files/delete_batch.rb +23 -0
- data/lib/dropbox_api/endpoints/files/delete_batch_check.rb +21 -0
- data/lib/dropbox_api/endpoints/files/download.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_metadata.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_preview.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_temporary_link.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_thumbnail.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_thumbnail_batch.rb +4 -3
- data/lib/dropbox_api/endpoints/files/list_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_folder_continue.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_folder_get_latest_cursor.rb +2 -1
- data/lib/dropbox_api/endpoints/files/list_folder_longpoll.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_revisions.rb +3 -2
- data/lib/dropbox_api/endpoints/files/move.rb +4 -3
- data/lib/dropbox_api/endpoints/files/permanently_delete.rb +3 -2
- data/lib/dropbox_api/endpoints/files/restore.rb +4 -3
- data/lib/dropbox_api/endpoints/files/save_url.rb +4 -3
- data/lib/dropbox_api/endpoints/files/save_url_check_job_status.rb +3 -2
- data/lib/dropbox_api/endpoints/files/search.rb +16 -27
- data/lib/dropbox_api/endpoints/files/upload.rb +3 -2
- data/lib/dropbox_api/endpoints/files/upload_session_append_v2.rb +3 -2
- data/lib/dropbox_api/endpoints/files/upload_session_finish.rb +4 -3
- data/lib/dropbox_api/endpoints/files/upload_session_start.rb +4 -3
- data/lib/dropbox_api/endpoints/rpc.rb +2 -1
- data/lib/dropbox_api/endpoints/rpc_content.rb +2 -1
- data/lib/dropbox_api/endpoints/rpc_notify.rb +2 -1
- data/lib/dropbox_api/endpoints/sharing/add_file_member.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/add_folder_member.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/get_shared_link_metadata.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/list_file_members.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/list_folder_members.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/list_shared_links.rb +2 -1
- data/lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/share_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/unshare_file.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_account.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_account_batch.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_current_account.rb +2 -1
- data/lib/dropbox_api/endpoints/users/get_space_usage.rb +2 -1
- data/lib/dropbox_api/endpoints/virtual/upload_by_chunks.rb +1 -0
- data/lib/dropbox_api/errors/add_file_member_error.rb +5 -4
- data/lib/dropbox_api/errors/add_folder_member_error.rb +11 -10
- data/lib/dropbox_api/errors/add_member_selector_error.rb +6 -5
- data/lib/dropbox_api/errors/already_shared_error.rb +1 -0
- data/lib/dropbox_api/errors/basic_error.rb +2 -1
- data/lib/dropbox_api/errors/create_file_request_error.rb +1 -0
- data/lib/dropbox_api/errors/create_folder_batch_error.rb +8 -0
- data/lib/dropbox_api/errors/create_folder_error.rb +2 -1
- data/lib/dropbox_api/errors/create_shared_link_with_settings_error.rb +6 -5
- data/lib/dropbox_api/errors/delete_error.rb +5 -3
- data/lib/dropbox_api/errors/download_error.rb +2 -1
- data/lib/dropbox_api/errors/file_member_action_error.rb +5 -4
- data/lib/dropbox_api/errors/get_account_error.rb +2 -1
- data/lib/dropbox_api/errors/get_copy_reference_error.rb +2 -1
- data/lib/dropbox_api/errors/get_metadata_error.rb +2 -1
- data/lib/dropbox_api/errors/http_error.rb +1 -0
- data/lib/dropbox_api/errors/list_folder_continue_error.rb +3 -2
- data/lib/dropbox_api/errors/list_folder_error.rb +2 -1
- data/lib/dropbox_api/errors/list_folder_longpoll_error.rb +2 -1
- data/lib/dropbox_api/errors/list_revisions_error.rb +2 -1
- data/lib/dropbox_api/errors/list_shared_links_error.rb +3 -2
- data/lib/dropbox_api/errors/lookup_error.rb +6 -5
- data/lib/dropbox_api/errors/poll_error.rb +3 -2
- data/lib/dropbox_api/errors/preview_error.rb +5 -4
- data/lib/dropbox_api/errors/relocation_batch_entry_error.rb +10 -0
- data/lib/dropbox_api/errors/relocation_error.rb +8 -7
- data/lib/dropbox_api/errors/restore_error.rb +4 -3
- data/lib/dropbox_api/errors/revoke_shared_link_error.rb +5 -4
- data/lib/dropbox_api/errors/save_copy_reference_error.rb +6 -5
- data/lib/dropbox_api/errors/save_url_error.rb +5 -4
- data/lib/dropbox_api/errors/search_error.rb +2 -1
- data/lib/dropbox_api/errors/settings_error.rb +3 -2
- data/lib/dropbox_api/errors/share_folder_error.rb +6 -5
- data/lib/dropbox_api/errors/share_path_error.rb +12 -11
- data/lib/dropbox_api/errors/shared_folder_access_error.rb +5 -4
- data/lib/dropbox_api/errors/shared_link_error.rb +4 -3
- data/lib/dropbox_api/errors/sharing_file_access_error.rb +6 -5
- data/lib/dropbox_api/errors/sharing_user_error.rb +2 -1
- data/lib/dropbox_api/errors/thumbnail_batch_error.rb +2 -1
- data/lib/dropbox_api/errors/thumbnail_error.rb +5 -4
- data/lib/dropbox_api/errors/too_many_requests_error.rb +3 -2
- data/lib/dropbox_api/errors/unshare_file_error.rb +3 -2
- data/lib/dropbox_api/errors/upload_error.rb +2 -1
- data/lib/dropbox_api/errors/upload_session_finish_error.rb +4 -3
- data/lib/dropbox_api/errors/upload_session_lookup_error.rb +5 -4
- data/lib/dropbox_api/errors/upload_session_offset_error.rb +1 -0
- data/lib/dropbox_api/errors/upload_write_failed_error.rb +2 -1
- data/lib/dropbox_api/errors/write_conflict_error.rb +4 -3
- data/lib/dropbox_api/errors/write_error.rb +6 -5
- data/lib/dropbox_api/metadata/access_level.rb +1 -0
- data/lib/dropbox_api/metadata/add_file_member_result.rb +1 -0
- data/lib/dropbox_api/metadata/add_member.rb +3 -2
- data/lib/dropbox_api/metadata/base.rb +2 -1
- data/lib/dropbox_api/metadata/basic_account.rb +1 -0
- data/lib/dropbox_api/metadata/commit_info.rb +2 -1
- data/lib/dropbox_api/metadata/deleted.rb +1 -0
- data/lib/dropbox_api/metadata/dimensions.rb +1 -0
- data/lib/dropbox_api/metadata/field.rb +7 -4
- data/lib/dropbox_api/metadata/file.rb +2 -1
- data/lib/dropbox_api/metadata/file_categories_list.rb +9 -0
- data/lib/dropbox_api/metadata/file_category.rb +22 -0
- data/lib/dropbox_api/metadata/file_extensions_list.rb +13 -0
- data/lib/dropbox_api/metadata/file_link_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/file_member_action.rb +2 -1
- data/lib/dropbox_api/metadata/file_request.rb +1 -0
- data/lib/dropbox_api/metadata/file_status.rb +14 -0
- data/lib/dropbox_api/metadata/folder.rb +2 -1
- data/lib/dropbox_api/metadata/folder_link_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/folder_sharing_info.rb +1 -0
- data/lib/dropbox_api/metadata/link_permissions.rb +1 -0
- data/lib/dropbox_api/metadata/location.rb +1 -0
- data/lib/dropbox_api/metadata/media_info.rb +1 -0
- data/lib/dropbox_api/metadata/media_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/member.rb +6 -5
- data/lib/dropbox_api/metadata/member_action.rb +1 -0
- data/lib/dropbox_api/metadata/member_action_list.rb +1 -0
- data/lib/dropbox_api/metadata/member_permission.rb +1 -0
- data/lib/dropbox_api/metadata/member_permission_list.rb +1 -0
- data/lib/dropbox_api/metadata/metadata_v2.rb +7 -0
- data/lib/dropbox_api/metadata/name.rb +1 -0
- data/lib/dropbox_api/metadata/parent_folder_access_info.rb +1 -0
- data/lib/dropbox_api/metadata/photo_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/resource.rb +2 -1
- data/lib/dropbox_api/metadata/search_match_field_options.rb +9 -0
- data/lib/dropbox_api/metadata/search_match_type_v2.rb +16 -0
- data/lib/dropbox_api/metadata/search_match_v2.rb +18 -0
- data/lib/dropbox_api/metadata/search_options.rb +33 -0
- data/lib/dropbox_api/metadata/search_order_by.rb +14 -0
- data/lib/dropbox_api/metadata/shared_folder.rb +1 -0
- data/lib/dropbox_api/metadata/shared_folder_policy.rb +1 -0
- data/lib/dropbox_api/metadata/shared_link.rb +3 -2
- data/lib/dropbox_api/metadata/shared_link_metadata.rb +2 -1
- data/lib/dropbox_api/metadata/space_allocation.rb +1 -0
- data/lib/dropbox_api/metadata/space_usage.rb +1 -0
- data/lib/dropbox_api/metadata/tag.rb +2 -1
- data/lib/dropbox_api/metadata/team.rb +1 -0
- data/lib/dropbox_api/metadata/team_member_info.rb +1 -0
- data/lib/dropbox_api/metadata/thumbnail_batch_result_data.rb +1 -0
- data/lib/dropbox_api/metadata/thumbnail_batch_result_entry.rb +3 -2
- data/lib/dropbox_api/metadata/upload_session_cursor.rb +1 -0
- data/lib/dropbox_api/metadata/video_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/write_mode.rb +6 -5
- data/lib/dropbox_api/middleware/decode_result.rb +3 -2
- data/lib/dropbox_api/middleware/stack.rb +1 -0
- data/lib/dropbox_api/options_validator.rb +1 -0
- data/lib/dropbox_api/result_builder.rb +3 -2
- data/lib/dropbox_api/results/add_file_member_result_list.rb +1 -0
- data/lib/dropbox_api/results/base.rb +1 -0
- data/lib/dropbox_api/results/basic_account_batch.rb +1 -0
- data/lib/dropbox_api/results/copy_batch_result.rb +15 -0
- data/lib/dropbox_api/results/create_folder_batch_result.rb +21 -0
- data/lib/dropbox_api/results/create_folder_batch_result_entry.rb +20 -0
- data/lib/dropbox_api/results/delete_batch_result.rb +21 -0
- data/lib/dropbox_api/results/delete_batch_result_entry.rb +16 -0
- data/lib/dropbox_api/results/get_copy_reference_result.rb +4 -3
- data/lib/dropbox_api/results/get_temporary_link_result.rb +3 -2
- data/lib/dropbox_api/results/get_thumbnail_batch_result.rb +2 -1
- data/lib/dropbox_api/results/list_folder_get_latest_cursor_result.rb +2 -1
- data/lib/dropbox_api/results/list_folder_longpoll_result.rb +3 -2
- data/lib/dropbox_api/results/list_folder_result.rb +4 -3
- data/lib/dropbox_api/results/list_revisions_result.rb +3 -2
- data/lib/dropbox_api/results/list_shared_links_result.rb +4 -3
- data/lib/dropbox_api/results/relocation_batch_result.rb +21 -0
- data/lib/dropbox_api/results/relocation_batch_result_entry.rb +16 -0
- data/lib/dropbox_api/results/save_copy_reference_result.rb +2 -1
- data/lib/dropbox_api/results/save_url_job_status.rb +7 -6
- data/lib/dropbox_api/results/save_url_result.rb +2 -1
- data/lib/dropbox_api/results/search/match.rb +3 -2
- data/lib/dropbox_api/results/search_v2_result.rb +24 -0
- data/lib/dropbox_api/results/share_folder_launch.rb +4 -3
- data/lib/dropbox_api/results/shared_file_members.rb +5 -4
- data/lib/dropbox_api/results/shared_folder_members.rb +5 -4
- data/lib/dropbox_api/results/upload_session_start.rb +2 -1
- data/lib/dropbox_api/results/void_result.rb +1 -0
- data/lib/dropbox_api/version.rb +2 -1
- data/lib/dropbox_api.rb +28 -3
- data/yardoc/endpoint_handler.rb +2 -1
- data/yardoc/helpers/html_helper.rb +2 -1
- data/yardoc/rspec.rb +3 -2
- data/yardoc/templates/default/method_details/setup.rb +1 -0
- metadata +64 -28
- data/CHANGES.md +0 -7
- data/lib/dropbox_api/results/search_result.rb +0 -22
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: DropboxApi::Results::UploadSessionStart
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.19
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -200,9 +200,9 @@
|
|
200
200
|
</div>
|
201
201
|
|
202
202
|
<div id="footer">
|
203
|
-
Generated on Fri
|
203
|
+
Generated on Fri May 31 17:53:35 2019 by
|
204
204
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
205
|
-
0.9.
|
205
|
+
0.9.19 (ruby-2.6.2).
|
206
206
|
</div>
|
207
207
|
|
208
208
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: DropboxApi::Results::VoidResult
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.19
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -130,9 +130,9 @@
|
|
130
130
|
</div>
|
131
131
|
|
132
132
|
<div id="footer">
|
133
|
-
Generated on Fri
|
133
|
+
Generated on Fri May 31 17:53:33 2019 by
|
134
134
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
135
|
-
0.9.
|
135
|
+
0.9.19 (ruby-2.6.2).
|
136
136
|
</div>
|
137
137
|
|
138
138
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: DropboxApi::Results
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.19
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -79,7 +79,7 @@
|
|
79
79
|
<dl>
|
80
80
|
<dt>Defined in:</dt>
|
81
81
|
<dd>lib/dropbox_api/results/base.rb<span class="defines">,<br />
|
82
|
-
lib/dropbox_api/results/void_result.rb,<br /> lib/dropbox_api/results/search_result.rb,<br /> lib/dropbox_api/results/save_url_result.rb,<br /> lib/dropbox_api/results/list_folder_result.rb,<br /> lib/dropbox_api/results/basic_account_batch.rb,<br /> lib/dropbox_api/results/save_url_job_status.rb,<br /> lib/dropbox_api/results/share_folder_launch.rb,<br /> lib/dropbox_api/results/shared_file_members.rb,<br /> lib/dropbox_api/results/upload_session_start.rb,<br /> lib/dropbox_api/results/list_revisions_result.rb,<br /> lib/dropbox_api/results/shared_folder_members.rb,<br /> lib/dropbox_api/results/list_shared_links_result.rb,<br /> lib/dropbox_api/results/get_copy_reference_result.rb,<br /> lib/dropbox_api/results/get_temporary_link_result.rb,<br /> lib/dropbox_api/results/get_thumbnail_batch_result.rb,<br /> lib/dropbox_api/results/save_copy_reference_result.rb,<br /> lib/dropbox_api/results/add_file_member_result_list.rb,<br /> lib/dropbox_api/results/list_folder_longpoll_result.rb,<br /> lib/dropbox_api/results/list_folder_get_latest_cursor_result.rb</span>
|
82
|
+
lib/dropbox_api/results/void_result.rb,<br /> lib/dropbox_api/results/search_result.rb,<br /> lib/dropbox_api/results/save_url_result.rb,<br /> lib/dropbox_api/results/copy_batch_result.rb,<br /> lib/dropbox_api/results/list_folder_result.rb,<br /> lib/dropbox_api/results/basic_account_batch.rb,<br /> lib/dropbox_api/results/delete_batch_result.rb,<br /> lib/dropbox_api/results/save_url_job_status.rb,<br /> lib/dropbox_api/results/share_folder_launch.rb,<br /> lib/dropbox_api/results/shared_file_members.rb,<br /> lib/dropbox_api/results/upload_session_start.rb,<br /> lib/dropbox_api/results/list_revisions_result.rb,<br /> lib/dropbox_api/results/shared_folder_members.rb,<br /> lib/dropbox_api/results/relocation_batch_result.rb,<br /> lib/dropbox_api/results/list_shared_links_result.rb,<br /> lib/dropbox_api/results/delete_batch_result_entry.rb,<br /> lib/dropbox_api/results/get_copy_reference_result.rb,<br /> lib/dropbox_api/results/get_temporary_link_result.rb,<br /> lib/dropbox_api/results/create_folder_batch_result.rb,<br /> lib/dropbox_api/results/get_thumbnail_batch_result.rb,<br /> lib/dropbox_api/results/save_copy_reference_result.rb,<br /> lib/dropbox_api/results/add_file_member_result_list.rb,<br /> lib/dropbox_api/results/list_folder_longpoll_result.rb,<br /> lib/dropbox_api/results/relocation_batch_result_entry.rb,<br /> lib/dropbox_api/results/create_folder_batch_result_entry.rb,<br /> lib/dropbox_api/results/list_folder_get_latest_cursor_result.rb</span>
|
83
83
|
</dd>
|
84
84
|
</dl>
|
85
85
|
|
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
|
95
95
|
|
96
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Results/AddFileMemberResultList.html" title="DropboxApi::Results::AddFileMemberResultList (class)">AddFileMemberResultList</a></span>, <span class='object_link'><a href="Results/Base.html" title="DropboxApi::Results::Base (class)">Base</a></span>, <span class='object_link'><a href="Results/BasicAccountBatch.html" title="DropboxApi::Results::BasicAccountBatch (class)">BasicAccountBatch</a></span>, <span class='object_link'><a href="Results/GetCopyReferenceResult.html" title="DropboxApi::Results::GetCopyReferenceResult (class)">GetCopyReferenceResult</a></span>, <span class='object_link'><a href="Results/GetTemporaryLinkResult.html" title="DropboxApi::Results::GetTemporaryLinkResult (class)">GetTemporaryLinkResult</a></span>, <span class='object_link'><a href="Results/GetThumbnailBatchResult.html" title="DropboxApi::Results::GetThumbnailBatchResult (class)">GetThumbnailBatchResult</a></span>, <span class='object_link'><a href="Results/ListFolderGetLatestCursorResult.html" title="DropboxApi::Results::ListFolderGetLatestCursorResult (class)">ListFolderGetLatestCursorResult</a></span>, <span class='object_link'><a href="Results/ListFolderLongpollResult.html" title="DropboxApi::Results::ListFolderLongpollResult (class)">ListFolderLongpollResult</a></span>, <span class='object_link'><a href="Results/ListFolderResult.html" title="DropboxApi::Results::ListFolderResult (class)">ListFolderResult</a></span>, <span class='object_link'><a href="Results/ListRevisionsResult.html" title="DropboxApi::Results::ListRevisionsResult (class)">ListRevisionsResult</a></span>, <span class='object_link'><a href="Results/ListSharedLinksResult.html" title="DropboxApi::Results::ListSharedLinksResult (class)">ListSharedLinksResult</a></span>, <span class='object_link'><a href="Results/SaveCopyReferenceResult.html" title="DropboxApi::Results::SaveCopyReferenceResult (class)">SaveCopyReferenceResult</a></span>, <span class='object_link'><a href="Results/SaveUrlJobStatus.html" title="DropboxApi::Results::SaveUrlJobStatus (class)">SaveUrlJobStatus</a></span>, <span class='object_link'><a href="Results/SaveUrlResult.html" title="DropboxApi::Results::SaveUrlResult (class)">SaveUrlResult</a></span>, <span class='object_link'><a href="Results/SearchResult.html" title="DropboxApi::Results::SearchResult (class)">SearchResult</a></span>, <span class='object_link'><a href="Results/ShareFolderLaunch.html" title="DropboxApi::Results::ShareFolderLaunch (class)">ShareFolderLaunch</a></span>, <span class='object_link'><a href="Results/SharedFileMembers.html" title="DropboxApi::Results::SharedFileMembers (class)">SharedFileMembers</a></span>, <span class='object_link'><a href="Results/SharedFolderMembers.html" title="DropboxApi::Results::SharedFolderMembers (class)">SharedFolderMembers</a></span>, <span class='object_link'><a href="Results/UploadSessionStart.html" title="DropboxApi::Results::UploadSessionStart (class)">UploadSessionStart</a></span>, <span class='object_link'><a href="Results/VoidResult.html" title="DropboxApi::Results::VoidResult (class)">VoidResult</a></span>
|
96
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Results/AddFileMemberResultList.html" title="DropboxApi::Results::AddFileMemberResultList (class)">AddFileMemberResultList</a></span>, <span class='object_link'><a href="Results/Base.html" title="DropboxApi::Results::Base (class)">Base</a></span>, <span class='object_link'><a href="Results/BasicAccountBatch.html" title="DropboxApi::Results::BasicAccountBatch (class)">BasicAccountBatch</a></span>, <span class='object_link'><a href="Results/CopyBatchResult.html" title="DropboxApi::Results::CopyBatchResult (class)">CopyBatchResult</a></span>, <span class='object_link'><a href="Results/CreateFolderBatchResult.html" title="DropboxApi::Results::CreateFolderBatchResult (class)">CreateFolderBatchResult</a></span>, <span class='object_link'><a href="Results/CreateFolderBatchResultEntry.html" title="DropboxApi::Results::CreateFolderBatchResultEntry (class)">CreateFolderBatchResultEntry</a></span>, <span class='object_link'><a href="Results/DeleteBatchResult.html" title="DropboxApi::Results::DeleteBatchResult (class)">DeleteBatchResult</a></span>, <span class='object_link'><a href="Results/DeleteBatchResultEntry.html" title="DropboxApi::Results::DeleteBatchResultEntry (class)">DeleteBatchResultEntry</a></span>, <span class='object_link'><a href="Results/GetCopyReferenceResult.html" title="DropboxApi::Results::GetCopyReferenceResult (class)">GetCopyReferenceResult</a></span>, <span class='object_link'><a href="Results/GetTemporaryLinkResult.html" title="DropboxApi::Results::GetTemporaryLinkResult (class)">GetTemporaryLinkResult</a></span>, <span class='object_link'><a href="Results/GetThumbnailBatchResult.html" title="DropboxApi::Results::GetThumbnailBatchResult (class)">GetThumbnailBatchResult</a></span>, <span class='object_link'><a href="Results/ListFolderGetLatestCursorResult.html" title="DropboxApi::Results::ListFolderGetLatestCursorResult (class)">ListFolderGetLatestCursorResult</a></span>, <span class='object_link'><a href="Results/ListFolderLongpollResult.html" title="DropboxApi::Results::ListFolderLongpollResult (class)">ListFolderLongpollResult</a></span>, <span class='object_link'><a href="Results/ListFolderResult.html" title="DropboxApi::Results::ListFolderResult (class)">ListFolderResult</a></span>, <span class='object_link'><a href="Results/ListRevisionsResult.html" title="DropboxApi::Results::ListRevisionsResult (class)">ListRevisionsResult</a></span>, <span class='object_link'><a href="Results/ListSharedLinksResult.html" title="DropboxApi::Results::ListSharedLinksResult (class)">ListSharedLinksResult</a></span>, <span class='object_link'><a href="Results/RelocationBatchResult.html" title="DropboxApi::Results::RelocationBatchResult (class)">RelocationBatchResult</a></span>, <span class='object_link'><a href="Results/RelocationBatchResultEntry.html" title="DropboxApi::Results::RelocationBatchResultEntry (class)">RelocationBatchResultEntry</a></span>, <span class='object_link'><a href="Results/SaveCopyReferenceResult.html" title="DropboxApi::Results::SaveCopyReferenceResult (class)">SaveCopyReferenceResult</a></span>, <span class='object_link'><a href="Results/SaveUrlJobStatus.html" title="DropboxApi::Results::SaveUrlJobStatus (class)">SaveUrlJobStatus</a></span>, <span class='object_link'><a href="Results/SaveUrlResult.html" title="DropboxApi::Results::SaveUrlResult (class)">SaveUrlResult</a></span>, <span class='object_link'><a href="Results/SearchResult.html" title="DropboxApi::Results::SearchResult (class)">SearchResult</a></span>, <span class='object_link'><a href="Results/ShareFolderLaunch.html" title="DropboxApi::Results::ShareFolderLaunch (class)">ShareFolderLaunch</a></span>, <span class='object_link'><a href="Results/SharedFileMembers.html" title="DropboxApi::Results::SharedFileMembers (class)">SharedFileMembers</a></span>, <span class='object_link'><a href="Results/SharedFolderMembers.html" title="DropboxApi::Results::SharedFolderMembers (class)">SharedFolderMembers</a></span>, <span class='object_link'><a href="Results/UploadSessionStart.html" title="DropboxApi::Results::UploadSessionStart (class)">UploadSessionStart</a></span>, <span class='object_link'><a href="Results/VoidResult.html" title="DropboxApi::Results::VoidResult (class)">VoidResult</a></span>
|
97
97
|
|
98
98
|
|
99
99
|
</p>
|
@@ -109,9 +109,9 @@
|
|
109
109
|
</div>
|
110
110
|
|
111
111
|
<div id="footer">
|
112
|
-
Generated on Fri
|
112
|
+
Generated on Fri May 31 17:53:31 2019 by
|
113
113
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
114
|
-
0.9.
|
114
|
+
0.9.19 (ruby-2.6.2).
|
115
115
|
</div>
|
116
116
|
|
117
117
|
</div>
|
data/docs/DropboxApi.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: DropboxApi
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.19
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -109,7 +109,7 @@
|
|
109
109
|
<dt id="VERSION-constant" class="">VERSION =
|
110
110
|
|
111
111
|
</dt>
|
112
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.1.
|
112
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.1.17</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
113
113
|
|
114
114
|
</dl>
|
115
115
|
|
@@ -125,9 +125,9 @@
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on Fri
|
128
|
+
Generated on Fri May 31 17:53:31 2019 by
|
129
129
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
|
-
0.9.
|
130
|
+
0.9.19 (ruby-2.6.2).
|
131
131
|
</div>
|
132
132
|
|
133
133
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: DropboxScaffoldBuilder
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.19
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -238,6 +238,28 @@ every execution of the test suite.</p>
|
|
238
238
|
<li class="public ">
|
239
239
|
<span class="summary_signature">
|
240
240
|
|
241
|
+
<a href="#build_copy_batch-instance_method" title="#build_copy_batch (instance method)">#<strong>build_copy_batch</strong> ⇒ Object </a>
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
</span>
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
256
|
+
|
257
|
+
</li>
|
258
|
+
|
259
|
+
|
260
|
+
<li class="public ">
|
261
|
+
<span class="summary_signature">
|
262
|
+
|
241
263
|
<a href="#build_create_file_request-instance_method" title="#build_create_file_request (instance method)">#<strong>build_create_file_request</strong> ⇒ Object </a>
|
242
264
|
|
243
265
|
|
@@ -683,9 +705,9 @@ every execution of the test suite.</p>
|
|
683
705
|
|
684
706
|
|
685
707
|
<div class="method_details first">
|
686
|
-
<h3 class="signature first" id="
|
708
|
+
<h3 class="signature first" id="build_copy_batch-instance_method">
|
687
709
|
|
688
|
-
#<strong>
|
710
|
+
#<strong>build_copy_batch</strong> ⇒ <tt>Object</tt>
|
689
711
|
|
690
712
|
|
691
713
|
|
@@ -700,11 +722,44 @@ every execution of the test suite.</p>
|
|
700
722
|
|
701
723
|
57
|
702
724
|
58
|
703
|
-
59
|
725
|
+
59
|
726
|
+
60</pre>
|
704
727
|
</td>
|
705
728
|
<td>
|
706
729
|
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line 57</span>
|
707
730
|
|
731
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_build_copy_batch'>build_copy_batch</span>
|
732
|
+
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_upload'>upload</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_path_prefix'>path_prefix</span><span class='embexpr_end'>}</span><span class='tstring_content'>/regular_file.txt</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Che primo! aon vas?</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
733
|
+
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_upload'>upload</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_path_prefix'>path_prefix</span><span class='embexpr_end'>}</span><span class='tstring_content'>/regular_file_2.txt</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Pal Calvari, amic</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
734
|
+
<span class='kw'>end</span></pre>
|
735
|
+
</td>
|
736
|
+
</tr>
|
737
|
+
</table>
|
738
|
+
</div>
|
739
|
+
|
740
|
+
<div class="method_details ">
|
741
|
+
<h3 class="signature " id="build_create_file_request-instance_method">
|
742
|
+
|
743
|
+
#<strong>build_create_file_request</strong> ⇒ <tt>Object</tt>
|
744
|
+
|
745
|
+
|
746
|
+
|
747
|
+
|
748
|
+
|
749
|
+
</h3>
|
750
|
+
<table class="source_code">
|
751
|
+
<tr>
|
752
|
+
<td>
|
753
|
+
<pre class="lines">
|
754
|
+
|
755
|
+
|
756
|
+
62
|
757
|
+
63
|
758
|
+
64</pre>
|
759
|
+
</td>
|
760
|
+
<td>
|
761
|
+
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line 62</span>
|
762
|
+
|
708
763
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_create_file_request'>build_create_file_request</span>
|
709
764
|
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_upload'>upload</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_path_prefix'>path_prefix</span><span class='embexpr_end'>}</span><span class='tstring_content'>/regular_file.txt</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Arkansas, dude.</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
710
765
|
<span class='kw'>end</span></pre>
|
@@ -729,17 +784,17 @@ every execution of the test suite.</p>
|
|
729
784
|
<pre class="lines">
|
730
785
|
|
731
786
|
|
732
|
-
61
|
733
|
-
62
|
734
|
-
63
|
735
|
-
64
|
736
|
-
65
|
737
787
|
66
|
738
788
|
67
|
739
|
-
68
|
789
|
+
68
|
790
|
+
69
|
791
|
+
70
|
792
|
+
71
|
793
|
+
72
|
794
|
+
73</pre>
|
740
795
|
</td>
|
741
796
|
<td>
|
742
|
-
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line
|
797
|
+
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line 66</span>
|
743
798
|
|
744
799
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_delete'>build_delete</span>
|
745
800
|
<span class='id identifier rubyid_file_contents'>file_contents</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Tijuana, amigo.</span><span class='tstring_end'>"</span></span>
|
@@ -770,17 +825,17 @@ every execution of the test suite.</p>
|
|
770
825
|
<pre class="lines">
|
771
826
|
|
772
827
|
|
773
|
-
70
|
774
|
-
71
|
775
|
-
72
|
776
|
-
73
|
777
|
-
74
|
778
828
|
75
|
779
829
|
76
|
780
|
-
77
|
830
|
+
77
|
831
|
+
78
|
832
|
+
79
|
833
|
+
80
|
834
|
+
81
|
835
|
+
82</pre>
|
781
836
|
</td>
|
782
837
|
<td>
|
783
|
-
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line
|
838
|
+
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line 75</span>
|
784
839
|
|
785
840
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_get_metadata'>build_get_metadata</span>
|
786
841
|
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_upload'>upload</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_path_prefix'>path_prefix</span><span class='embexpr_end'>}</span><span class='tstring_content'>/file.txt</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>This is a test file.</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='lbrace'>{</span>
|
@@ -811,16 +866,16 @@ every execution of the test suite.</p>
|
|
811
866
|
<pre class="lines">
|
812
867
|
|
813
868
|
|
814
|
-
98
|
815
|
-
99
|
816
|
-
100
|
817
|
-
101
|
818
|
-
102
|
819
869
|
103
|
820
|
-
104
|
870
|
+
104
|
871
|
+
105
|
872
|
+
106
|
873
|
+
107
|
874
|
+
108
|
875
|
+
109</pre>
|
821
876
|
</td>
|
822
877
|
<td>
|
823
|
-
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line
|
878
|
+
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line 103</span>
|
824
879
|
|
825
880
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_get_shared_link_metadata'>build_get_shared_link_metadata</span>
|
826
881
|
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_create_folder'>create_folder</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_path_prefix'>path_prefix</span><span class='embexpr_end'>}</span><span class='tstring_content'>/shared_folder</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
@@ -850,13 +905,13 @@ every execution of the test suite.</p>
|
|
850
905
|
<pre class="lines">
|
851
906
|
|
852
907
|
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
908
|
+
98
|
909
|
+
99
|
910
|
+
100
|
911
|
+
101</pre>
|
857
912
|
</td>
|
858
913
|
<td>
|
859
|
-
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line
|
914
|
+
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line 98</span>
|
860
915
|
|
861
916
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_get_thumbnail_batch'>build_get_thumbnail_batch</span>
|
862
917
|
<span class='id identifier rubyid_file_content'>file_content</span> <span class='op'>=</span> <span class='const'>IO</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_fixtures_path'>fixtures_path</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>img.png</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
@@ -883,14 +938,14 @@ every execution of the test suite.</p>
|
|
883
938
|
<pre class="lines">
|
884
939
|
|
885
940
|
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
941
|
+
84
|
942
|
+
85
|
943
|
+
86
|
944
|
+
87
|
945
|
+
88</pre>
|
891
946
|
</td>
|
892
947
|
<td>
|
893
|
-
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line
|
948
|
+
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line 84</span>
|
894
949
|
|
895
950
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_list_folder'>build_list_folder</span>
|
896
951
|
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_create_folder'>create_folder</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_path_prefix'>path_prefix</span><span class='embexpr_end'>}</span><span class='tstring_content'>/shared_folder</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
@@ -918,12 +973,12 @@ every execution of the test suite.</p>
|
|
918
973
|
<pre class="lines">
|
919
974
|
|
920
975
|
|
921
|
-
|
922
|
-
|
923
|
-
|
976
|
+
90
|
977
|
+
91
|
978
|
+
92</pre>
|
924
979
|
</td>
|
925
980
|
<td>
|
926
|
-
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line
|
981
|
+
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line 90</span>
|
927
982
|
|
928
983
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_upload'>build_upload</span>
|
929
984
|
<span class='comment'># No need to set up anything
|
@@ -949,12 +1004,12 @@ every execution of the test suite.</p>
|
|
949
1004
|
<pre class="lines">
|
950
1005
|
|
951
1006
|
|
952
|
-
|
953
|
-
|
954
|
-
|
1007
|
+
94
|
1008
|
+
95
|
1009
|
+
96</pre>
|
955
1010
|
</td>
|
956
1011
|
<td>
|
957
|
-
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line
|
1012
|
+
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line 94</span>
|
958
1013
|
|
959
1014
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_upload_by_chunks'>build_upload_by_chunks</span>
|
960
1015
|
<span class='comment'># No op
|
@@ -1087,12 +1142,12 @@ every execution of the test suite.</p>
|
|
1087
1142
|
<pre class="lines">
|
1088
1143
|
|
1089
1144
|
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1145
|
+
112
|
1146
|
+
113
|
1147
|
+
114</pre>
|
1093
1148
|
</td>
|
1094
1149
|
<td>
|
1095
|
-
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line
|
1150
|
+
<pre class="code"><span class="info file"># File 'spec/support/dropbox_scaffold_builder.rb', line 112</span>
|
1096
1151
|
|
1097
1152
|
<span class='kw'>def</span> <span class='id identifier rubyid_path_prefix'>path_prefix</span>
|
1098
1153
|
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span> <span class='const'><span class='object_link'><a href="#PREFIX-constant" title="DropboxScaffoldBuilder::PREFIX (constant)">PREFIX</a></span></span><span class='comma'>,</span> <span class='ivar'>@endpoint_name</span>
|
@@ -1107,9 +1162,9 @@ every execution of the test suite.</p>
|
|
1107
1162
|
</div>
|
1108
1163
|
|
1109
1164
|
<div id="footer">
|
1110
|
-
Generated on Fri
|
1165
|
+
Generated on Fri May 31 17:53:37 2019 by
|
1111
1166
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1112
|
-
0.9.
|
1167
|
+
0.9.19 (ruby-2.6.2).
|
1113
1168
|
</div>
|
1114
1169
|
|
1115
1170
|
</div>
|