dropbox_api 0.1.20 → 0.1.21
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/Gemfile +20 -0
- data/TODO.md +8 -0
- data/docs/DropboxApi/Authenticator.html +8 -14
- data/docs/DropboxApi/ChunkedUploader.html +2 -2
- data/docs/DropboxApi/Client.html +344 -16
- data/docs/DropboxApi/ConnectionBuilder.html +259 -24
- data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +5 -5
- data/docs/DropboxApi/Endpoints/Auth.html +2 -2
- data/docs/DropboxApi/Endpoints/Base.html +88 -7
- data/docs/DropboxApi/Endpoints/ContentDownload.html +22 -33
- data/docs/DropboxApi/Endpoints/ContentUpload.html +22 -33
- data/docs/DropboxApi/Endpoints/Files/Copy.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/CopyBatch.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/CopyBatchCheck.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatch.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatchCheck.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/Delete.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/DeleteBatch.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/DeleteBatchCheck.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/Download.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/GetPreview.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +6 -6
- data/docs/DropboxApi/Endpoints/Files/ListFolder.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +6 -6
- data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/Move.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/Restore.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/Search.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/SearchContinue.html +300 -0
- data/docs/DropboxApi/Endpoints/Files/Upload.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +5 -5
- data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +5 -5
- data/docs/DropboxApi/Endpoints/Files.html +4 -4
- data/docs/DropboxApi/Endpoints/Rpc.html +23 -34
- data/docs/DropboxApi/Endpoints/RpcContent.html +21 -26
- data/docs/DropboxApi/Endpoints/RpcNotify.html +21 -26
- data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +5 -5
- data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +5 -5
- data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +5 -5
- data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +5 -5
- data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +5 -5
- data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +5 -5
- data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +5 -5
- data/docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html +5 -5
- data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +5 -5
- data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +5 -5
- data/docs/DropboxApi/Endpoints/Sharing.html +2 -2
- data/docs/DropboxApi/Endpoints/Users/GetAccount.html +5 -5
- data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +5 -5
- data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +5 -5
- data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +5 -5
- data/docs/DropboxApi/Endpoints/Users.html +2 -2
- data/docs/DropboxApi/Endpoints.html +2 -2
- data/docs/DropboxApi/Errors/AddFileMemberError.html +2 -2
- data/docs/DropboxApi/Errors/AddFolderMemberError.html +2 -2
- data/docs/DropboxApi/Errors/AddMemberSelectorError.html +2 -2
- data/docs/DropboxApi/Errors/AlreadySharedError.html +2 -2
- data/docs/DropboxApi/Errors/BadPathError.html +2 -2
- data/docs/DropboxApi/Errors/BasicError.html +3 -3
- data/docs/DropboxApi/Errors/CantCopySharedFolderError.html +2 -2
- data/docs/DropboxApi/Errors/CantMoveFolderIntoItselfError.html +2 -2
- data/docs/DropboxApi/Errors/CantNestSharedFolderError.html +2 -2
- data/docs/DropboxApi/Errors/CantShareOutsideTeamError.html +2 -2
- data/docs/DropboxApi/Errors/ContainsSharedFolderError.html +2 -2
- data/docs/DropboxApi/Errors/ConversionError.html +2 -2
- data/docs/DropboxApi/Errors/CreateFileRequestError.html +2 -2
- data/docs/DropboxApi/Errors/CreateFolderBatchError.html +2 -2
- data/docs/DropboxApi/Errors/CreateFolderError.html +2 -2
- data/docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html +2 -2
- data/docs/DropboxApi/Errors/CursorClosedError.html +2 -2
- data/docs/DropboxApi/Errors/CursorNotClosedError.html +2 -2
- data/docs/DropboxApi/Errors/DeleteError.html +2 -2
- data/docs/DropboxApi/Errors/DisallowedNameError.html +2 -2
- data/docs/DropboxApi/Errors/DisallowedSharedLinkPolicyError.html +2 -2
- data/docs/DropboxApi/Errors/DownloadError.html +2 -2
- data/docs/DropboxApi/Errors/DownloadFailedError.html +2 -2
- data/docs/DropboxApi/Errors/EmailUnverifiedError.html +2 -2
- data/docs/DropboxApi/Errors/ExpiredAccessTokenError.html +143 -0
- data/docs/DropboxApi/Errors/FileAncestorConflictError.html +2 -2
- data/docs/DropboxApi/Errors/FileConflictError.html +2 -2
- data/docs/DropboxApi/Errors/FileMemberActionError.html +2 -2
- data/docs/DropboxApi/Errors/FolderConflictError.html +2 -2
- data/docs/DropboxApi/Errors/GetAccountError.html +2 -2
- data/docs/DropboxApi/Errors/GetCopyReferenceError.html +2 -2
- data/docs/DropboxApi/Errors/GetMetadataError.html +2 -2
- data/docs/DropboxApi/Errors/GroupDeletedError.html +2 -2
- data/docs/DropboxApi/Errors/GroupNotOnTeamError.html +2 -2
- data/docs/DropboxApi/Errors/HttpError.html +2 -2
- data/docs/DropboxApi/Errors/InProgressError.html +2 -2
- data/docs/DropboxApi/Errors/InsideAppFolderError.html +2 -2
- data/docs/DropboxApi/Errors/InsideOsxPackageError.html +2 -2
- data/docs/DropboxApi/Errors/InsidePublicFolderError.html +2 -2
- data/docs/DropboxApi/Errors/InsideSharedFolderError.html +2 -2
- data/docs/DropboxApi/Errors/InsufficientPlanError.html +2 -2
- data/docs/DropboxApi/Errors/InsufficientSpaceError.html +2 -2
- data/docs/DropboxApi/Errors/InternalError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidCommentError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidCopyReferenceError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidCursorError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidDropboxIdError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidEmailError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidFileError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidIdError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidMemberError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidPathError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidRevisionError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidSettingsError.html +2 -2
- data/docs/DropboxApi/Errors/InvalidUrlError.html +2 -2
- data/docs/DropboxApi/Errors/IsAppFolderError.html +2 -2
- data/docs/DropboxApi/Errors/IsFileError.html +2 -2
- data/docs/DropboxApi/Errors/IsFolderError.html +2 -2
- data/docs/DropboxApi/Errors/IsOsxPackageError.html +2 -2
- data/docs/DropboxApi/Errors/IsPublicFolderError.html +2 -2
- data/docs/DropboxApi/Errors/ListFolderContinueError.html +2 -2
- data/docs/DropboxApi/Errors/ListFolderError.html +2 -2
- data/docs/DropboxApi/Errors/ListFolderLongpollError.html +2 -2
- data/docs/DropboxApi/Errors/ListRevisionsError.html +2 -2
- data/docs/DropboxApi/Errors/ListSharedLinksError.html +2 -2
- data/docs/DropboxApi/Errors/LookupError.html +2 -2
- data/docs/DropboxApi/Errors/MalformedPathError.html +2 -2
- data/docs/DropboxApi/Errors/NoAccountError.html +2 -2
- data/docs/DropboxApi/Errors/NoPermissionError.html +2 -2
- data/docs/DropboxApi/Errors/NoWritePermissionError.html +2 -2
- data/docs/DropboxApi/Errors/NotAMemberError.html +2 -2
- data/docs/DropboxApi/Errors/NotFileError.html +2 -2
- data/docs/DropboxApi/Errors/NotFolderError.html +2 -2
- data/docs/DropboxApi/Errors/NotFoundError.html +2 -2
- data/docs/DropboxApi/Errors/PollError.html +2 -2
- data/docs/DropboxApi/Errors/PreviewError.html +2 -2
- data/docs/DropboxApi/Errors/RateLimitError.html +2 -2
- data/docs/DropboxApi/Errors/RelocationBatchEntryError.html +2 -2
- data/docs/DropboxApi/Errors/RelocationError.html +2 -2
- data/docs/DropboxApi/Errors/RestoreError.html +2 -2
- data/docs/DropboxApi/Errors/RestrictedContentError.html +2 -2
- data/docs/DropboxApi/Errors/RevokeSharedLinkError.html +2 -2
- data/docs/DropboxApi/Errors/SaveCopyReferenceError.html +2 -2
- data/docs/DropboxApi/Errors/SaveUrlError.html +2 -2
- data/docs/DropboxApi/Errors/SearchError.html +2 -2
- data/docs/DropboxApi/Errors/SettingsError.html +2 -2
- data/docs/DropboxApi/Errors/ShareFolderError.html +2 -2
- data/docs/DropboxApi/Errors/SharePathError.html +2 -2
- data/docs/DropboxApi/Errors/SharedFolderAccessError.html +2 -2
- data/docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html +2 -2
- data/docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html +2 -2
- data/docs/DropboxApi/Errors/SharedLinkError.html +2 -2
- data/docs/DropboxApi/Errors/SharedLinkMalformedError.html +2 -2
- data/docs/DropboxApi/Errors/SharedLinkNotFoundError.html +2 -2
- data/docs/DropboxApi/Errors/SharingFileAccessError.html +2 -2
- data/docs/DropboxApi/Errors/SharingUserError.html +2 -2
- data/docs/DropboxApi/Errors/TeamFolderError.html +2 -2
- data/docs/DropboxApi/Errors/TeamPolicyDisallowsMemberPolicyError.html +2 -2
- data/docs/DropboxApi/Errors/ThumbnailBatchError.html +2 -2
- data/docs/DropboxApi/Errors/ThumbnailError.html +2 -2
- data/docs/DropboxApi/Errors/TooManyFilesError.html +2 -2
- data/docs/DropboxApi/Errors/TooManyMembersError.html +2 -2
- data/docs/DropboxApi/Errors/TooManyPendingInvitesError.html +2 -2
- data/docs/DropboxApi/Errors/TooManyRequestsError.html +2 -2
- data/docs/DropboxApi/Errors/TooManySharedFolderTargetsError.html +2 -2
- data/docs/DropboxApi/Errors/TooManyWriteOperationsError.html +2 -2
- data/docs/DropboxApi/Errors/UnmountedError.html +2 -2
- data/docs/DropboxApi/Errors/UnshareFileError.html +2 -2
- data/docs/DropboxApi/Errors/UnsupportedContentError.html +2 -2
- data/docs/DropboxApi/Errors/UnsupportedExtensionError.html +2 -2
- data/docs/DropboxApi/Errors/UnsupportedImageError.html +2 -2
- data/docs/DropboxApi/Errors/UnsupportedLinkTypeError.html +2 -2
- data/docs/DropboxApi/Errors/UnverifiedDropboxId.html +2 -2
- data/docs/DropboxApi/Errors/UploadError.html +2 -2
- data/docs/DropboxApi/Errors/UploadSessionFinishError.html +2 -2
- data/docs/DropboxApi/Errors/UploadSessionLookupError.html +2 -2
- data/docs/DropboxApi/Errors/UploadSessionOffsetError.html +2 -2
- data/docs/DropboxApi/Errors/UploadWriteFailedError.html +2 -2
- data/docs/DropboxApi/Errors/WriteConflictError.html +2 -2
- data/docs/DropboxApi/Errors/WriteError.html +2 -2
- data/docs/DropboxApi/Errors.html +4 -4
- data/docs/DropboxApi/Metadata/AccessLevel.html +2 -2
- data/docs/DropboxApi/Metadata/AddFileMemberResult.html +2 -2
- data/docs/DropboxApi/Metadata/AddMember.html +2 -2
- data/docs/DropboxApi/Metadata/Base.html +3 -3
- data/docs/DropboxApi/Metadata/BasicAccount.html +8 -3
- data/docs/DropboxApi/Metadata/CommitInfo.html +2 -2
- data/docs/DropboxApi/Metadata/Deleted.html +2 -2
- data/docs/DropboxApi/Metadata/Dimensions.html +2 -2
- data/docs/DropboxApi/Metadata/Field.html +2 -2
- data/docs/DropboxApi/Metadata/File.html +2 -2
- data/docs/DropboxApi/Metadata/FileCategoriesList.html +2 -2
- data/docs/DropboxApi/Metadata/FileCategory.html +2 -2
- data/docs/DropboxApi/Metadata/FileExtensionsList.html +2 -2
- data/docs/DropboxApi/Metadata/FileLinkMetadata.html +2 -2
- data/docs/DropboxApi/Metadata/FileMemberAction.html +2 -2
- data/docs/DropboxApi/Metadata/FileRequest.html +2 -2
- data/docs/DropboxApi/Metadata/FileStatus.html +2 -2
- data/docs/DropboxApi/Metadata/Folder.html +2 -2
- data/docs/DropboxApi/Metadata/FolderLinkMetadata.html +2 -2
- data/docs/DropboxApi/Metadata/FolderSharingInfo.html +2 -2
- data/docs/DropboxApi/Metadata/LinkPermissions.html +2 -2
- data/docs/DropboxApi/Metadata/Location.html +2 -2
- data/docs/DropboxApi/Metadata/MediaInfo.html +2 -2
- data/docs/DropboxApi/Metadata/MediaMetadata.html +2 -2
- data/docs/DropboxApi/Metadata/Member.html +2 -2
- data/docs/DropboxApi/Metadata/MemberAction.html +2 -2
- data/docs/DropboxApi/Metadata/MemberActionList.html +2 -2
- data/docs/DropboxApi/Metadata/MemberPermission.html +2 -2
- data/docs/DropboxApi/Metadata/MemberPermissionList.html +2 -2
- data/docs/DropboxApi/Metadata/MetadataV2.html +2 -2
- data/docs/DropboxApi/Metadata/Name.html +2 -2
- data/docs/DropboxApi/Metadata/NamespaceId.html +210 -0
- data/docs/DropboxApi/Metadata/ParentFolderAccessInfo.html +2 -2
- data/docs/DropboxApi/Metadata/PhotoMetadata.html +2 -2
- data/docs/DropboxApi/Metadata/Resource.html +2 -2
- data/docs/DropboxApi/Metadata/RootInfo.html +227 -0
- data/docs/DropboxApi/Metadata/SearchMatchFieldOptions.html +2 -2
- data/docs/DropboxApi/Metadata/SearchMatchTypeV2.html +2 -2
- data/docs/DropboxApi/Metadata/SearchMatchV2.html +2 -2
- data/docs/DropboxApi/Metadata/SearchOptions.html +2 -2
- data/docs/DropboxApi/Metadata/SearchOrderBy.html +2 -2
- data/docs/DropboxApi/Metadata/SharedFolder.html +2 -2
- data/docs/DropboxApi/Metadata/SharedFolderPolicy.html +2 -2
- data/docs/DropboxApi/Metadata/SharedLink.html +2 -2
- data/docs/DropboxApi/Metadata/SharedLinkMetadata.html +2 -2
- data/docs/DropboxApi/Metadata/SpaceAllocation.html +2 -2
- data/docs/DropboxApi/Metadata/SpaceUsage.html +2 -2
- data/docs/DropboxApi/Metadata/Tag.html +2 -2
- data/docs/DropboxApi/Metadata/Team.html +2 -2
- data/docs/DropboxApi/Metadata/TeamMemberInfo.html +2 -2
- data/docs/DropboxApi/Metadata/TeamRootInfo.html +140 -0
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultData.html +2 -2
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +2 -2
- data/docs/DropboxApi/Metadata/UploadSessionCursor.html +2 -2
- data/docs/DropboxApi/Metadata/UserRootInfo.html +140 -0
- data/docs/DropboxApi/Metadata/VideoMetadata.html +2 -2
- data/docs/DropboxApi/Metadata/WriteMode.html +2 -2
- data/docs/DropboxApi/Metadata.html +4 -4
- data/docs/DropboxApi/MiddleWare/DecodeResult.html +2 -2
- data/docs/DropboxApi/MiddleWare/PathRoot.html +412 -0
- data/docs/DropboxApi/MiddleWare/Stack.html +2 -2
- data/docs/DropboxApi/MiddleWare.html +4 -4
- data/docs/DropboxApi/OptionsValidator.html +3 -3
- data/docs/DropboxApi/ResultBuilder.html +2 -2
- data/docs/DropboxApi/Results/AddFileMemberResultList.html +2 -2
- data/docs/DropboxApi/Results/Base.html +2 -2
- data/docs/DropboxApi/Results/BasicAccountBatch.html +2 -2
- data/docs/DropboxApi/Results/CopyBatchResult.html +2 -2
- data/docs/DropboxApi/Results/CreateFolderBatchResult.html +2 -2
- data/docs/DropboxApi/Results/CreateFolderBatchResultEntry.html +2 -2
- data/docs/DropboxApi/Results/DeleteBatchResult.html +2 -2
- data/docs/DropboxApi/Results/DeleteBatchResultEntry.html +2 -2
- data/docs/DropboxApi/Results/GetCopyReferenceResult.html +2 -2
- data/docs/DropboxApi/Results/GetTemporaryLinkResult.html +2 -2
- data/docs/DropboxApi/Results/GetThumbnailBatchResult.html +2 -2
- data/docs/DropboxApi/Results/ListFolderGetLatestCursorResult.html +2 -2
- data/docs/DropboxApi/Results/ListFolderLongpollResult.html +2 -2
- data/docs/DropboxApi/Results/ListFolderResult.html +2 -2
- data/docs/DropboxApi/Results/ListRevisionsResult.html +2 -2
- data/docs/DropboxApi/Results/ListSharedLinksResult.html +2 -2
- data/docs/DropboxApi/Results/RelocationBatchResult.html +2 -2
- data/docs/DropboxApi/Results/RelocationBatchResultEntry.html +2 -2
- data/docs/DropboxApi/Results/SaveCopyReferenceResult.html +2 -2
- data/docs/DropboxApi/Results/SaveUrlJobStatus.html +2 -2
- data/docs/DropboxApi/Results/SaveUrlResult.html +2 -2
- data/docs/DropboxApi/Results/Search/Match.html +2 -2
- data/docs/DropboxApi/Results/Search.html +2 -2
- data/docs/DropboxApi/Results/SearchV2Result.html +6 -6
- data/docs/DropboxApi/Results/ShareFolderLaunch.html +2 -2
- data/docs/DropboxApi/Results/SharedFileMembers.html +2 -2
- data/docs/DropboxApi/Results/SharedFolderMembers.html +2 -2
- data/docs/DropboxApi/Results/UploadSessionStart.html +2 -2
- data/docs/DropboxApi/Results/VoidResult.html +2 -2
- data/docs/DropboxApi/Results.html +2 -2
- data/docs/DropboxApi.html +3 -3
- data/docs/DropboxScaffoldBuilder.html +2 -2
- data/docs/_index.html +61 -12
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +110 -24
- data/docs/file.api_coverage.html +2 -2
- data/docs/file.rails_setup.html +2 -2
- data/docs/index.html +110 -24
- data/docs/method_list.html +437 -325
- data/docs/top-level-namespace.html +2 -2
- data/dropbox_api.gemspec +2 -6
- data/lib/dropbox_api/connection_builder.rb +1 -1
- data/lib/dropbox_api/endpoints/rpc_notify.rb +1 -1
- data/lib/dropbox_api/version.rb +1 -1
- metadata +15 -78
|
@@ -103,6 +103,37 @@
|
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
|
|
106
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
|
107
|
+
<ul class="summary">
|
|
108
|
+
|
|
109
|
+
<li class="public ">
|
|
110
|
+
<span class="summary_signature">
|
|
111
|
+
|
|
112
|
+
<a href="#namespace_id-instance_method" title="#namespace_id (instance method)">#<strong>namespace_id</strong> ⇒ Object </a>
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
</span>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
<span class="summary_desc"><div class='inline'><p>Returns the value of attribute namespace_id.</p>
|
|
130
|
+
</div></span>
|
|
131
|
+
|
|
132
|
+
</li>
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
</ul>
|
|
136
|
+
|
|
106
137
|
|
|
107
138
|
|
|
108
139
|
|
|
@@ -139,7 +170,29 @@
|
|
|
139
170
|
<li class="public ">
|
|
140
171
|
<span class="summary_signature">
|
|
141
172
|
|
|
142
|
-
<a href="#
|
|
173
|
+
<a href="#can_refresh_access_token%3F-instance_method" title="#can_refresh_access_token? (instance method)">#<strong>can_refresh_access_token?</strong> ⇒ Boolean </a>
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
</span>
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
188
|
+
|
|
189
|
+
</li>
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
<li class="public ">
|
|
193
|
+
<span class="summary_signature">
|
|
194
|
+
|
|
195
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(oauth_bearer = nil, access_token: nil, on_token_refreshed: nil) ⇒ ConnectionBuilder </a>
|
|
143
196
|
|
|
144
197
|
|
|
145
198
|
|
|
@@ -178,6 +231,28 @@
|
|
|
178
231
|
|
|
179
232
|
|
|
180
233
|
|
|
234
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
235
|
+
|
|
236
|
+
</li>
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
<li class="public ">
|
|
240
|
+
<span class="summary_signature">
|
|
241
|
+
|
|
242
|
+
<a href="#refresh_access_token-instance_method" title="#refresh_access_token (instance method)">#<strong>refresh_access_token</strong> ⇒ Object </a>
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
</span>
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
181
256
|
<span class="summary_desc"><div class='inline'></div></span>
|
|
182
257
|
|
|
183
258
|
</li>
|
|
@@ -192,7 +267,7 @@
|
|
|
192
267
|
<div class="method_details first">
|
|
193
268
|
<h3 class="signature first" id="initialize-instance_method">
|
|
194
269
|
|
|
195
|
-
#<strong>initialize</strong>(oauth_bearer) ⇒ <tt><span class='object_link'><a href="" title="DropboxApi::ConnectionBuilder (class)">ConnectionBuilder</a></span></tt>
|
|
270
|
+
#<strong>initialize</strong>(oauth_bearer = nil, access_token: nil, on_token_refreshed: nil) ⇒ <tt><span class='object_link'><a href="" title="DropboxApi::ConnectionBuilder (class)">ConnectionBuilder</a></span></tt>
|
|
196
271
|
|
|
197
272
|
|
|
198
273
|
|
|
@@ -208,6 +283,76 @@
|
|
|
208
283
|
<div class="tags">
|
|
209
284
|
|
|
210
285
|
|
|
286
|
+
</div>
|
|
287
|
+
<table class="source_code">
|
|
288
|
+
<tr>
|
|
289
|
+
<td>
|
|
290
|
+
<pre class="lines">
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
6
|
|
294
|
+
7
|
|
295
|
+
8
|
|
296
|
+
9
|
|
297
|
+
10
|
|
298
|
+
11
|
|
299
|
+
12
|
|
300
|
+
13
|
|
301
|
+
14
|
|
302
|
+
15
|
|
303
|
+
16
|
|
304
|
+
17
|
|
305
|
+
18
|
|
306
|
+
19</pre>
|
|
307
|
+
</td>
|
|
308
|
+
<td>
|
|
309
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line 6</span>
|
|
310
|
+
|
|
311
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_oauth_bearer'>oauth_bearer</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>access_token:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>on_token_refreshed:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
312
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_access_token'>access_token</span>
|
|
313
|
+
<span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_access_token'>access_token</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>OAuth2</span><span class='op'>::</span><span class='const'>AccessToken</span><span class='rparen'>)</span>
|
|
314
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>access_token should be an OAuth2::AccessToken</span><span class='tstring_end'>"</span></span>
|
|
315
|
+
<span class='kw'>end</span>
|
|
316
|
+
|
|
317
|
+
<span class='ivar'>@access_token</span> <span class='op'>=</span> <span class='id identifier rubyid_access_token'>access_token</span>
|
|
318
|
+
<span class='ivar'>@on_token_refreshed</span> <span class='op'>=</span> <span class='id identifier rubyid_on_token_refreshed'>on_token_refreshed</span>
|
|
319
|
+
<span class='kw'>elsif</span> <span class='id identifier rubyid_oauth_bearer'>oauth_bearer</span>
|
|
320
|
+
<span class='ivar'>@oauth_bearer</span> <span class='op'>=</span> <span class='id identifier rubyid_oauth_bearer'>oauth_bearer</span>
|
|
321
|
+
<span class='kw'>else</span>
|
|
322
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Either oauth_bearer or access_token should be set</span><span class='tstring_end'>"</span></span>
|
|
323
|
+
<span class='kw'>end</span>
|
|
324
|
+
<span class='kw'>end</span></pre>
|
|
325
|
+
</td>
|
|
326
|
+
</tr>
|
|
327
|
+
</table>
|
|
328
|
+
</div>
|
|
329
|
+
|
|
330
|
+
</div>
|
|
331
|
+
|
|
332
|
+
<div id="instance_attr_details" class="attr_details">
|
|
333
|
+
<h2>Instance Attribute Details</h2>
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
<span id="namespace_id=-instance_method"></span>
|
|
337
|
+
<div class="method_details first">
|
|
338
|
+
<h3 class="signature first" id="namespace_id-instance_method">
|
|
339
|
+
|
|
340
|
+
#<strong>namespace_id</strong> ⇒ <tt>Object</tt>
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
</h3><div class="docstring">
|
|
347
|
+
<div class="discussion">
|
|
348
|
+
<p>Returns the value of attribute namespace_id.</p>
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
</div>
|
|
352
|
+
</div>
|
|
353
|
+
<div class="tags">
|
|
354
|
+
|
|
355
|
+
|
|
211
356
|
</div>
|
|
212
357
|
<table class="source_code">
|
|
213
358
|
<tr>
|
|
@@ -222,15 +367,15 @@
|
|
|
222
367
|
<td>
|
|
223
368
|
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line 4</span>
|
|
224
369
|
|
|
225
|
-
<span class='kw'>def</span> <span class='id identifier
|
|
226
|
-
<span class='ivar'>@
|
|
370
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_namespace_id'>namespace_id</span>
|
|
371
|
+
<span class='ivar'>@namespace_id</span>
|
|
227
372
|
<span class='kw'>end</span></pre>
|
|
228
373
|
</td>
|
|
229
374
|
</tr>
|
|
230
375
|
</table>
|
|
231
376
|
</div>
|
|
232
|
-
|
|
233
|
-
</div>
|
|
377
|
+
|
|
378
|
+
</div>
|
|
234
379
|
|
|
235
380
|
|
|
236
381
|
<div id="instance_method_details" class="method_details_list">
|
|
@@ -253,24 +398,28 @@
|
|
|
253
398
|
<pre class="lines">
|
|
254
399
|
|
|
255
400
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
401
|
+
44
|
|
402
|
+
45
|
|
403
|
+
46
|
|
404
|
+
47
|
|
405
|
+
48
|
|
406
|
+
49
|
|
407
|
+
50
|
|
408
|
+
51
|
|
409
|
+
52
|
|
410
|
+
53
|
|
411
|
+
54</pre>
|
|
265
412
|
</td>
|
|
266
413
|
<td>
|
|
267
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line
|
|
414
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line 44</span>
|
|
268
415
|
|
|
269
416
|
<span class='kw'>def</span> <span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='rparen'>)</span>
|
|
270
417
|
<span class='const'>Faraday</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_connection'>connection</span><span class='op'>|</span>
|
|
418
|
+
<span class='id identifier rubyid_connection'>connection</span><span class='period'>.</span><span class='id identifier rubyid_use'>use</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="MiddleWare.html" title="DropboxApi::MiddleWare (module)">MiddleWare</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="MiddleWare/PathRoot.html" title="DropboxApi::MiddleWare::PathRoot (class)">PathRoot</a></span></span><span class='comma'>,</span> <span class='lbrace'>{</span>
|
|
419
|
+
<span class='label'>namespace_id:</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_namespace_id'>namespace_id</span>
|
|
420
|
+
<span class='rbrace'>}</span>
|
|
271
421
|
<span class='id identifier rubyid_middleware'>middleware</span><span class='period'>.</span><span class='id identifier rubyid_apply'>apply</span><span class='lparen'>(</span><span class='id identifier rubyid_connection'>connection</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
|
272
|
-
<span class='id identifier rubyid_connection'>connection</span><span class='period'>.</span><span class='id identifier rubyid_authorization'>authorization</span> <span class='symbol'>:Bearer</span><span class='comma'>,</span> <span class='
|
|
273
|
-
|
|
422
|
+
<span class='id identifier rubyid_connection'>connection</span><span class='period'>.</span><span class='id identifier rubyid_authorization'>authorization</span> <span class='symbol'>:Bearer</span><span class='comma'>,</span> <span class='id identifier rubyid_bearer'>bearer</span>
|
|
274
423
|
<span class='kw'>yield</span> <span class='id identifier rubyid_connection'>connection</span>
|
|
275
424
|
<span class='kw'>end</span>
|
|
276
425
|
<span class='kw'>end</span>
|
|
@@ -278,6 +427,59 @@
|
|
|
278
427
|
</td>
|
|
279
428
|
</tr>
|
|
280
429
|
</table>
|
|
430
|
+
</div>
|
|
431
|
+
|
|
432
|
+
<div class="method_details ">
|
|
433
|
+
<h3 class="signature " id="can_refresh_access_token?-instance_method">
|
|
434
|
+
|
|
435
|
+
#<strong>can_refresh_access_token?</strong> ⇒ <tt>Boolean</tt>
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
</h3><div class="docstring">
|
|
442
|
+
<div class="discussion">
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
</div>
|
|
446
|
+
</div>
|
|
447
|
+
<div class="tags">
|
|
448
|
+
|
|
449
|
+
<p class="tag_title">Returns:</p>
|
|
450
|
+
<ul class="return">
|
|
451
|
+
|
|
452
|
+
<li>
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
</li>
|
|
460
|
+
|
|
461
|
+
</ul>
|
|
462
|
+
|
|
463
|
+
</div>
|
|
464
|
+
<table class="source_code">
|
|
465
|
+
<tr>
|
|
466
|
+
<td>
|
|
467
|
+
<pre class="lines">
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
25
|
|
471
|
+
26
|
|
472
|
+
27</pre>
|
|
473
|
+
</td>
|
|
474
|
+
<td>
|
|
475
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line 25</span>
|
|
476
|
+
|
|
477
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_can_refresh_access_token?'>can_refresh_access_token?</span>
|
|
478
|
+
<span class='ivar'>@access_token</span> <span class='op'>&&</span> <span class='ivar'>@access_token</span><span class='period'>.</span><span class='id identifier rubyid_refresh_token'>refresh_token</span>
|
|
479
|
+
<span class='kw'>end</span></pre>
|
|
480
|
+
</td>
|
|
481
|
+
</tr>
|
|
482
|
+
</table>
|
|
281
483
|
</div>
|
|
282
484
|
|
|
283
485
|
<div class="method_details ">
|
|
@@ -296,12 +498,12 @@
|
|
|
296
498
|
<pre class="lines">
|
|
297
499
|
|
|
298
500
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
501
|
+
21
|
|
502
|
+
22
|
|
503
|
+
23</pre>
|
|
302
504
|
</td>
|
|
303
505
|
<td>
|
|
304
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line
|
|
506
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line 21</span>
|
|
305
507
|
|
|
306
508
|
<span class='kw'>def</span> <span class='id identifier rubyid_middleware'>middleware</span>
|
|
307
509
|
<span class='ivar'>@middleware</span> <span class='op'>||=</span> <span class='const'><span class='object_link'><a href="MiddleWare.html" title="DropboxApi::MiddleWare (module)">MiddleWare</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="MiddleWare/Stack.html" title="DropboxApi::MiddleWare::Stack (class)">Stack</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MiddleWare/Stack.html#initialize-instance_method" title="DropboxApi::MiddleWare::Stack#initialize (method)">new</a></span></span>
|
|
@@ -309,6 +511,39 @@
|
|
|
309
511
|
</td>
|
|
310
512
|
</tr>
|
|
311
513
|
</table>
|
|
514
|
+
</div>
|
|
515
|
+
|
|
516
|
+
<div class="method_details ">
|
|
517
|
+
<h3 class="signature " id="refresh_access_token-instance_method">
|
|
518
|
+
|
|
519
|
+
#<strong>refresh_access_token</strong> ⇒ <tt>Object</tt>
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
</h3>
|
|
526
|
+
<table class="source_code">
|
|
527
|
+
<tr>
|
|
528
|
+
<td>
|
|
529
|
+
<pre class="lines">
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
29
|
|
533
|
+
30
|
|
534
|
+
31
|
|
535
|
+
32</pre>
|
|
536
|
+
</td>
|
|
537
|
+
<td>
|
|
538
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/connection_builder.rb', line 29</span>
|
|
539
|
+
|
|
540
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_refresh_access_token'>refresh_access_token</span>
|
|
541
|
+
<span class='ivar'>@access_token</span> <span class='op'>=</span> <span class='ivar'>@access_token</span><span class='period'>.</span><span class='id identifier rubyid_refresh!'>refresh!</span>
|
|
542
|
+
<span class='ivar'>@on_token_refreshed</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='ivar'>@access_token</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='ivar'>@on_token_refreshed</span>
|
|
543
|
+
<span class='kw'>end</span></pre>
|
|
544
|
+
</td>
|
|
545
|
+
</tr>
|
|
546
|
+
</table>
|
|
312
547
|
</div>
|
|
313
548
|
|
|
314
549
|
</div>
|
|
@@ -316,9 +551,9 @@
|
|
|
316
551
|
</div>
|
|
317
552
|
|
|
318
553
|
<div id="footer">
|
|
319
|
-
Generated on
|
|
554
|
+
Generated on Wed Sep 29 23:44:25 2021 by
|
|
320
555
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
321
|
-
0.9.26 (ruby-2.5
|
|
556
|
+
0.9.26 (ruby-2.6.5).
|
|
322
557
|
</div>
|
|
323
558
|
|
|
324
559
|
</div>
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
|
|
186
186
|
|
|
187
187
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Rpc.html" title="DropboxApi::Endpoints::Rpc (class)">Rpc</a></span></h3>
|
|
188
|
-
<p class="inherited"><span class='object_link'><a href="../Rpc.html#
|
|
188
|
+
<p class="inherited"><span class='object_link'><a href="../Rpc.html#build_connection-instance_method" title="DropboxApi::Endpoints::Rpc#build_connection (method)">#build_connection</a></span>, <span class='object_link'><a href="../Rpc.html#build_request-instance_method" title="DropboxApi::Endpoints::Rpc#build_request (method)">#build_request</a></span>, <span class='object_link'><a href="../Rpc.html#request_body-instance_method" title="DropboxApi::Endpoints::Rpc#request_body (method)">#request_body</a></span></p>
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
|
|
@@ -196,11 +196,11 @@
|
|
|
196
196
|
|
|
197
197
|
|
|
198
198
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="DropboxApi::Endpoints::Base (class)">Base</a></span></h3>
|
|
199
|
-
<p class="inherited"><span class='object_link'><a href="../Base.html#add_endpoint-class_method" title="DropboxApi::Endpoints::Base.add_endpoint (method)">add_endpoint</a></span></p>
|
|
199
|
+
<p class="inherited"><span class='object_link'><a href="../Base.html#add_endpoint-class_method" title="DropboxApi::Endpoints::Base.add_endpoint (method)">add_endpoint</a></span>, <span class='object_link'><a href="../Base.html#initialize-instance_method" title="DropboxApi::Endpoints::Base#initialize (method)">#initialize</a></span></p>
|
|
200
200
|
<div id="constructor_details" class="method_details_list">
|
|
201
201
|
<h2>Constructor Details</h2>
|
|
202
202
|
|
|
203
|
-
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="../
|
|
203
|
+
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Base.html#initialize-instance_method" title="DropboxApi::Endpoints::Base#initialize (method)">DropboxApi::Endpoints::Base</a></span></p>
|
|
204
204
|
|
|
205
205
|
</div>
|
|
206
206
|
|
|
@@ -255,9 +255,9 @@
|
|
|
255
255
|
</div>
|
|
256
256
|
|
|
257
257
|
<div id="footer">
|
|
258
|
-
Generated on
|
|
258
|
+
Generated on Wed Sep 29 23:44:26 2021 by
|
|
259
259
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
260
|
-
0.9.26 (ruby-2.5
|
|
260
|
+
0.9.26 (ruby-2.6.5).
|
|
261
261
|
</div>
|
|
262
262
|
|
|
263
263
|
</div>
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
</div>
|
|
106
106
|
|
|
107
107
|
<div id="footer">
|
|
108
|
-
Generated on
|
|
108
|
+
Generated on Wed Sep 29 23:44:24 2021 by
|
|
109
109
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
110
|
-
0.9.26 (ruby-2.5
|
|
110
|
+
0.9.26 (ruby-2.6.5).
|
|
111
111
|
</div>
|
|
112
112
|
|
|
113
113
|
</div>
|
|
@@ -142,7 +142,88 @@
|
|
|
142
142
|
|
|
143
143
|
</ul>
|
|
144
144
|
|
|
145
|
+
<h2>
|
|
146
|
+
Instance Method Summary
|
|
147
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
148
|
+
</h2>
|
|
145
149
|
|
|
150
|
+
<ul class="summary">
|
|
151
|
+
|
|
152
|
+
<li class="public ">
|
|
153
|
+
<span class="summary_signature">
|
|
154
|
+
|
|
155
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(builder) ⇒ Base </a>
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
</span>
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
<span class="note title constructor">constructor</span>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
<span class="summary_desc"><div class='inline'><p>A new instance of Base.</p>
|
|
172
|
+
</div></span>
|
|
173
|
+
|
|
174
|
+
</li>
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
</ul>
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
<div id="constructor_details" class="method_details_list">
|
|
181
|
+
<h2>Constructor Details</h2>
|
|
182
|
+
|
|
183
|
+
<div class="method_details first">
|
|
184
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
185
|
+
|
|
186
|
+
#<strong>initialize</strong>(builder) ⇒ <tt><span class='object_link'><a href="" title="DropboxApi::Endpoints::Base (class)">Base</a></span></tt>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
</h3><div class="docstring">
|
|
193
|
+
<div class="discussion">
|
|
194
|
+
<p>Returns a new instance of Base.</p>
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
199
|
+
<div class="tags">
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
</div>
|
|
203
|
+
<table class="source_code">
|
|
204
|
+
<tr>
|
|
205
|
+
<td>
|
|
206
|
+
<pre class="lines">
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
4
|
|
210
|
+
5
|
|
211
|
+
6
|
|
212
|
+
7</pre>
|
|
213
|
+
</td>
|
|
214
|
+
<td>
|
|
215
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/base.rb', line 4</span>
|
|
216
|
+
|
|
217
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_builder'>builder</span><span class='rparen'>)</span>
|
|
218
|
+
<span class='ivar'>@builder</span> <span class='op'>=</span> <span class='id identifier rubyid_builder'>builder</span>
|
|
219
|
+
<span class='id identifier rubyid_build_connection'>build_connection</span>
|
|
220
|
+
<span class='kw'>end</span></pre>
|
|
221
|
+
</td>
|
|
222
|
+
</tr>
|
|
223
|
+
</table>
|
|
224
|
+
</div>
|
|
225
|
+
|
|
226
|
+
</div>
|
|
146
227
|
|
|
147
228
|
|
|
148
229
|
<div id="class_method_details" class="method_details_list">
|
|
@@ -165,13 +246,13 @@
|
|
|
165
246
|
<pre class="lines">
|
|
166
247
|
|
|
167
248
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
249
|
+
9
|
|
250
|
+
10
|
|
251
|
+
11
|
|
252
|
+
12</pre>
|
|
172
253
|
</td>
|
|
173
254
|
<td>
|
|
174
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/base.rb', line
|
|
255
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/base.rb', line 9</span>
|
|
175
256
|
|
|
176
257
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_add_endpoint'>add_endpoint</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
177
258
|
<span class='id identifier rubyid_define_method'>define_method</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
@@ -187,9 +268,9 @@
|
|
|
187
268
|
</div>
|
|
188
269
|
|
|
189
270
|
<div id="footer">
|
|
190
|
-
Generated on
|
|
271
|
+
Generated on Wed Sep 29 23:44:25 2021 by
|
|
191
272
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
192
|
-
0.9.26 (ruby-2.5
|
|
273
|
+
0.9.26 (ruby-2.6.5).
|
|
193
274
|
</div>
|
|
194
275
|
|
|
195
276
|
</div>
|