dropbox_api 0.1.14 → 0.1.15

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.
Files changed (268) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -1
  3. data/.yardopts +1 -0
  4. data/docs/DropboxApi.html +135 -0
  5. data/docs/DropboxApi/Authenticator.html +217 -0
  6. data/docs/DropboxApi/ChunkedUploader.html +409 -0
  7. data/docs/DropboxApi/Client.html +8747 -0
  8. data/docs/DropboxApi/ConnectionBuilder.html +326 -0
  9. data/docs/DropboxApi/Endpoints.html +119 -0
  10. data/docs/DropboxApi/Endpoints/Auth.html +115 -0
  11. data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +265 -0
  12. data/docs/DropboxApi/Endpoints/Base.html +197 -0
  13. data/docs/DropboxApi/Endpoints/ContentDownload.html +383 -0
  14. data/docs/DropboxApi/Endpoints/ContentUpload.html +351 -0
  15. data/docs/DropboxApi/Endpoints/Files.html +117 -0
  16. data/docs/DropboxApi/Endpoints/Files/Copy.html +323 -0
  17. data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +304 -0
  18. data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +320 -0
  19. data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +307 -0
  20. data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +305 -0
  21. data/docs/DropboxApi/Endpoints/Files/Delete.html +341 -0
  22. data/docs/DropboxApi/Endpoints/Files/Download.html +284 -0
  23. data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +376 -0
  24. data/docs/DropboxApi/Endpoints/Files/GetPreview.html +286 -0
  25. data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +286 -0
  26. data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +388 -0
  27. data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +431 -0
  28. data/docs/DropboxApi/Endpoints/Files/ListFolder.html +383 -0
  29. data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +298 -0
  30. data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +371 -0
  31. data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +360 -0
  32. data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +338 -0
  33. data/docs/DropboxApi/Endpoints/Files/Move.html +364 -0
  34. data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +337 -0
  35. data/docs/DropboxApi/Endpoints/Files/Restore.html +305 -0
  36. data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +324 -0
  37. data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +306 -0
  38. data/docs/DropboxApi/Endpoints/Files/Search.html +399 -0
  39. data/docs/DropboxApi/Endpoints/Files/Upload.html +439 -0
  40. data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +377 -0
  41. data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +328 -0
  42. data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +350 -0
  43. data/docs/DropboxApi/Endpoints/Rpc.html +353 -0
  44. data/docs/DropboxApi/Endpoints/RpcContent.html +236 -0
  45. data/docs/DropboxApi/Endpoints/RpcNotify.html +240 -0
  46. data/docs/DropboxApi/Endpoints/Sharing.html +117 -0
  47. data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +415 -0
  48. data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +400 -0
  49. data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +322 -0
  50. data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +344 -0
  51. data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +421 -0
  52. data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +400 -0
  53. data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +345 -0
  54. data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +428 -0
  55. data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +290 -0
  56. data/docs/DropboxApi/Endpoints/Users.html +117 -0
  57. data/docs/DropboxApi/Endpoints/Users/GetAccount.html +301 -0
  58. data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +303 -0
  59. data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +282 -0
  60. data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +282 -0
  61. data/docs/DropboxApi/Errors.html +117 -0
  62. data/docs/DropboxApi/Errors/AddFileMemberError.html +164 -0
  63. data/docs/DropboxApi/Errors/AddFolderMemberError.html +170 -0
  64. data/docs/DropboxApi/Errors/AddMemberSelectorError.html +165 -0
  65. data/docs/DropboxApi/Errors/AlreadySharedError.html +213 -0
  66. data/docs/DropboxApi/Errors/BadPathError.html +143 -0
  67. data/docs/DropboxApi/Errors/BasicError.html +356 -0
  68. data/docs/DropboxApi/Errors/CantCopySharedFolderError.html +143 -0
  69. data/docs/DropboxApi/Errors/CantMoveFolderIntoItselfError.html +143 -0
  70. data/docs/DropboxApi/Errors/CantNestSharedFolderError.html +143 -0
  71. data/docs/DropboxApi/Errors/CantShareOutsideTeamError.html +143 -0
  72. data/docs/DropboxApi/Errors/ContainsSharedFolderError.html +143 -0
  73. data/docs/DropboxApi/Errors/ConversionError.html +143 -0
  74. data/docs/DropboxApi/Errors/CreateFileRequestError.html +160 -0
  75. data/docs/DropboxApi/Errors/CreateFolderError.html +161 -0
  76. data/docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html +165 -0
  77. data/docs/DropboxApi/Errors/CursorClosedError.html +143 -0
  78. data/docs/DropboxApi/Errors/CursorNotClosedError.html +143 -0
  79. data/docs/DropboxApi/Errors/DeleteError.html +162 -0
  80. data/docs/DropboxApi/Errors/DisallowedNameError.html +143 -0
  81. data/docs/DropboxApi/Errors/DisallowedSharedLinkPolicyError.html +143 -0
  82. data/docs/DropboxApi/Errors/DownloadError.html +161 -0
  83. data/docs/DropboxApi/Errors/DownloadFailedError.html +143 -0
  84. data/docs/DropboxApi/Errors/EmailUnverifiedError.html +143 -0
  85. data/docs/DropboxApi/Errors/FileAncestorConflictError.html +143 -0
  86. data/docs/DropboxApi/Errors/FileConflictError.html +143 -0
  87. data/docs/DropboxApi/Errors/FileMemberActionError.html +164 -0
  88. data/docs/DropboxApi/Errors/FolderConflictError.html +143 -0
  89. data/docs/DropboxApi/Errors/GetAccountError.html +161 -0
  90. data/docs/DropboxApi/Errors/GetCopyReferenceError.html +161 -0
  91. data/docs/DropboxApi/Errors/GetMetadataError.html +161 -0
  92. data/docs/DropboxApi/Errors/GroupDeletedError.html +143 -0
  93. data/docs/DropboxApi/Errors/GroupNotOnTeamError.html +143 -0
  94. data/docs/DropboxApi/Errors/HttpError.html +124 -0
  95. data/docs/DropboxApi/Errors/InProgressError.html +143 -0
  96. data/docs/DropboxApi/Errors/InsideAppFolderError.html +143 -0
  97. data/docs/DropboxApi/Errors/InsideOsxPackageError.html +143 -0
  98. data/docs/DropboxApi/Errors/InsidePublicFolderError.html +143 -0
  99. data/docs/DropboxApi/Errors/InsideSharedFolderError.html +143 -0
  100. data/docs/DropboxApi/Errors/InsufficientPlanError.html +143 -0
  101. data/docs/DropboxApi/Errors/InsufficientSpaceError.html +143 -0
  102. data/docs/DropboxApi/Errors/InternalError.html +143 -0
  103. data/docs/DropboxApi/Errors/InvalidCommentError.html +143 -0
  104. data/docs/DropboxApi/Errors/InvalidCopyReferenceError.html +143 -0
  105. data/docs/DropboxApi/Errors/InvalidCursorError.html +143 -0
  106. data/docs/DropboxApi/Errors/InvalidDropboxIdError.html +143 -0
  107. data/docs/DropboxApi/Errors/InvalidEmailError.html +143 -0
  108. data/docs/DropboxApi/Errors/InvalidFileError.html +143 -0
  109. data/docs/DropboxApi/Errors/InvalidIdError.html +143 -0
  110. data/docs/DropboxApi/Errors/InvalidMemberError.html +143 -0
  111. data/docs/DropboxApi/Errors/InvalidPathError.html +143 -0
  112. data/docs/DropboxApi/Errors/InvalidRevisionError.html +143 -0
  113. data/docs/DropboxApi/Errors/InvalidSettingsError.html +143 -0
  114. data/docs/DropboxApi/Errors/InvalidUrlError.html +143 -0
  115. data/docs/DropboxApi/Errors/IsAppFolderError.html +143 -0
  116. data/docs/DropboxApi/Errors/IsFileError.html +143 -0
  117. data/docs/DropboxApi/Errors/IsFolderError.html +143 -0
  118. data/docs/DropboxApi/Errors/IsOsxPackageError.html +143 -0
  119. data/docs/DropboxApi/Errors/IsPublicFolderError.html +143 -0
  120. data/docs/DropboxApi/Errors/ListFolderContinueError.html +162 -0
  121. data/docs/DropboxApi/Errors/ListFolderError.html +161 -0
  122. data/docs/DropboxApi/Errors/ListFolderLongpollError.html +161 -0
  123. data/docs/DropboxApi/Errors/ListRevisionsError.html +161 -0
  124. data/docs/DropboxApi/Errors/ListSharedLinksError.html +162 -0
  125. data/docs/DropboxApi/Errors/LookupError.html +165 -0
  126. data/docs/DropboxApi/Errors/MalformedPathError.html +143 -0
  127. data/docs/DropboxApi/Errors/NoAccountError.html +143 -0
  128. data/docs/DropboxApi/Errors/NoPermissionError.html +143 -0
  129. data/docs/DropboxApi/Errors/NoWritePermissionError.html +143 -0
  130. data/docs/DropboxApi/Errors/NotAMemberError.html +143 -0
  131. data/docs/DropboxApi/Errors/NotFileError.html +143 -0
  132. data/docs/DropboxApi/Errors/NotFolderError.html +143 -0
  133. data/docs/DropboxApi/Errors/NotFoundError.html +143 -0
  134. data/docs/DropboxApi/Errors/PollError.html +162 -0
  135. data/docs/DropboxApi/Errors/PreviewError.html +164 -0
  136. data/docs/DropboxApi/Errors/RateLimitError.html +143 -0
  137. data/docs/DropboxApi/Errors/RelocationError.html +167 -0
  138. data/docs/DropboxApi/Errors/RestoreError.html +163 -0
  139. data/docs/DropboxApi/Errors/RestrictedContentError.html +143 -0
  140. data/docs/DropboxApi/Errors/SaveCopyReferenceError.html +165 -0
  141. data/docs/DropboxApi/Errors/SaveUrlError.html +164 -0
  142. data/docs/DropboxApi/Errors/SearchError.html +161 -0
  143. data/docs/DropboxApi/Errors/SettingsError.html +162 -0
  144. data/docs/DropboxApi/Errors/ShareFolderError.html +165 -0
  145. data/docs/DropboxApi/Errors/SharePathError.html +171 -0
  146. data/docs/DropboxApi/Errors/SharedFolderAccessError.html +164 -0
  147. data/docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html +143 -0
  148. data/docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html +143 -0
  149. data/docs/DropboxApi/Errors/SharedLinkError.html +163 -0
  150. data/docs/DropboxApi/Errors/SharedLinkNotFoundError.html +143 -0
  151. data/docs/DropboxApi/Errors/SharingFileAccessError.html +165 -0
  152. data/docs/DropboxApi/Errors/SharingUserError.html +161 -0
  153. data/docs/DropboxApi/Errors/TeamFolderError.html +143 -0
  154. data/docs/DropboxApi/Errors/TeamPolicyDisallowsMemberPolicyError.html +143 -0
  155. data/docs/DropboxApi/Errors/ThumbnailBatchError.html +161 -0
  156. data/docs/DropboxApi/Errors/ThumbnailError.html +164 -0
  157. data/docs/DropboxApi/Errors/TooManyFilesError.html +143 -0
  158. data/docs/DropboxApi/Errors/TooManyMembersError.html +143 -0
  159. data/docs/DropboxApi/Errors/TooManyPendingInvitesError.html +143 -0
  160. data/docs/DropboxApi/Errors/TooManyRequestsError.html +321 -0
  161. data/docs/DropboxApi/Errors/TooManySharedFolderTargetsError.html +143 -0
  162. data/docs/DropboxApi/Errors/TooManyWriteOperationsError.html +167 -0
  163. data/docs/DropboxApi/Errors/UnmountedError.html +143 -0
  164. data/docs/DropboxApi/Errors/UnshareFileError.html +162 -0
  165. data/docs/DropboxApi/Errors/UnsupportedContentError.html +143 -0
  166. data/docs/DropboxApi/Errors/UnsupportedExtensionError.html +143 -0
  167. data/docs/DropboxApi/Errors/UnsupportedImageError.html +143 -0
  168. data/docs/DropboxApi/Errors/UnsupportedLinkTypeError.html +143 -0
  169. data/docs/DropboxApi/Errors/UnverifiedDropboxId.html +143 -0
  170. data/docs/DropboxApi/Errors/UploadError.html +161 -0
  171. data/docs/DropboxApi/Errors/UploadSessionFinishError.html +163 -0
  172. data/docs/DropboxApi/Errors/UploadSessionLookupError.html +164 -0
  173. data/docs/DropboxApi/Errors/UploadSessionOffsetError.html +220 -0
  174. data/docs/DropboxApi/Errors/UploadWriteFailedError.html +161 -0
  175. data/docs/DropboxApi/Errors/WriteConflictError.html +163 -0
  176. data/docs/DropboxApi/Errors/WriteError.html +165 -0
  177. data/docs/DropboxApi/Metadata.html +117 -0
  178. data/docs/DropboxApi/Metadata/AccessLevel.html +259 -0
  179. data/docs/DropboxApi/Metadata/AddFileMemberResult.html +164 -0
  180. data/docs/DropboxApi/Metadata/AddMember.html +246 -0
  181. data/docs/DropboxApi/Metadata/Base.html +545 -0
  182. data/docs/DropboxApi/Metadata/BasicAccount.html +167 -0
  183. data/docs/DropboxApi/Metadata/CommitInfo.html +232 -0
  184. data/docs/DropboxApi/Metadata/Deleted.html +158 -0
  185. data/docs/DropboxApi/Metadata/Dimensions.html +140 -0
  186. data/docs/DropboxApi/Metadata/Field.html +358 -0
  187. data/docs/DropboxApi/Metadata/File.html +238 -0
  188. data/docs/DropboxApi/Metadata/FileLinkMetadata.html +180 -0
  189. data/docs/DropboxApi/Metadata/FileMemberAction.html +230 -0
  190. data/docs/DropboxApi/Metadata/FileRequest.html +167 -0
  191. data/docs/DropboxApi/Metadata/Folder.html +228 -0
  192. data/docs/DropboxApi/Metadata/FolderLinkMetadata.html +140 -0
  193. data/docs/DropboxApi/Metadata/FolderSharingInfo.html +156 -0
  194. data/docs/DropboxApi/Metadata/LinkPermissions.html +161 -0
  195. data/docs/DropboxApi/Metadata/Location.html +140 -0
  196. data/docs/DropboxApi/Metadata/MediaInfo.html +245 -0
  197. data/docs/DropboxApi/Metadata/MediaMetadata.html +237 -0
  198. data/docs/DropboxApi/Metadata/Member.html +313 -0
  199. data/docs/DropboxApi/Metadata/MemberAction.html +274 -0
  200. data/docs/DropboxApi/Metadata/MemberActionList.html +221 -0
  201. data/docs/DropboxApi/Metadata/MemberPermission.html +163 -0
  202. data/docs/DropboxApi/Metadata/MemberPermissionList.html +237 -0
  203. data/docs/DropboxApi/Metadata/Name.html +158 -0
  204. data/docs/DropboxApi/Metadata/ParentFolderAccessInfo.html +140 -0
  205. data/docs/DropboxApi/Metadata/PhotoMetadata.html +164 -0
  206. data/docs/DropboxApi/Metadata/Resource.html +207 -0
  207. data/docs/DropboxApi/Metadata/SharedFolder.html +165 -0
  208. data/docs/DropboxApi/Metadata/SharedFolderPolicy.html +156 -0
  209. data/docs/DropboxApi/Metadata/SharedLink.html +375 -0
  210. data/docs/DropboxApi/Metadata/SharedLinkMetadata.html +204 -0
  211. data/docs/DropboxApi/Metadata/SpaceAllocation.html +156 -0
  212. data/docs/DropboxApi/Metadata/SpaceUsage.html +159 -0
  213. data/docs/DropboxApi/Metadata/Tag.html +293 -0
  214. data/docs/DropboxApi/Metadata/Team.html +140 -0
  215. data/docs/DropboxApi/Metadata/TeamMemberInfo.html +160 -0
  216. data/docs/DropboxApi/Metadata/ThumbnailBatchResultData.html +140 -0
  217. data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +221 -0
  218. data/docs/DropboxApi/Metadata/UploadSessionCursor.html +226 -0
  219. data/docs/DropboxApi/Metadata/VideoMetadata.html +165 -0
  220. data/docs/DropboxApi/Metadata/WriteMode.html +439 -0
  221. data/docs/DropboxApi/MiddleWare.html +117 -0
  222. data/docs/DropboxApi/MiddleWare/DecodeResult.html +273 -0
  223. data/docs/DropboxApi/MiddleWare/Stack.html +452 -0
  224. data/docs/DropboxApi/OptionsValidator.html +234 -0
  225. data/docs/DropboxApi/ResultBuilder.html +570 -0
  226. data/docs/DropboxApi/Results.html +119 -0
  227. data/docs/DropboxApi/Results/AddFileMemberResultList.html +227 -0
  228. data/docs/DropboxApi/Results/Base.html +206 -0
  229. data/docs/DropboxApi/Results/BasicAccountBatch.html +205 -0
  230. data/docs/DropboxApi/Results/GetCopyReferenceResult.html +351 -0
  231. data/docs/DropboxApi/Results/GetTemporaryLinkResult.html +263 -0
  232. data/docs/DropboxApi/Results/GetThumbnailBatchResult.html +214 -0
  233. data/docs/DropboxApi/Results/ListFolderGetLatestCursorResult.html +210 -0
  234. data/docs/DropboxApi/Results/ListFolderLongpollResult.html +287 -0
  235. data/docs/DropboxApi/Results/ListFolderResult.html +368 -0
  236. data/docs/DropboxApi/Results/ListRevisionsResult.html +300 -0
  237. data/docs/DropboxApi/Results/ListSharedLinksResult.html +368 -0
  238. data/docs/DropboxApi/Results/SaveCopyReferenceResult.html +221 -0
  239. data/docs/DropboxApi/Results/SaveUrlJobStatus.html +230 -0
  240. data/docs/DropboxApi/Results/SaveUrlResult.html +227 -0
  241. data/docs/DropboxApi/Results/Search.html +115 -0
  242. data/docs/DropboxApi/Results/Search/Match.html +314 -0
  243. data/docs/DropboxApi/Results/SearchResult.html +368 -0
  244. data/docs/DropboxApi/Results/ShareFolderLaunch.html +205 -0
  245. data/docs/DropboxApi/Results/SharedFileMembers.html +369 -0
  246. data/docs/DropboxApi/Results/SharedFolderMembers.html +369 -0
  247. data/docs/DropboxApi/Results/UploadSessionStart.html +210 -0
  248. data/docs/DropboxApi/Results/VoidResult.html +140 -0
  249. data/docs/DropboxScaffoldBuilder.html +1117 -0
  250. data/docs/_index.html +1984 -0
  251. data/docs/class_list.html +51 -0
  252. data/docs/css/common.css +4 -0
  253. data/docs/css/full_list.css +58 -0
  254. data/docs/css/style.css +496 -0
  255. data/docs/file.README.html +257 -0
  256. data/docs/file.api_coverage.html +595 -0
  257. data/docs/file.rails_setup.html +152 -0
  258. data/docs/file_list.html +66 -0
  259. data/docs/frames.html +17 -0
  260. data/docs/index.html +257 -0
  261. data/docs/js/app.js +292 -0
  262. data/docs/js/full_list.js +216 -0
  263. data/docs/js/jquery.js +4 -0
  264. data/docs/method_list.html +1779 -0
  265. data/docs/top-level-namespace.html +112 -0
  266. data/lib/dropbox_api/chunked_uploader.rb +1 -0
  267. data/lib/dropbox_api/version.rb +1 -1
  268. metadata +264 -2
