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::Metadata::AccessLevel
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Metadata::AccessLevel";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -229,12 +229,12 @@
|
|
|
229
229
|
<pre class="lines">
|
|
230
230
|
|
|
231
231
|
|
|
232
|
-
17
|
|
233
232
|
18
|
|
234
|
-
19
|
|
233
|
+
19
|
|
234
|
+
20</pre>
|
|
235
235
|
</td>
|
|
236
236
|
<td>
|
|
237
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/access_level.rb', line
|
|
237
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/access_level.rb', line 18</span>
|
|
238
238
|
|
|
239
239
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_valid_values'>valid_values</span>
|
|
240
240
|
<span class='const'><span class='object_link'><a href="#VALID_ACCESS_LEVELS-constant" title="DropboxApi::Metadata::AccessLevel::VALID_ACCESS_LEVELS (constant)">VALID_ACCESS_LEVELS</a></span></span>
|
|
@@ -249,9 +249,9 @@
|
|
|
249
249
|
</div>
|
|
250
250
|
|
|
251
251
|
<div id="footer">
|
|
252
|
-
Generated on
|
|
252
|
+
Generated on Sun Feb 7 11:51:56 2021 by
|
|
253
253
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
254
|
-
0.9.
|
|
254
|
+
0.9.26 (ruby-2.5.1).
|
|
255
255
|
</div>
|
|
256
256
|
|
|
257
257
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Metadata::AddFileMemberResult
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Metadata::AddFileMemberResult";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -154,9 +154,9 @@
|
|
|
154
154
|
</div>
|
|
155
155
|
|
|
156
156
|
<div id="footer">
|
|
157
|
-
Generated on
|
|
157
|
+
Generated on Sun Feb 7 11:51:58 2021 by
|
|
158
158
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
159
|
-
0.9.
|
|
159
|
+
0.9.26 (ruby-2.5.1).
|
|
160
160
|
</div>
|
|
161
161
|
|
|
162
162
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Metadata::AddMember
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Metadata::AddMember";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -210,20 +210,20 @@
|
|
|
210
210
|
<pre class="lines">
|
|
211
211
|
|
|
212
212
|
|
|
213
|
-
26
|
|
214
213
|
27
|
|
215
214
|
28
|
|
216
215
|
29
|
|
217
216
|
30
|
|
218
|
-
31
|
|
217
|
+
31
|
|
218
|
+
32</pre>
|
|
219
219
|
</td>
|
|
220
220
|
<td>
|
|
221
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/add_member.rb', line
|
|
221
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/add_member.rb', line 27</span>
|
|
222
222
|
|
|
223
223
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_from_string'>build_from_string</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_access_level'>access_level</span> <span class='op'>=</span> <span class='symbol'>:editor</span><span class='rparen'>)</span>
|
|
224
224
|
<span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span>
|
|
225
|
-
<span class='tstring'><span class='tstring_beg'
|
|
226
|
-
<span class='tstring'><span class='tstring_beg'
|
|
225
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>member</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='const'><span class='object_link'><a href="Member.html" title="DropboxApi::Metadata::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Member.html#initialize-instance_method" title="DropboxApi::Metadata::Member#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span><span class='comma'>,</span>
|
|
226
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>access_level</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_access_level'>access_level</span>
|
|
227
227
|
<span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
228
228
|
<span class='kw'>end</span></pre>
|
|
229
229
|
</td>
|
|
@@ -236,9 +236,9 @@
|
|
|
236
236
|
</div>
|
|
237
237
|
|
|
238
238
|
<div id="footer">
|
|
239
|
-
Generated on
|
|
239
|
+
Generated on Sun Feb 7 11:51:56 2021 by
|
|
240
240
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
241
|
-
0.9.
|
|
241
|
+
0.9.26 (ruby-2.5.1).
|
|
242
242
|
</div>
|
|
243
243
|
|
|
244
244
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Metadata::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::Metadata::Base";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
|
|
102
102
|
<div id="subclasses">
|
|
103
103
|
<h2>Direct Known Subclasses</h2>
|
|
104
|
-
<p class="children"><span class='object_link'><a href="AddFileMemberResult.html" title="DropboxApi::Metadata::AddFileMemberResult (class)">AddFileMemberResult</a></span>, <span class='object_link'><a href="AddMember.html" title="DropboxApi::Metadata::AddMember (class)">AddMember</a></span>, <span class='object_link'><a href="BasicAccount.html" title="DropboxApi::Metadata::BasicAccount (class)">BasicAccount</a></span>, <span class='object_link'><a href="CommitInfo.html" title="DropboxApi::Metadata::CommitInfo (class)">CommitInfo</a></span>, <span class='object_link'><a href="Deleted.html" title="DropboxApi::Metadata::Deleted (class)">Deleted</a></span>, <span class='object_link'><a href="Dimensions.html" title="DropboxApi::Metadata::Dimensions (class)">Dimensions</a></span>, <span class='object_link'><a href="File.html" title="DropboxApi::Metadata::File (class)">File</a></span>, <span class='object_link'><a href="FileLinkMetadata.html" title="DropboxApi::Metadata::FileLinkMetadata (class)">FileLinkMetadata</a></span>, <span class='object_link'><a href="FileMemberAction.html" title="DropboxApi::Metadata::FileMemberAction (class)">FileMemberAction</a></span>, <span class='object_link'><a href="FileRequest.html" title="DropboxApi::Metadata::FileRequest (class)">FileRequest</a></span>, <span class='object_link'><a href="Folder.html" title="DropboxApi::Metadata::Folder (class)">Folder</a></span>, <span class='object_link'><a href="FolderLinkMetadata.html" title="DropboxApi::Metadata::FolderLinkMetadata (class)">FolderLinkMetadata</a></span>, <span class='object_link'><a href="FolderSharingInfo.html" title="DropboxApi::Metadata::FolderSharingInfo (class)">FolderSharingInfo</a></span>, <span class='object_link'><a href="LinkPermissions.html" title="DropboxApi::Metadata::LinkPermissions (class)">LinkPermissions</a></span>, <span class='object_link'><a href="Location.html" title="DropboxApi::Metadata::Location (class)">Location</a></span>, <span class='object_link'><a href="MediaInfo.html" title="DropboxApi::Metadata::MediaInfo (class)">MediaInfo</a></span>, <span class='object_link'><a href="MediaMetadata.html" title="DropboxApi::Metadata::MediaMetadata (class)">MediaMetadata</a></span>, <span class='object_link'><a href="Member.html" title="DropboxApi::Metadata::Member (class)">Member</a></span>, <span class='object_link'><a href="MemberPermission.html" title="DropboxApi::Metadata::MemberPermission (class)">MemberPermission</a></span>, <span class='object_link'><a href="Name.html" title="DropboxApi::Metadata::Name (class)">Name</a></span>, <span class='object_link'><a href="ParentFolderAccessInfo.html" title="DropboxApi::Metadata::ParentFolderAccessInfo (class)">ParentFolderAccessInfo</a></span>, <span class='object_link'><a href="PhotoMetadata.html" title="DropboxApi::Metadata::PhotoMetadata (class)">PhotoMetadata</a></span>, <span class='object_link'><a href="SharedFolder.html" title="DropboxApi::Metadata::SharedFolder (class)">SharedFolder</a></span>, <span class='object_link'><a href="SharedFolderPolicy.html" title="DropboxApi::Metadata::SharedFolderPolicy (class)">SharedFolderPolicy</a></span>, <span class='object_link'><a href="SharedLink.html" title="DropboxApi::Metadata::SharedLink (class)">SharedLink</a></span>, <span class='object_link'><a href="SpaceAllocation.html" title="DropboxApi::Metadata::SpaceAllocation (class)">SpaceAllocation</a></span>, <span class='object_link'><a href="SpaceUsage.html" title="DropboxApi::Metadata::SpaceUsage (class)">SpaceUsage</a></span>, <span class='object_link'><a href="Tag.html" title="DropboxApi::Metadata::Tag (class)">Tag</a></span>, <span class='object_link'><a href="Team.html" title="DropboxApi::Metadata::Team (class)">Team</a></span>, <span class='object_link'><a href="TeamMemberInfo.html" title="DropboxApi::Metadata::TeamMemberInfo (class)">TeamMemberInfo</a></span>, <span class='object_link'><a href="ThumbnailBatchResultData.html" title="DropboxApi::Metadata::ThumbnailBatchResultData (class)">ThumbnailBatchResultData</a></span>, <span class='object_link'><a href="UploadSessionCursor.html" title="DropboxApi::Metadata::UploadSessionCursor (class)">UploadSessionCursor</a></span>, <span class='object_link'><a href="VideoMetadata.html" title="DropboxApi::Metadata::VideoMetadata (class)">VideoMetadata</a></span>, <span class='object_link'><a href="WriteMode.html" title="DropboxApi::Metadata::WriteMode (class)">WriteMode</a></span></p>
|
|
104
|
+
<p class="children"><span class='object_link'><a href="AddFileMemberResult.html" title="DropboxApi::Metadata::AddFileMemberResult (class)">AddFileMemberResult</a></span>, <span class='object_link'><a href="AddMember.html" title="DropboxApi::Metadata::AddMember (class)">AddMember</a></span>, <span class='object_link'><a href="BasicAccount.html" title="DropboxApi::Metadata::BasicAccount (class)">BasicAccount</a></span>, <span class='object_link'><a href="CommitInfo.html" title="DropboxApi::Metadata::CommitInfo (class)">CommitInfo</a></span>, <span class='object_link'><a href="Deleted.html" title="DropboxApi::Metadata::Deleted (class)">Deleted</a></span>, <span class='object_link'><a href="Dimensions.html" title="DropboxApi::Metadata::Dimensions (class)">Dimensions</a></span>, <span class='object_link'><a href="File.html" title="DropboxApi::Metadata::File (class)">File</a></span>, <span class='object_link'><a href="FileLinkMetadata.html" title="DropboxApi::Metadata::FileLinkMetadata (class)">FileLinkMetadata</a></span>, <span class='object_link'><a href="FileMemberAction.html" title="DropboxApi::Metadata::FileMemberAction (class)">FileMemberAction</a></span>, <span class='object_link'><a href="FileRequest.html" title="DropboxApi::Metadata::FileRequest (class)">FileRequest</a></span>, <span class='object_link'><a href="Folder.html" title="DropboxApi::Metadata::Folder (class)">Folder</a></span>, <span class='object_link'><a href="FolderLinkMetadata.html" title="DropboxApi::Metadata::FolderLinkMetadata (class)">FolderLinkMetadata</a></span>, <span class='object_link'><a href="FolderSharingInfo.html" title="DropboxApi::Metadata::FolderSharingInfo (class)">FolderSharingInfo</a></span>, <span class='object_link'><a href="LinkPermissions.html" title="DropboxApi::Metadata::LinkPermissions (class)">LinkPermissions</a></span>, <span class='object_link'><a href="Location.html" title="DropboxApi::Metadata::Location (class)">Location</a></span>, <span class='object_link'><a href="MediaInfo.html" title="DropboxApi::Metadata::MediaInfo (class)">MediaInfo</a></span>, <span class='object_link'><a href="MediaMetadata.html" title="DropboxApi::Metadata::MediaMetadata (class)">MediaMetadata</a></span>, <span class='object_link'><a href="Member.html" title="DropboxApi::Metadata::Member (class)">Member</a></span>, <span class='object_link'><a href="MemberPermission.html" title="DropboxApi::Metadata::MemberPermission (class)">MemberPermission</a></span>, <span class='object_link'><a href="MetadataV2.html" title="DropboxApi::Metadata::MetadataV2 (class)">MetadataV2</a></span>, <span class='object_link'><a href="Name.html" title="DropboxApi::Metadata::Name (class)">Name</a></span>, <span class='object_link'><a href="ParentFolderAccessInfo.html" title="DropboxApi::Metadata::ParentFolderAccessInfo (class)">ParentFolderAccessInfo</a></span>, <span class='object_link'><a href="PhotoMetadata.html" title="DropboxApi::Metadata::PhotoMetadata (class)">PhotoMetadata</a></span>, <span class='object_link'><a href="SearchMatchFieldOptions.html" title="DropboxApi::Metadata::SearchMatchFieldOptions (class)">SearchMatchFieldOptions</a></span>, <span class='object_link'><a href="SearchMatchV2.html" title="DropboxApi::Metadata::SearchMatchV2 (class)">SearchMatchV2</a></span>, <span class='object_link'><a href="SearchOptions.html" title="DropboxApi::Metadata::SearchOptions (class)">SearchOptions</a></span>, <span class='object_link'><a href="SharedFolder.html" title="DropboxApi::Metadata::SharedFolder (class)">SharedFolder</a></span>, <span class='object_link'><a href="SharedFolderPolicy.html" title="DropboxApi::Metadata::SharedFolderPolicy (class)">SharedFolderPolicy</a></span>, <span class='object_link'><a href="SharedLink.html" title="DropboxApi::Metadata::SharedLink (class)">SharedLink</a></span>, <span class='object_link'><a href="SpaceAllocation.html" title="DropboxApi::Metadata::SpaceAllocation (class)">SpaceAllocation</a></span>, <span class='object_link'><a href="SpaceUsage.html" title="DropboxApi::Metadata::SpaceUsage (class)">SpaceUsage</a></span>, <span class='object_link'><a href="Tag.html" title="DropboxApi::Metadata::Tag (class)">Tag</a></span>, <span class='object_link'><a href="Team.html" title="DropboxApi::Metadata::Team (class)">Team</a></span>, <span class='object_link'><a href="TeamMemberInfo.html" title="DropboxApi::Metadata::TeamMemberInfo (class)">TeamMemberInfo</a></span>, <span class='object_link'><a href="ThumbnailBatchResultData.html" title="DropboxApi::Metadata::ThumbnailBatchResultData (class)">ThumbnailBatchResultData</a></span>, <span class='object_link'><a href="UploadSessionCursor.html" title="DropboxApi::Metadata::UploadSessionCursor (class)">UploadSessionCursor</a></span>, <span class='object_link'><a href="VideoMetadata.html" title="DropboxApi::Metadata::VideoMetadata (class)">VideoMetadata</a></span>, <span class='object_link'><a href="WriteMode.html" title="DropboxApi::Metadata::WriteMode (class)">WriteMode</a></span></p>
|
|
105
105
|
</div>
|
|
106
106
|
|
|
107
107
|
|
|
@@ -331,14 +331,14 @@ so a valid call would be something like this:</p>
|
|
|
331
331
|
<pre class="lines">
|
|
332
332
|
|
|
333
333
|
|
|
334
|
-
33
|
|
335
334
|
34
|
|
336
335
|
35
|
|
337
336
|
36
|
|
338
|
-
37
|
|
337
|
+
37
|
|
338
|
+
38</pre>
|
|
339
339
|
</td>
|
|
340
340
|
<td>
|
|
341
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/base.rb', line
|
|
341
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/base.rb', line 34</span>
|
|
342
342
|
|
|
343
343
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_metadata'>metadata</span><span class='rparen'>)</span>
|
|
344
344
|
<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_fields'>fields</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_field_name'>field_name</span><span class='op'>|</span>
|
|
@@ -368,7 +368,7 @@ so a valid call would be something like this:</p>
|
|
|
368
368
|
|
|
369
369
|
</h3><div class="docstring">
|
|
370
370
|
<div class="discussion">
|
|
371
|
-
<p>Returns the value of attribute fields
|
|
371
|
+
<p>Returns the value of attribute fields.</p>
|
|
372
372
|
|
|
373
373
|
|
|
374
374
|
</div>
|
|
@@ -383,12 +383,12 @@ so a valid call would be something like this:</p>
|
|
|
383
383
|
<pre class="lines">
|
|
384
384
|
|
|
385
385
|
|
|
386
|
-
4
|
|
387
386
|
5
|
|
388
|
-
6
|
|
387
|
+
6
|
|
388
|
+
7</pre>
|
|
389
389
|
</td>
|
|
390
390
|
<td>
|
|
391
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/base.rb', line
|
|
391
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/base.rb', line 5</span>
|
|
392
392
|
|
|
393
393
|
<span class='kw'>def</span> <span class='id identifier rubyid_fields'>fields</span>
|
|
394
394
|
<span class='ivar'>@fields</span>
|
|
@@ -421,15 +421,15 @@ so a valid call would be something like this:</p>
|
|
|
421
421
|
<pre class="lines">
|
|
422
422
|
|
|
423
423
|
|
|
424
|
-
6
|
|
425
424
|
7
|
|
426
425
|
8
|
|
427
426
|
9
|
|
428
427
|
10
|
|
429
|
-
11
|
|
428
|
+
11
|
|
429
|
+
12</pre>
|
|
430
430
|
</td>
|
|
431
431
|
<td>
|
|
432
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/base.rb', line
|
|
432
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/base.rb', line 7</span>
|
|
433
433
|
|
|
434
434
|
<span class='kw'>def</span> <span class='id identifier rubyid_field'>field</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
|
435
435
|
<span class='ivar'>@fields</span> <span class='op'>||=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
|
@@ -464,7 +464,6 @@ so a valid call would be something like this:</p>
|
|
|
464
464
|
<pre class="lines">
|
|
465
465
|
|
|
466
466
|
|
|
467
|
-
45
|
|
468
467
|
46
|
|
469
468
|
47
|
|
470
469
|
48
|
|
@@ -474,16 +473,17 @@ so a valid call would be something like this:</p>
|
|
|
474
473
|
52
|
|
475
474
|
53
|
|
476
475
|
54
|
|
477
|
-
55
|
|
476
|
+
55
|
|
477
|
+
56</pre>
|
|
478
478
|
</td>
|
|
479
479
|
<td>
|
|
480
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/base.rb', line
|
|
480
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/base.rb', line 46</span>
|
|
481
481
|
|
|
482
482
|
<span class='kw'>def</span> <span class='id identifier rubyid_serialized_field'>serialized_field</span><span class='lparen'>(</span><span class='id identifier rubyid_field_name'>field_name</span><span class='rparen'>)</span>
|
|
483
483
|
<span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='id identifier rubyid_send'>send</span> <span class='id identifier rubyid_field_name'>field_name</span>
|
|
484
484
|
<span class='kw'>case</span> <span class='id identifier rubyid_value'>value</span>
|
|
485
485
|
<span class='kw'>when</span> <span class='const'>Time</span>
|
|
486
|
-
<span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_utc'>utc</span><span class='period'>.</span><span class='id identifier rubyid_strftime'>strftime</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
|
486
|
+
<span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_utc'>utc</span><span class='period'>.</span><span class='id identifier rubyid_strftime'>strftime</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>%FT%TZ</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
|
487
487
|
<span class='kw'>when</span> <span class='const'><span class='object_link'><a href="../../DropboxApi.html" title="DropboxApi (module)">DropboxApi</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Metadata.html" title="DropboxApi::Metadata (module)">Metadata</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="DropboxApi::Metadata::Base (class)">Base</a></span></span>
|
|
488
488
|
<span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span>
|
|
489
489
|
<span class='kw'>else</span>
|
|
@@ -511,14 +511,14 @@ so a valid call would be something like this:</p>
|
|
|
511
511
|
<pre class="lines">
|
|
512
512
|
|
|
513
513
|
|
|
514
|
-
39
|
|
515
514
|
40
|
|
516
515
|
41
|
|
517
516
|
42
|
|
518
|
-
43
|
|
517
|
+
43
|
|
518
|
+
44</pre>
|
|
519
519
|
</td>
|
|
520
520
|
<td>
|
|
521
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/base.rb', line
|
|
521
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/base.rb', line 40</span>
|
|
522
522
|
|
|
523
523
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_hash'>to_hash</span>
|
|
524
524
|
<span class='const'>Hash</span><span class='lbracket'>[</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_fields'>fields</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_field_name'>field_name</span><span class='op'>|</span>
|
|
@@ -535,9 +535,9 @@ so a valid call would be something like this:</p>
|
|
|
535
535
|
</div>
|
|
536
536
|
|
|
537
537
|
<div id="footer">
|
|
538
|
-
Generated on
|
|
538
|
+
Generated on Sun Feb 7 11:51:55 2021 by
|
|
539
539
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
540
|
-
0.9.
|
|
540
|
+
0.9.26 (ruby-2.5.1).
|
|
541
541
|
</div>
|
|
542
542
|
|
|
543
543
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Metadata::BasicAccount
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Metadata::BasicAccount";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -157,9 +157,9 @@
|
|
|
157
157
|
</div>
|
|
158
158
|
|
|
159
159
|
<div id="footer">
|
|
160
|
-
Generated on
|
|
160
|
+
Generated on Sun Feb 7 11:51:57 2021 by
|
|
161
161
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
162
|
-
0.9.
|
|
162
|
+
0.9.26 (ruby-2.5.1).
|
|
163
163
|
</div>
|
|
164
164
|
|
|
165
165
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Metadata::CommitInfo
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Metadata::CommitInfo";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -180,7 +180,6 @@
|
|
|
180
180
|
<pre class="lines">
|
|
181
181
|
|
|
182
182
|
|
|
183
|
-
10
|
|
184
183
|
11
|
|
185
184
|
12
|
|
186
185
|
13
|
|
@@ -193,10 +192,11 @@
|
|
|
193
192
|
20
|
|
194
193
|
21
|
|
195
194
|
22
|
|
196
|
-
23
|
|
195
|
+
23
|
|
196
|
+
24</pre>
|
|
197
197
|
</td>
|
|
198
198
|
<td>
|
|
199
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/commit_info.rb', line
|
|
199
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/commit_info.rb', line 11</span>
|
|
200
200
|
|
|
201
201
|
<span class='kw'>def</span> <span class='id identifier rubyid_build_from_options'>build_from_options</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
|
202
202
|
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
|
|
@@ -222,9 +222,9 @@
|
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
224
|
<div id="footer">
|
|
225
|
-
Generated on
|
|
225
|
+
Generated on Sun Feb 7 11:51:56 2021 by
|
|
226
226
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
227
|
-
0.9.
|
|
227
|
+
0.9.26 (ruby-2.5.1).
|
|
228
228
|
</div>
|
|
229
229
|
|
|
230
230
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Metadata::Deleted
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Metadata::Deleted";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -148,9 +148,9 @@
|
|
|
148
148
|
</div>
|
|
149
149
|
|
|
150
150
|
<div id="footer">
|
|
151
|
-
Generated on
|
|
151
|
+
Generated on Sun Feb 7 11:51:55 2021 by
|
|
152
152
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
153
|
-
0.9.
|
|
153
|
+
0.9.26 (ruby-2.5.1).
|
|
154
154
|
</div>
|
|
155
155
|
|
|
156
156
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Metadata::Dimensions
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Metadata::Dimensions";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -130,9 +130,9 @@
|
|
|
130
130
|
</div>
|
|
131
131
|
|
|
132
132
|
<div id="footer">
|
|
133
|
-
Generated on
|
|
133
|
+
Generated on Sun Feb 7 11:51:56 2021 by
|
|
134
134
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
135
|
-
0.9.
|
|
135
|
+
0.9.26 (ruby-2.5.1).
|
|
136
136
|
</div>
|
|
137
137
|
|
|
138
138
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Metadata::Field
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Metadata::Field";
|
|
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 Field
|
|
203
|
+
<p>Returns a new instance of Field.</p>
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
</div>
|
|
@@ -215,13 +215,13 @@
|
|
|
215
215
|
<pre class="lines">
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
3
|
|
219
218
|
4
|
|
220
219
|
5
|
|
221
|
-
6
|
|
220
|
+
6
|
|
221
|
+
7</pre>
|
|
222
222
|
</td>
|
|
223
223
|
<td>
|
|
224
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/field.rb', line
|
|
224
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/field.rb', line 4</span>
|
|
225
225
|
|
|
226
226
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
|
227
227
|
<span class='ivar'>@type</span> <span class='op'>=</span> <span class='id identifier rubyid_type'>type</span>
|
|
@@ -255,17 +255,17 @@
|
|
|
255
255
|
<pre class="lines">
|
|
256
256
|
|
|
257
257
|
|
|
258
|
-
8
|
|
259
258
|
9
|
|
260
259
|
10
|
|
261
260
|
11
|
|
262
261
|
12
|
|
263
262
|
13
|
|
264
263
|
14
|
|
265
|
-
15
|
|
264
|
+
15
|
|
265
|
+
16</pre>
|
|
266
266
|
</td>
|
|
267
267
|
<td>
|
|
268
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/field.rb', line
|
|
268
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/field.rb', line 9</span>
|
|
269
269
|
|
|
270
270
|
<span class='kw'>def</span> <span class='id identifier rubyid_cast'>cast</span><span class='lparen'>(</span><span class='id identifier rubyid_object'>object</span><span class='rparen'>)</span>
|
|
271
271
|
<span class='kw'>if</span> <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
@@ -296,7 +296,6 @@
|
|
|
296
296
|
<pre class="lines">
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
17
|
|
300
299
|
18
|
|
301
300
|
19
|
|
302
301
|
20
|
|
@@ -314,10 +313,13 @@
|
|
|
314
313
|
32
|
|
315
314
|
33
|
|
316
315
|
34
|
|
317
|
-
35
|
|
316
|
+
35
|
|
317
|
+
36
|
|
318
|
+
37
|
|
319
|
+
38</pre>
|
|
318
320
|
</td>
|
|
319
321
|
<td>
|
|
320
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/field.rb', line
|
|
322
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/field.rb', line 18</span>
|
|
321
323
|
|
|
322
324
|
<span class='kw'>def</span> <span class='id identifier rubyid_force_cast'>force_cast</span><span class='lparen'>(</span><span class='id identifier rubyid_object'>object</span><span class='rparen'>)</span>
|
|
323
325
|
<span class='kw'>if</span> <span class='ivar'>@type</span> <span class='op'>==</span> <span class='const'>String</span>
|
|
@@ -329,13 +331,15 @@
|
|
|
329
331
|
<span class='kw'>elsif</span> <span class='ivar'>@type</span> <span class='op'>==</span> <span class='const'>Float</span>
|
|
330
332
|
<span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span>
|
|
331
333
|
<span class='kw'>elsif</span> <span class='ivar'>@type</span> <span class='op'>==</span> <span class='const'>Symbol</span>
|
|
332
|
-
<span class='id identifier rubyid_object'>object</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'
|
|
334
|
+
<span class='id identifier rubyid_object'>object</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.tag</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
|
333
335
|
<span class='kw'>elsif</span> <span class='ivar'>@type</span> <span class='op'>==</span> <span class='symbol'>:boolean</span>
|
|
334
|
-
<span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'
|
|
335
|
-
<span class='kw'>elsif</span> <span class='ivar'>@type</span><span class='period'>.</span><span class='id identifier rubyid_ancestors'>ancestors</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span>
|
|
336
|
+
<span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>true</span><span class='tstring_end'>'</span></span>
|
|
337
|
+
<span class='kw'>elsif</span> <span class='ivar'>@type</span><span class='period'>.</span><span class='id identifier rubyid_ancestors'>ancestors</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../../DropboxApi.html" title="DropboxApi (module)">DropboxApi</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Metadata.html" title="DropboxApi::Metadata (module)">Metadata</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Base.html" title="DropboxApi::Metadata::Base (class)">Base</a></span></span><span class='rparen'>)</span> <span class='op'>||</span>
|
|
338
|
+
<span class='ivar'>@type</span><span class='period'>.</span><span class='id identifier rubyid_ancestors'>ancestors</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='const'>Array</span><span class='rparen'>)</span> <span class='op'>||</span>
|
|
339
|
+
<span class='ivar'>@type</span> <span class='op'>==</span> <span class='const'><span class='object_link'><a href="../../DropboxApi.html" title="DropboxApi (module)">DropboxApi</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Metadata.html" title="DropboxApi::Metadata (module)">Metadata</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Resource.html" title="DropboxApi::Metadata::Resource (class)">Resource</a></span></span>
|
|
336
340
|
<span class='ivar'>@type</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_object'>object</span><span class='rparen'>)</span>
|
|
337
341
|
<span class='kw'>else</span>
|
|
338
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Can't cast `</span><span class='embexpr_beg'>#{</span><span class='ivar'>@type</span><span class='embexpr_end'>}</span><span class='tstring_content'>`</span><span class='tstring_end'>"</span></span>
|
|
342
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Can't cast </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_object'>object</span><span class='embexpr_end'>}</span><span class='tstring_content'> to `</span><span class='embexpr_beg'>#{</span><span class='ivar'>@type</span><span class='embexpr_end'>}</span><span class='tstring_content'>`</span><span class='tstring_end'>"</span></span>
|
|
339
343
|
<span class='kw'>end</span>
|
|
340
344
|
<span class='kw'>end</span></pre>
|
|
341
345
|
</td>
|
|
@@ -348,9 +352,9 @@
|
|
|
348
352
|
</div>
|
|
349
353
|
|
|
350
354
|
<div id="footer">
|
|
351
|
-
Generated on
|
|
355
|
+
Generated on Sun Feb 7 11:51:55 2021 by
|
|
352
356
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
353
|
-
0.9.
|
|
357
|
+
0.9.26 (ruby-2.5.1).
|
|
354
358
|
</div>
|
|
355
359
|
|
|
356
360
|
</div>
|