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,313 @@
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::Metadata::Member
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::Metadata::Member";
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 (M)</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="../Metadata.html" title="DropboxApi::Metadata (module)">Metadata</a></span></span>
41
+ &raquo;
42
+ <span class="title">Member</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::Metadata::Member
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="Base.html" title="DropboxApi::Metadata::Base (class)">Base</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::Metadata::Base (class)">Base</a></span></li>
78
+
79
+ <li class="next">DropboxApi::Metadata::Member</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/dropbox_api/metadata/member.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+ <p>Examples of serialized <span class='object_link'><a href="AddMember.html" title="DropboxApi::Metadata::AddMember (class)">AddMember</a></span> objects:</p>
107
+
108
+ <pre class="code json"><code class="json">[
109
+ {
110
+ &quot;.tag&quot;: &quot;email&quot;,
111
+ &quot;email&quot;: &quot;justin@example.com&quot;
112
+ }, {
113
+ &quot;.tag&quot;: &quot;dropbox_id&quot;,
114
+ &quot;dropbox_id&quot;: &quot;dbid:AAEufNrMPSPe0dMQijRP0N_aZtBJRm26W4Q&quot;
115
+ }
116
+ ]
117
+ </code></pre>
118
+
119
+
120
+ </div>
121
+ </div>
122
+ <div class="tags">
123
+
124
+
125
+ </div>
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+ <h2>
134
+ Instance Method Summary
135
+ <small><a href="#" class="summary_toggle">collapse</a></small>
136
+ </h2>
137
+
138
+ <ul class="summary">
139
+
140
+ <li class="public ">
141
+ <span class="summary_signature">
142
+
143
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(member) &#x21d2; Member </a>
144
+
145
+
146
+
147
+ </span>
148
+
149
+
150
+ <span class="note title constructor">constructor</span>
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+ <span class="summary_desc"><div class='inline'><p>A new instance of Member.</p>
160
+ </div></span>
161
+
162
+ </li>
163
+
164
+
165
+ <li class="public ">
166
+ <span class="summary_signature">
167
+
168
+ <a href="#to_hash-instance_method" title="#to_hash (instance method)">#<strong>to_hash</strong> &#x21d2; Object </a>
169
+
170
+
171
+
172
+ </span>
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+ <span class="summary_desc"><div class='inline'></div></span>
183
+
184
+ </li>
185
+
186
+
187
+ </ul>
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Base.html" title="DropboxApi::Metadata::Base (class)">Base</a></span></h3>
200
+ <p class="inherited"><span class='object_link'><a href="Base.html#field-class_method" title="DropboxApi::Metadata::Base.field (method)">field</a></span>, <span class='object_link'><a href="Base.html#serialized_field-instance_method" title="DropboxApi::Metadata::Base#serialized_field (method)">#serialized_field</a></span></p>
201
+ <div id="constructor_details" class="method_details_list">
202
+ <h2>Constructor Details</h2>
203
+
204
+ <div class="method_details first">
205
+ <h3 class="signature first" id="initialize-instance_method">
206
+
207
+ #<strong>initialize</strong>(member) &#x21d2; <tt><span class='object_link'><a href="" title="DropboxApi::Metadata::Member (class)">Member</a></span></tt>
208
+
209
+
210
+
211
+
212
+
213
+ </h3><div class="docstring">
214
+ <div class="discussion">
215
+ <p>Returns a new instance of Member</p>
216
+
217
+
218
+ </div>
219
+ </div>
220
+ <div class="tags">
221
+
222
+
223
+ </div>
224
+ <table class="source_code">
225
+ <tr>
226
+ <td>
227
+ <pre class="lines">
228
+
229
+
230
+ 16
231
+ 17
232
+ 18
233
+ 19
234
+ 20
235
+ 21
236
+ 22
237
+ 23
238
+ 24
239
+ 25
240
+ 26
241
+ 27</pre>
242
+ </td>
243
+ <td>
244
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/member.rb', line 16</span>
245
+
246
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
247
+ <span class='ivar'>@member_hash</span> <span class='op'>=</span> <span class='kw'>case</span> <span class='id identifier rubyid_member'>member</span>
248
+ <span class='kw'>when</span> <span class='const'>Hash</span>
249
+ <span class='id identifier rubyid_member'>member</span>
250
+ <span class='kw'>when</span> <span class='const'>String</span>
251
+ <span class='id identifier rubyid_hash_from_email_or_dropbox_id'>hash_from_email_or_dropbox_id</span> <span class='id identifier rubyid_member'>member</span>
252
+ <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::Member (class)">Member</a></span></span>
253
+ <span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span>
254
+ <span class='kw'>else</span>
255
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Invalid object for Member: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
256
+ <span class='kw'>end</span>
257
+ <span class='kw'>end</span></pre>
258
+ </td>
259
+ </tr>
260
+ </table>
261
+ </div>
262
+
263
+ </div>
264
+
265
+
266
+ <div id="instance_method_details" class="method_details_list">
267
+ <h2>Instance Method Details</h2>
268
+
269
+
270
+ <div class="method_details first">
271
+ <h3 class="signature first" id="to_hash-instance_method">
272
+
273
+ #<strong>to_hash</strong> &#x21d2; <tt>Object</tt>
274
+
275
+
276
+
277
+
278
+
279
+ </h3>
280
+ <table class="source_code">
281
+ <tr>
282
+ <td>
283
+ <pre class="lines">
284
+
285
+
286
+ 29
287
+ 30
288
+ 31</pre>
289
+ </td>
290
+ <td>
291
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/member.rb', line 29</span>
292
+
293
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_hash'>to_hash</span>
294
+ <span class='ivar'>@member_hash</span>
295
+ <span class='kw'>end</span></pre>
296
+ </td>
297
+ </tr>
298
+ </table>
299
+ </div>
300
+
301
+ </div>
302
+
303
+ </div>
304
+
305
+ <div id="footer">
306
+ Generated on Mon Nov 12 20:42:56 2018 by
307
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
308
+ 0.9.15 (ruby-2.3.3).
309
+ </div>
310
+
311
+ </div>
312
+ </body>
313
+ </html>
@@ -0,0 +1,274 @@
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::Metadata::MemberAction
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::Metadata::MemberAction";
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 (M)</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="../Metadata.html" title="DropboxApi::Metadata (module)">Metadata</a></span></span>
41
+ &raquo;
42
+ <span class="title">MemberAction</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::Metadata::MemberAction
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="Tag.html" title="DropboxApi::Metadata::Tag (class)">Tag</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::Metadata::Base (class)">Base</a></span></li>
78
+
79
+ <li class="next"><span class='object_link'><a href="Tag.html" title="DropboxApi::Metadata::Tag (class)">Tag</a></span></li>
80
+
81
+ <li class="next">DropboxApi::Metadata::MemberAction</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+ </dl>
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+ <dl>
100
+ <dt>Defined in:</dt>
101
+ <dd>lib/dropbox_api/metadata/member_action.rb</dd>
102
+ </dl>
103
+
104
+ </div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+ <p>An action will be one of the following:</p>
109
+
110
+ <ul>
111
+ <li><code>:leave_a_copy</code>: Allow the member to keep a copy of the folder when
112
+ removing.</li>
113
+ <li><code>:make_editor</code>: Make the member an editor of the folder.</li>
114
+ <li><code>:make_owner</code>: Make the member an owner of the folder.</li>
115
+ <li><code>:make_viewer</code>: Make the member a viewer of the folder.</li>
116
+ <li><code>:make_viewer_no_comment</code>: Make the member a viewer of the folder without
117
+ commenting permissions.</li>
118
+ <li><code>:remove</code>: Remove the member from the folder.</li>
119
+ </ul>
120
+
121
+ <p>Example of a serialized <span class='object_link'><a href="" title="DropboxApi::Metadata::MemberAction (class)">MemberAction</a></span> object:</p>
122
+
123
+ <pre class="code json"><code class="json">{
124
+ &quot;.tag&quot;: &quot;leave_a_copy&quot;
125
+ }
126
+ </code></pre>
127
+
128
+
129
+ </div>
130
+ </div>
131
+ <div class="tags">
132
+
133
+
134
+ </div>
135
+
136
+ <h2>
137
+ Constant Summary
138
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
139
+ </h2>
140
+
141
+ <dl class="constants">
142
+
143
+ <dt id="VALID_MEMBER_ACTIONS-constant" class="">VALID_MEMBER_ACTIONS =
144
+
145
+ </dt>
146
+ <dd><pre class="code"><span class='lbracket'>[</span>
147
+ <span class='symbol'>:leave_a_copy</span><span class='comma'>,</span>
148
+ <span class='symbol'>:make_editor</span><span class='comma'>,</span>
149
+ <span class='symbol'>:make_owner</span><span class='comma'>,</span>
150
+ <span class='symbol'>:make_viewer</span><span class='comma'>,</span>
151
+ <span class='symbol'>:make_viewer_no_comment</span><span class='comma'>,</span>
152
+ <span class='symbol'>:remove</span>
153
+ <span class='rbracket'>]</span></pre></dd>
154
+
155
+ </dl>
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+ <h2>
166
+ Class Method Summary
167
+ <small><a href="#" class="summary_toggle">collapse</a></small>
168
+ </h2>
169
+
170
+ <ul class="summary">
171
+
172
+ <li class="public ">
173
+ <span class="summary_signature">
174
+
175
+ <a href="#valid_values-class_method" title="valid_values (class method)">.<strong>valid_values</strong> &#x21d2; Object </a>
176
+
177
+
178
+
179
+ </span>
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+ <span class="summary_desc"><div class='inline'></div></span>
190
+
191
+ </li>
192
+
193
+
194
+ </ul>
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Tag.html" title="DropboxApi::Metadata::Tag (class)">Tag</a></span></h3>
207
+ <p class="inherited"><span class='object_link'><a href="Tag.html#new-class_method" title="DropboxApi::Metadata::Tag.new (method)">new</a></span>, <span class='object_link'><a href="Tag.html#validate-class_method" title="DropboxApi::Metadata::Tag.validate (method)">validate</a></span></p>
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Base.html" title="DropboxApi::Metadata::Base (class)">Base</a></span></h3>
218
+ <p class="inherited"><span class='object_link'><a href="Base.html#field-class_method" title="DropboxApi::Metadata::Base.field (method)">field</a></span>, <span class='object_link'><a href="Base.html#initialize-instance_method" title="DropboxApi::Metadata::Base#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Base.html#serialized_field-instance_method" title="DropboxApi::Metadata::Base#serialized_field (method)">#serialized_field</a></span>, <span class='object_link'><a href="Base.html#to_hash-instance_method" title="DropboxApi::Metadata::Base#to_hash (method)">#to_hash</a></span></p>
219
+ <div id="constructor_details" class="method_details_list">
220
+ <h2>Constructor Details</h2>
221
+
222
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="Base.html#initialize-instance_method" title="DropboxApi::Metadata::Base#initialize (method)">DropboxApi::Metadata::Base</a></span></p>
223
+
224
+ </div>
225
+
226
+
227
+ <div id="class_method_details" class="method_details_list">
228
+ <h2>Class Method Details</h2>
229
+
230
+
231
+ <div class="method_details first">
232
+ <h3 class="signature first" id="valid_values-class_method">
233
+
234
+ .<strong>valid_values</strong> &#x21d2; <tt>Object</tt>
235
+
236
+
237
+
238
+
239
+
240
+ </h3>
241
+ <table class="source_code">
242
+ <tr>
243
+ <td>
244
+ <pre class="lines">
245
+
246
+
247
+ 30
248
+ 31
249
+ 32</pre>
250
+ </td>
251
+ <td>
252
+ <pre class="code"><span class="info file"># File 'lib/dropbox_api/metadata/member_action.rb', line 30</span>
253
+
254
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_valid_values'>valid_values</span>
255
+ <span class='const'><span class='object_link'><a href="#VALID_MEMBER_ACTIONS-constant" title="DropboxApi::Metadata::MemberAction::VALID_MEMBER_ACTIONS (constant)">VALID_MEMBER_ACTIONS</a></span></span>
256
+ <span class='kw'>end</span></pre>
257
+ </td>
258
+ </tr>
259
+ </table>
260
+ </div>
261
+
262
+ </div>
263
+
264
+ </div>
265
+
266
+ <div id="footer">
267
+ Generated on Mon Nov 12 20:42:58 2018 by
268
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
269
+ 0.9.15 (ruby-2.3.3).
270
+ </div>
271
+
272
+ </div>
273
+ </body>
274
+ </html>