@@ -0,0 +1,377 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: DropboxApi::Endpoints::Files::UploadSessionAppendV2
8
+
9
+ &mdash; Documentation by YARD 0.9.15
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "DropboxApi::Endpoints::Files::UploadSessionAppendV2";
19
+ relpath = '../../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../../_index.html">Index (U)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../../DropboxApi.html" title="DropboxApi (module)">DropboxApi</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Endpoints.html" title="DropboxApi::Endpoints (module)">Endpoints</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Files.html" title="DropboxApi::Endpoints::Files (module)">Files</a></span></span>
41
+ &raquo;
42
+ <span class="title">UploadSessionAppendV2</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: DropboxApi::Endpoints::Files::UploadSessionAppendV2
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="../ContentUpload.html" title="DropboxApi::Endpoints::ContentUpload (class)">ContentUpload</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="../Base.html" title="DropboxApi::Endpoints::Base (class)">Base</a></span></li>
78
+
79
+ <li class="next"><span class='object_link'><a href="../ContentUpload.html" title="DropboxApi::Endpoints::ContentUpload (class)">ContentUpload</a></span></li>
80
+
81
+ <li class="next">DropboxApi::Endpoints::Files::UploadSessionAppendV2</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+ </dl>
88
+
89
+
90
+
91
+
92
+
93
+
94
+ <dl>
95
+ <dt>Includes:</dt>
96
+ <dd><span class='object_link'><a href="../../OptionsValidator.html" title="DropboxApi::OptionsValidator (module)">OptionsValidator</a></span></dd>
97
+ </dl>
98
+
99
+
100
+
101
+
102
+
103
+
104
+ <dl>
105
+ <dt>Defined in:</dt>
106
+ <dd>lib/dropbox_api/endpoints/files/upload_session_append_v2.rb</dd>
107
+ </dl>
108
+
109
+ </div>
110
+
111
+
112
+
113
+ <h2>
114
+ Constant Summary
115
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
116
+ </h2>
117
+
118
+ <dl class="constants">
119
+
120
+ <dt id="Method-constant" class="">Method =
121
+
122
+ </dt>
123
+ <dd><pre class="code"><span class='symbol'>:post</span></pre></dd>
124
+
125
+ <dt id="Path-constant" class="">Path =
126
+
127
+ </dt>
128
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/2/files/upload_session/append_v2</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
129
+
130
+ <dt id="ResultType-constant" class="">ResultType =
131
+
132
+ </dt>
133
+ <dd><pre class="code"><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="../../Results.html" title="DropboxApi::Results (module)">Results</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Results/VoidResult.html" title="DropboxApi::Results::VoidResult (class)">VoidResult</a></span></span></pre></dd>
134
+
135
+ <dt id="ErrorType-constant" class="">ErrorType =
136
+
137
+ </dt>
138
+ <dd><pre class="code"><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="../../Errors.html" title="DropboxApi::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Errors/UploadSessionLookupError.html" title="DropboxApi::Errors::UploadSessionLookupError (class)">UploadSessionLookupError</a></span></span></pre></dd>
139
+
140
+ </dl>
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+ <h2>
151
+ Instance Method Summary
152
+ <small><a href="#" class="summary_toggle">collapse</a></small>
153
+ </h2>
154
+
155
+ <ul class="summary">
156
+
157
+ <li class="public ">
158
+ <span class="summary_signature">
159
+
160
+ <a href="#upload_session_append_v2-instance_method" title="#upload_session_append_v2 (instance method)">#<strong>upload_session_append_v2</strong>(cursor, content, options = {}) &#x21d2; Object </a>
161
+
162
+
163
+
164
+ </span>
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+ <span class="summary_desc"><div class='inline'><p>Append more data to an upload session.</p>
175
+ </div></span>
176
+
177
+ </li>
178
+
179
+
180
+ </ul>
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="../../OptionsValidator.html" title="DropboxApi::OptionsValidator (module)">OptionsValidator</a></span></h3>
193
+ <p class="inherited"><span class='object_link'><a href="../../OptionsValidator.html#validate_options-instance_method" title="DropboxApi::OptionsValidator#validate_options (method)">#validate_options</a></span></p>
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../ContentUpload.html" title="DropboxApi::Endpoints::ContentUpload (class)">ContentUpload</a></span></h3>
204
+ <p class="inherited"><span class='object_link'><a href="../ContentUpload.html#build_request-instance_method" title="DropboxApi::Endpoints::ContentUpload#build_request (method)">#build_request</a></span>, <span class='object_link'><a href="../ContentUpload.html#initialize-instance_method" title="DropboxApi::Endpoints::ContentUpload#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../ContentUpload.html#perform_request-instance_method" title="DropboxApi::Endpoints::ContentUpload#perform_request (method)">#perform_request</a></span></p>
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="DropboxApi::Endpoints::Base (class)">Base</a></span></h3>
215
+ <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>
216
+ <div id="constructor_details" class="method_details_list">
217
+ <h2>Constructor Details</h2>
218
+
219
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../ContentUpload.html#initialize-instance_method" title="DropboxApi::Endpoints::ContentUpload#initialize (method)">DropboxApi::Endpoints::ContentUpload</a></span></p>
220
+
221
+ </div>
222
+
223
+
224
+ <div id="instance_method_details" class="method_details_list">
225
+ <h2>Instance Method Details</h2>
226
+
227
+
228
+ <div class="method_details first">
229
+ <h3 class="signature first" id="upload_session_append_v2-instance_method">
230
+
231
+ #<strong>upload_session_append_v2</strong>(cursor, content, options = {}) &#x21d2; <tt>Object</tt>
232
+
233
+
234
+
235
+
236
+
237
+ </h3><div class="docstring">
238
+ <div class="discussion">
239
+ <p>Append more data to an upload session.</p>
240
+
241
+ <p>When the parameter <code>close</code> is set, this call will close the session.</p>
242
+
243
+ <p>A single request should not upload more than 150 MB.</p>
244
+
245
+ <p>The maximum size of a file one can upload to an upload session is 350 GB.</p>
246
+
247
+ <p>Calling this method may update the cursor received. In particular, the
248
+ offset variable will be increased to match the new position. This allows
249
+ you to make subsequent calls to the endpoint using the same <code>cursor</code>, as
250
+ you can see in the example.</p>
251
+
252
+
253
+ </div>
254
+ </div>
255
+ <div class="tags">
256
+
257
+ <div class="examples">
258
+ <p class="tag_title">Examples:</p>
259
+
260
+
261
+ <pre class="example code"><code># Rely on the offset position updated by `upload_session_append_v2`
262
+ client = DropboxApi::Client.new
263
+ cursor = client.upload_session_start(&#39;abc&#39;) # cursor.offset =&gt; 3
264
+ client.upload_session_append_v2(cursor, &#39;def&#39;) # cursor.offset =&gt; 6
265
+ client.upload_session_append_v2(cursor, &#39;ghi&#39;) # cursor.offset =&gt; 9
266
+ client.upload_session_finish(...)</code></pre>
267
+
268
+ </div>
269
+ <p class="tag_title">Parameters:</p>
270
+ <ul class="param">
271
+
272
+ <li>
273
+
274
+ <span class='name'>cursor</span>
275
+
276
+
277
+ <span class='type'>(<tt><span class='object_link'><a href="../../Metadata/UploadSessionCursor.html" title="DropboxApi::Metadata::UploadSessionCursor (class)">DropboxApi::Metadata::UploadSessionCursor</a></span></tt>)</span>
278
+
279
+
280
+
281
+ &mdash;
282
+ <div class='inline'><p>Contains the
283
+ upload session ID and the offset. This cursor will have its offset
284
+ updated after a successful call.</p>
285
+ </div>
286
+
287
+ </li>
288
+
289
+ </ul>
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+ <p class="tag_title">Options Hash (<tt>options</tt>):</p>
299
+ <ul class="option">
300
+
301
+ <li>
302
+ <span class="name">close</span>
303
+ <span class="type">(<tt>Boolean</tt>)</span>
304
+ <span class="default">
305
+
306
+ </span>
307
+
308
+ &mdash; <div class='inline'><p>If <code>true</code>, the current session will be
309
+ closed, at which point you won&#39;t be able to call
310
+ <span class='object_link'><a href="../../Client.html#upload_session_append_v2-instance_method" title="DropboxApi::Client#upload_session_append_v2 (method)">Client#upload_session_append_v2</a></span> anymore with the current session.
311
+ The default for this field is <code>false</code>.</p>
312
+ </div>
313
+
314
+ </li>
315
+
316
+ </ul>
317
+
318
+
319
+
320
+ <p class="tag_title">See Also:</p>
321
+ <ul class="see">
322
+
323
+ <li>UploadSessionCursor</li>
324
+
325
+ </ul>
326
+
327
+ </div>
328
+ <table class="source_code">
329
+ <tr>
330
+ <td>
331
+ <pre class="lines">
332
+
333
+
334
+ 38
335
+ 39
336
+ 40
337
+ 41
338
+ 42
339
+ 43
340
+ 44
341
+ 45
342
+ 46
343
+ 47
344
+ 48</pre>
345
+ </td>
346
+ <td>
347
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/upload_session_append_v2.rb', line 38</span>
348
+
349
+ <span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:upload_session_append_v2</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_cursor'>cursor</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='op'>|</span>
350
+ <span class='id identifier rubyid_validate_options'>validate_options</span><span class='lparen'>(</span><span class='lbracket'>[</span>
351
+ <span class='symbol'>:close</span>
352
+ <span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
353
+
354
+ <span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span>
355
+ <span class='symbol'>:cursor</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_cursor'>cursor</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span>
356
+ <span class='rbrace'>}</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='rparen'>)</span>
357
+
358
+ <span class='id identifier rubyid_cursor'>cursor</span><span class='period'>.</span><span class='id identifier rubyid_offset'>offset</span> <span class='op'>+=</span> <span class='id identifier rubyid_content'>content</span><span class='period'>.</span><span class='id identifier rubyid_bytesize'>bytesize</span>
359
+ <span class='kw'>end</span></pre>
360
+ </td>
361
+ </tr>
362
+ </table>
363
+ </div>
364
+
365
+ </div>
366
+
367
+ </div>
368
+
369
+ <div id="footer">
370
+ Generated on Mon Nov 12 20:43:01 2018 by
371
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
372
+ 0.9.15 (ruby-2.3.3).
373
+ </div>
374
+
375
+ </div>
376
+ </body>
377
+ </html>
@@ -0,0 +1,328 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: DropboxApi::Endpoints::Files::UploadSessionFinish
8
+
9
+ &mdash; Documentation by YARD 0.9.15
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "DropboxApi::Endpoints::Files::UploadSessionFinish";
19
+ relpath = '../../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../../_index.html">Index (U)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../../DropboxApi.html" title="DropboxApi (module)">DropboxApi</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Endpoints.html" title="DropboxApi::Endpoints (module)">Endpoints</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Files.html" title="DropboxApi::Endpoints::Files (module)">Files</a></span></span>
41
+ &raquo;
42
+ <span class="title">UploadSessionFinish</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: DropboxApi::Endpoints::Files::UploadSessionFinish
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="../ContentUpload.html" title="DropboxApi::Endpoints::ContentUpload (class)">ContentUpload</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="../Base.html" title="DropboxApi::Endpoints::Base (class)">Base</a></span></li>
78
+
79
+ <li class="next"><span class='object_link'><a href="../ContentUpload.html" title="DropboxApi::Endpoints::ContentUpload (class)">ContentUpload</a></span></li>
80
+
81
+ <li class="next">DropboxApi::Endpoints::Files::UploadSessionFinish</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+ </dl>
88
+
89
+
90
+
91
+
92
+
93
+
94
+ <dl>
95
+ <dt>Includes:</dt>
96
+ <dd><span class='object_link'><a href="../../OptionsValidator.html" title="DropboxApi::OptionsValidator (module)">OptionsValidator</a></span></dd>
97
+ </dl>
98
+
99
+
100
+
101
+
102
+
103
+
104
+ <dl>
105
+ <dt>Defined in:</dt>
106
+ <dd>lib/dropbox_api/endpoints/files/upload_session_finish.rb</dd>
107
+ </dl>
108
+
109
+ </div>
110
+
111
+
112
+
113
+ <h2>
114
+ Constant Summary
115
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
116
+ </h2>
117
+
118
+ <dl class="constants">
119
+
120
+ <dt id="Method-constant" class="">Method =
121
+
122
+ </dt>
123
+ <dd><pre class="code"><span class='symbol'>:post</span></pre></dd>
124
+
125
+ <dt id="Path-constant" class="">Path =
126
+
127
+ </dt>
128
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/2/files/upload_session/finish</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
129
+
130
+ <dt id="ResultType-constant" class="">ResultType =
131
+
132
+ </dt>
133
+ <dd><pre class="code"><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="../../Metadata/File.html" title="DropboxApi::Metadata::File (class)">File</a></span></span></pre></dd>
134
+
135
+ <dt id="ErrorType-constant" class="">ErrorType =
136
+
137
+ </dt>
138
+ <dd><pre class="code"><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="../../Errors.html" title="DropboxApi::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Errors/UploadSessionFinishError.html" title="DropboxApi::Errors::UploadSessionFinishError (class)">UploadSessionFinishError</a></span></span></pre></dd>
139
+
140
+ </dl>
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+ <h2>
151
+ Instance Method Summary
152
+ <small><a href="#" class="summary_toggle">collapse</a></small>
153
+ </h2>
154
+
155
+ <ul class="summary">
156
+
157
+ <li class="public ">
158
+ <span class="summary_signature">
159
+
160
+ <a href="#upload_session_finish-instance_method" title="#upload_session_finish (instance method)">#<strong>upload_session_finish</strong>(cursor, commit, content = nil) &#x21d2; Object </a>
161
+
162
+
163
+
164
+ </span>
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+ <span class="summary_desc"><div class='inline'><p>Finish an upload session and save the uploaded data to the given file path.</p>
175
+ </div></span>
176
+
177
+ </li>
178
+
179
+
180
+ </ul>
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="../../OptionsValidator.html" title="DropboxApi::OptionsValidator (module)">OptionsValidator</a></span></h3>
193
+ <p class="inherited"><span class='object_link'><a href="../../OptionsValidator.html#validate_options-instance_method" title="DropboxApi::OptionsValidator#validate_options (method)">#validate_options</a></span></p>
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../ContentUpload.html" title="DropboxApi::Endpoints::ContentUpload (class)">ContentUpload</a></span></h3>
204
+ <p class="inherited"><span class='object_link'><a href="../ContentUpload.html#build_request-instance_method" title="DropboxApi::Endpoints::ContentUpload#build_request (method)">#build_request</a></span>, <span class='object_link'><a href="../ContentUpload.html#initialize-instance_method" title="DropboxApi::Endpoints::ContentUpload#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../ContentUpload.html#perform_request-instance_method" title="DropboxApi::Endpoints::ContentUpload#perform_request (method)">#perform_request</a></span></p>
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="DropboxApi::Endpoints::Base (class)">Base</a></span></h3>
215
+ <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>
216
+ <div id="constructor_details" class="method_details_list">
217
+ <h2>Constructor Details</h2>
218
+
219
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../ContentUpload.html#initialize-instance_method" title="DropboxApi::Endpoints::ContentUpload#initialize (method)">DropboxApi::Endpoints::ContentUpload</a></span></p>
220
+
221
+ </div>
222
+
223
+
224
+ <div id="instance_method_details" class="method_details_list">
225
+ <h2>Instance Method Details</h2>
226
+
227
+
228
+ <div class="method_details first">
229
+ <h3 class="signature first" id="upload_session_finish-instance_method">
230
+
231
+ #<strong>upload_session_finish</strong>(cursor, commit, content = nil) &#x21d2; <tt>Object</tt>
232
+
233
+
234
+
235
+
236
+
237
+ </h3><div class="docstring">
238
+ <div class="discussion">
239
+ <p>Finish an upload session and save the uploaded data to the given file
240
+ path.</p>
241
+
242
+ <p>A single request should not upload more than 150 MB.</p>
243
+
244
+ <p>The maximum size of a file one can upload to an upload session is 350 GB.</p>
245
+
246
+
247
+ </div>
248
+ </div>
249
+ <div class="tags">
250
+ <p class="tag_title">Parameters:</p>
251
+ <ul class="param">
252
+
253
+ <li>
254
+
255
+ <span class='name'>cursor</span>
256
+
257
+
258
+ <span class='type'>(<tt><span class='object_link'><a href="../../Metadata/UploadSessionCursor.html" title="DropboxApi::Metadata::UploadSessionCursor (class)">DropboxApi::Metadata::UploadSessionCursor</a></span></tt>)</span>
259
+
260
+
261
+
262
+ &mdash;
263
+ <div class='inline'><p>Contains the
264
+ upload session ID and the offset.</p>
265
+ </div>
266
+
267
+ </li>
268
+
269
+ <li>
270
+
271
+ <span class='name'>commit</span>
272
+
273
+
274
+ <span class='type'>(<tt><span class='object_link'><a href="../../Metadata/CommitInfo.html" title="DropboxApi::Metadata::CommitInfo (class)">DropboxApi::Metadata::CommitInfo</a></span></tt>)</span>
275
+
276
+
277
+
278
+ &mdash;
279
+ <div class='inline'><p>Contains the path and
280
+ other optional modifiers for the commit.</p>
281
+ </div>
282
+
283
+ </li>
284
+
285
+ </ul>
286
+
287
+
288
+ </div>
289
+ <table class="source_code">
290
+ <tr>
291
+ <td>
292
+ <pre class="lines">
293
+
294
+
295
+ 21
296
+ 22
297
+ 23
298
+ 24
299
+ 25
300
+ 26</pre>
301
+ </td>
302
+ <td>
303
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/upload_session_finish.rb', line 21</span>
304
+
305
+ <span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:upload_session_finish</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_cursor'>cursor</span><span class='comma'>,</span> <span class='id identifier rubyid_commit'>commit</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='op'>|</span>
306
+ <span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='lbrace'>{</span>
307
+ <span class='symbol'>:cursor</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_cursor'>cursor</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span><span class='comma'>,</span>
308
+ <span class='symbol'>:commit</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_commit'>commit</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span>
309
+ <span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='rparen'>)</span>
310
+ <span class='kw'>end</span></pre>
311
+ </td>
312
+ </tr>
313
+ </table>
314
+ </div>
315
+
316
+ </div>
317
+
318
+ </div>
319
+
320
+ <div id="footer">
321
+ Generated on Mon Nov 12 20:43:00 2018 by
322
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
323
+ 0.9.15 (ruby-2.3.3).
324
+ </div>
325
+
326
+ </div>
327
+ </body>
328
+ </html>