files.com 1.1.842 → 1.1.843

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 (460) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/_VERSION +1 -1
  4. data/doc/Files/APIConnectionError.html +1 -1
  5. data/doc/Files/APIError.html +1 -1
  6. data/doc/Files/AccountAlreadyExistsError.html +1 -1
  7. data/doc/Files/AccountLineItem.html +1 -1
  8. data/doc/Files/AccountOverdueError.html +1 -1
  9. data/doc/Files/Action.html +1 -1
  10. data/doc/Files/ActionLog.html +1 -1
  11. data/doc/Files/ActionNotificationExport.html +1 -1
  12. data/doc/Files/ActionNotificationExportResult.html +1 -1
  13. data/doc/Files/AdditionalAuthenticationRequiredError.html +1 -1
  14. data/doc/Files/AgentNode.html +1 -1
  15. data/doc/Files/AgentNodeConnection.html +1 -1
  16. data/doc/Files/AgentNodeInstance.html +1 -1
  17. data/doc/Files/AgentPushUpdate.html +1 -1
  18. data/doc/Files/AgentPushUpdateBlockedError.html +1 -1
  19. data/doc/Files/AgentUnavailableError.html +1 -1
  20. data/doc/Files/AgentUpgradeRequiredError.html +1 -1
  21. data/doc/Files/AiAssistantPersonality.html +1 -1
  22. data/doc/Files/AiTask.html +1 -1
  23. data/doc/Files/AiTaskCannotBeRunManuallyError.html +1 -1
  24. data/doc/Files/AlreadyCompletedError.html +1 -1
  25. data/doc/Files/Api.html +1 -1
  26. data/doc/Files/ApiClient/RequestLogContext.html +1 -1
  27. data/doc/Files/ApiClient/TransferSettings.html +1 -1
  28. data/doc/Files/ApiClient.html +1 -1
  29. data/doc/Files/ApiKey.html +1 -1
  30. data/doc/Files/ApiKeyIsDisabledError.html +1 -1
  31. data/doc/Files/ApiKeyIsPathRestrictedError.html +1 -1
  32. data/doc/Files/ApiKeyNotFoundError.html +1 -1
  33. data/doc/Files/ApiKeyOnlyForDesktopAppError.html +1 -1
  34. data/doc/Files/ApiKeyOnlyForFileOperationsError.html +1 -1
  35. data/doc/Files/ApiKeyOnlyForMobileAppError.html +1 -1
  36. data/doc/Files/ApiKeyOnlyForOfficeIntegrationError.html +1 -1
  37. data/doc/Files/ApiKeySessionsNotSupportedError.html +1 -1
  38. data/doc/Files/ApiRequestLog.html +1 -1
  39. data/doc/Files/App.html +1 -1
  40. data/doc/Files/As2IncomingMessage.html +1 -1
  41. data/doc/Files/As2OutgoingMessage.html +1 -1
  42. data/doc/Files/As2Partner.html +1 -1
  43. data/doc/Files/As2Station.html +1 -1
  44. data/doc/Files/AttachmentTooLargeError.html +1 -1
  45. data/doc/Files/AuthenticationError.html +1 -1
  46. data/doc/Files/AuthenticationRequiredError.html +1 -1
  47. data/doc/Files/Auto.html +1 -1
  48. data/doc/Files/Automation.html +1041 -408
  49. data/doc/Files/AutomationAuthoringSchema.html +1 -1
  50. data/doc/Files/AutomationCannotBeRunManuallyError.html +1 -1
  51. data/doc/Files/AutomationExecutionNode.html +1 -1
  52. data/doc/Files/AutomationLog.html +1 -1
  53. data/doc/Files/AutomationRun.html +335 -181
  54. data/doc/Files/AutomationVersion.html +1 -1
  55. data/doc/Files/AutomationsUnavailableError.html +1 -1
  56. data/doc/Files/BadRequestError.html +1 -1
  57. data/doc/Files/BandwidthSnapshot.html +1 -1
  58. data/doc/Files/Behavior.html +1 -1
  59. data/doc/Files/BehaviorNotAllowedOnRemoteServerError.html +1 -1
  60. data/doc/Files/BillingInformationHiddenError.html +1 -1
  61. data/doc/Files/BillingPermissionRequiredError.html +1 -1
  62. data/doc/Files/BufferedUploadDisabledForThisDestinationError.html +1 -1
  63. data/doc/Files/Bundle.html +1 -1
  64. data/doc/Files/BundleAction.html +1 -1
  65. data/doc/Files/BundleDownload.html +1 -1
  66. data/doc/Files/BundleMaximumUsesReachedError.html +1 -1
  67. data/doc/Files/BundleNotification.html +1 -1
  68. data/doc/Files/BundleOnlyAllowsPreviewsError.html +1 -1
  69. data/doc/Files/BundleOperationRequiresSubfolderError.html +1 -1
  70. data/doc/Files/BundlePath.html +1 -1
  71. data/doc/Files/BundlePathNotFoundError.html +1 -1
  72. data/doc/Files/BundlePermissionRequiredError.html +1 -1
  73. data/doc/Files/BundleRecipient.html +1 -1
  74. data/doc/Files/BundleRegistration.html +1 -1
  75. data/doc/Files/BundleRegistrationCodeFailedError.html +1 -1
  76. data/doc/Files/BundleRegistrationNotFoundError.html +1 -1
  77. data/doc/Files/CannotAdministerHigherLevelUserError.html +1 -1
  78. data/doc/Files/CannotDownloadDirectoryError.html +1 -1
  79. data/doc/Files/CannotLoginWhileUsingKeyError.html +1 -1
  80. data/doc/Files/CantActForOtherUserError.html +1 -1
  81. data/doc/Files/CantMoveWithMultipleLocationsError.html +1 -1
  82. data/doc/Files/Certificate.html +1 -1
  83. data/doc/Files/ChatMessage.html +1 -1
  84. data/doc/Files/ChatSession.html +1 -1
  85. data/doc/Files/ChildSiteManagementPolicy.html +1 -1
  86. data/doc/Files/Clickwrap.html +1 -1
  87. data/doc/Files/CodeNotFoundError.html +1 -1
  88. data/doc/Files/ConfigurationLockedPathError.html +1 -1
  89. data/doc/Files/ContactAdminForPasswordChangeHelpError.html +1 -1
  90. data/doc/Files/CouldNotCreateParentError.html +1 -1
  91. data/doc/Files/CustomDomain.html +1 -1
  92. data/doc/Files/DatabaseDestination.html +3858 -0
  93. data/doc/Files/DatetimeParseError.html +1 -1
  94. data/doc/Files/DesktopConfigurationProfile.html +1 -1
  95. data/doc/Files/DestinationExistsError.html +1 -1
  96. data/doc/Files/DestinationFolderLimitedError.html +1 -1
  97. data/doc/Files/DestinationParentConflictError.html +1 -1
  98. data/doc/Files/DestinationParentDoesNotExistError.html +1 -1
  99. data/doc/Files/DestinationSameError.html +1 -1
  100. data/doc/Files/DestinationSiteMismatchError.html +1 -1
  101. data/doc/Files/DirectConnectionInfo.html +1 -1
  102. data/doc/Files/DnsRecord.html +1 -1
  103. data/doc/Files/DoesNotSupportSortingError.html +1 -1
  104. data/doc/Files/DuplicateShareRecipientError.html +1 -1
  105. data/doc/Files/EmailIncomingMessage.html +1 -1
  106. data/doc/Files/EmailLog.html +1 -1
  107. data/doc/Files/Error.html +1 -1
  108. data/doc/Files/Errors.html +1 -1
  109. data/doc/Files/EventChannel.html +1 -1
  110. data/doc/Files/EventDeliveryAttempt.html +1 -1
  111. data/doc/Files/EventRecord.html +1 -1
  112. data/doc/Files/EventSubscription.html +1 -1
  113. data/doc/Files/EventTarget.html +1 -1
  114. data/doc/Files/ExavaultApiRequestLog.html +1 -1
  115. data/doc/Files/ExceededRuntimeLimitError.html +1 -1
  116. data/doc/Files/Expectation.html +1 -1
  117. data/doc/Files/ExpectationAlreadyHasOpenWindowError.html +1 -1
  118. data/doc/Files/ExpectationEvaluation.html +1 -1
  119. data/doc/Files/ExpectationIncident.html +1 -1
  120. data/doc/Files/ExpectationNotManualTriggerError.html +1 -1
  121. data/doc/Files/ExpiredPrivateKeyError.html +1 -1
  122. data/doc/Files/ExpiredPublicKeyError.html +1 -1
  123. data/doc/Files/ExportFailureError.html +1 -1
  124. data/doc/Files/ExportNotReadyError.html +1 -1
  125. data/doc/Files/ExternalEvent.html +1 -1
  126. data/doc/Files/FailedToChangePasswordError.html +1 -1
  127. data/doc/Files/File.html +1 -1
  128. data/doc/Files/FileAction.html +1 -1
  129. data/doc/Files/FileActionError.html +1 -1
  130. data/doc/Files/FileComment.html +1 -1
  131. data/doc/Files/FileCommentReaction.html +1 -1
  132. data/doc/Files/FileLockedError.html +1 -1
  133. data/doc/Files/FileMigration.html +1 -1
  134. data/doc/Files/FileMigrationLog.html +1 -1
  135. data/doc/Files/FileNotFoundError.html +1 -1
  136. data/doc/Files/FileNotUploadedError.html +1 -1
  137. data/doc/Files/FilePendingProcessingError.html +1 -1
  138. data/doc/Files/FileProcessingErrorError.html +1 -1
  139. data/doc/Files/FileTooBigToDecryptError.html +1 -1
  140. data/doc/Files/FileTooBigToEncryptError.html +1 -1
  141. data/doc/Files/FileUploadNotFoundError.html +1 -1
  142. data/doc/Files/FileUploadPart.html +1 -1
  143. data/doc/Files/FileUploadedToWrongRegionError.html +1 -1
  144. data/doc/Files/FileUtils.html +1 -1
  145. data/doc/Files/FilenameTooLongError.html +1 -1
  146. data/doc/Files/FilesAgentFailedAuthorizationError.html +1 -1
  147. data/doc/Files/FilesNativeStorageOverloadedError.html +1 -1
  148. data/doc/Files/Folder.html +1 -1
  149. data/doc/Files/FolderAdminOrBillingPermissionRequiredError.html +1 -1
  150. data/doc/Files/FolderAdminPermissionRequiredError.html +1 -1
  151. data/doc/Files/FolderLockedError.html +1 -1
  152. data/doc/Files/FolderMustNotBeAFileError.html +1 -1
  153. data/doc/Files/FolderNotEmptyError.html +1 -1
  154. data/doc/Files/FoldersNotAllowedError.html +1 -1
  155. data/doc/Files/FormField.html +1 -1
  156. data/doc/Files/FormFieldSet.html +3 -3
  157. data/doc/Files/FtpActionLog.html +1 -1
  158. data/doc/Files/FullPermissionRequiredError.html +1 -1
  159. data/doc/Files/GpgKey.html +1 -1
  160. data/doc/Files/Group.html +1 -1
  161. data/doc/Files/GroupNotFoundError.html +1 -1
  162. data/doc/Files/GroupUser.html +1 -1
  163. data/doc/Files/History.html +1 -1
  164. data/doc/Files/HistoryExport.html +1 -1
  165. data/doc/Files/HistoryExportResult.html +1 -1
  166. data/doc/Files/HistoryPermissionRequiredError.html +1 -1
  167. data/doc/Files/HistoryUnavailableError.html +1 -1
  168. data/doc/Files/HolidayCalendar.html +1 -1
  169. data/doc/Files/HolidayRegion.html +1 -1
  170. data/doc/Files/Image.html +1 -1
  171. data/doc/Files/InAppAiAssistantUnavailableError.html +1 -1
  172. data/doc/Files/InboundS3Log.html +1 -1
  173. data/doc/Files/InboxNotFoundError.html +1 -1
  174. data/doc/Files/InboxRecipient.html +1 -1
  175. data/doc/Files/InboxRegistration.html +1 -1
  176. data/doc/Files/InboxRegistrationCodeFailedError.html +1 -1
  177. data/doc/Files/InboxUpload.html +1 -1
  178. data/doc/Files/InsufficientPermissionForParamsError.html +1 -1
  179. data/doc/Files/InsufficientPermissionForSiteError.html +1 -1
  180. data/doc/Files/IntegrationCentricProfile.html +1 -1
  181. data/doc/Files/InternalGeneralErrorError.html +1 -1
  182. data/doc/Files/InvalidBodyError.html +1 -1
  183. data/doc/Files/InvalidBundleCodeError.html +1 -1
  184. data/doc/Files/InvalidCredentialsError.html +1 -1
  185. data/doc/Files/InvalidCursorError.html +1 -1
  186. data/doc/Files/InvalidCursorTypeForSortError.html +1 -1
  187. data/doc/Files/InvalidEtagsError.html +1 -1
  188. data/doc/Files/InvalidFileTypeError.html +1 -1
  189. data/doc/Files/InvalidFilenameError.html +1 -1
  190. data/doc/Files/InvalidFilterAliasCombinationError.html +1 -1
  191. data/doc/Files/InvalidFilterFieldError.html +1 -1
  192. data/doc/Files/InvalidFilterParamError.html +1 -1
  193. data/doc/Files/InvalidFilterParamFormatError.html +1 -1
  194. data/doc/Files/InvalidFilterParamValueError.html +1 -1
  195. data/doc/Files/InvalidInputEncodingError.html +1 -1
  196. data/doc/Files/InvalidInterfaceError.html +1 -1
  197. data/doc/Files/InvalidOauthError.html +1 -1
  198. data/doc/Files/InvalidOauthProviderError.html +1 -1
  199. data/doc/Files/InvalidOrExpiredCodeError.html +1 -1
  200. data/doc/Files/InvalidParameterError.html +1 -1
  201. data/doc/Files/InvalidPathError.html +1 -1
  202. data/doc/Files/InvalidPriorityColorError.html +1 -1
  203. data/doc/Files/InvalidRangeError.html +1 -1
  204. data/doc/Files/InvalidReturnToUrlError.html +1 -1
  205. data/doc/Files/InvalidSearchQueryError.html +1 -1
  206. data/doc/Files/InvalidSessionError.html +1 -1
  207. data/doc/Files/InvalidSiteError.html +1 -1
  208. data/doc/Files/InvalidSortFieldError.html +1 -1
  209. data/doc/Files/InvalidSortFilterCombinationError.html +1 -1
  210. data/doc/Files/InvalidUploadOffsetError.html +1 -1
  211. data/doc/Files/InvalidUploadPartGapError.html +1 -1
  212. data/doc/Files/InvalidUploadPartSizeError.html +1 -1
  213. data/doc/Files/InvalidUsernameOrPasswordError.html +1 -1
  214. data/doc/Files/InvalidWorkspaceIdHeaderError.html +1 -1
  215. data/doc/Files/InvalidZipFileError.html +1 -1
  216. data/doc/Files/Invoice.html +1 -1
  217. data/doc/Files/InvoiceLineItem.html +1 -1
  218. data/doc/Files/IpAddress.html +1 -1
  219. data/doc/Files/KeyLifecycleRule.html +1 -1
  220. data/doc/Files/List.html +1 -1
  221. data/doc/Files/Lock.html +1 -1
  222. data/doc/Files/LockOperationBusyError.html +1 -1
  223. data/doc/Files/LockedOutError.html +1 -1
  224. data/doc/Files/LockoutRegionMismatchError.html +1 -1
  225. data/doc/Files/MetadataCategory.html +1 -1
  226. data/doc/Files/MetadataNotSupportedOnRemotesError.html +1 -1
  227. data/doc/Files/MethodNotAllowedError.html +1 -1
  228. data/doc/Files/MigrationInProgressError.html +1 -1
  229. data/doc/Files/MissingParameterError.html +1 -1
  230. data/doc/Files/ModelSaveErrorError.html +1 -1
  231. data/doc/Files/MoverAccessDeniedError.html +1 -1
  232. data/doc/Files/MoverPackageRequiredError.html +1 -1
  233. data/doc/Files/MultipleProcessingErrorsError.html +1 -1
  234. data/doc/Files/MultipleSortParamsNotAllowedError.html +1 -1
  235. data/doc/Files/MustAuthenticateWithApiKeyError.html +1 -1
  236. data/doc/Files/NeedAdminPermissionForInboxError.html +1 -1
  237. data/doc/Files/NestedNotFoundError.html +1 -1
  238. data/doc/Files/NoAccountForSiteError.html +1 -1
  239. data/doc/Files/NoValidInputParamsError.html +1 -1
  240. data/doc/Files/NonAdminsMustQueryByFolderOrPathError.html +1 -1
  241. data/doc/Files/NotAllowedToCreateBundleError.html +1 -1
  242. data/doc/Files/NotAuthenticatedError.html +1 -1
  243. data/doc/Files/NotAuthorizedError.html +1 -1
  244. data/doc/Files/NotEnqueuableSyncError.html +1 -1
  245. data/doc/Files/NotFoundError.html +1 -1
  246. data/doc/Files/NotImplementedError.html +1 -1
  247. data/doc/Files/Notification.html +1 -1
  248. data/doc/Files/OffsetUploadNotAllowedWithMalwareScanningError.html +1 -1
  249. data/doc/Files/OneTimePasswordIncorrectError.html +1 -1
  250. data/doc/Files/OutboundConnectionLog.html +1 -1
  251. data/doc/Files/PartNumberTooLargeError.html +1 -1
  252. data/doc/Files/Partner.html +1 -1
  253. data/doc/Files/PartnerChannel.html +1 -1
  254. data/doc/Files/PartnerChannelTemplate.html +1 -1
  255. data/doc/Files/PartnerChannelUploadForm.html +1 -1
  256. data/doc/Files/PartnerConnection.html +1 -1
  257. data/doc/Files/PartnerSite.html +1 -1
  258. data/doc/Files/PartnerSiteRequest.html +1 -1
  259. data/doc/Files/PasswordChangeNotRequiredError.html +1 -1
  260. data/doc/Files/PasswordChangeRequiredError.html +1 -1
  261. data/doc/Files/PathCannotHaveTrailingWhitespaceError.html +1 -1
  262. data/doc/Files/PathTooLongError.html +1 -1
  263. data/doc/Files/PathUtil.html +1 -1
  264. data/doc/Files/Payment.html +1 -1
  265. data/doc/Files/PaymentLineItem.html +1 -1
  266. data/doc/Files/PaymentMethodErrorError.html +1 -1
  267. data/doc/Files/PendingWorkEvent.html +1 -1
  268. data/doc/Files/Permission.html +1 -1
  269. data/doc/Files/PlanNotFoundError.html +1 -1
  270. data/doc/Files/Preview.html +1 -1
  271. data/doc/Files/PreviewOnlyPermissionCannotDownloadError.html +1 -1
  272. data/doc/Files/ProcessingFailureError.html +1 -1
  273. data/doc/Files/PublicHostingRequestLog.html +1 -1
  274. data/doc/Files/PublicIpAddress.html +1 -1
  275. data/doc/Files/PublicKey.html +1 -1
  276. data/doc/Files/RateLimitedError.html +1 -1
  277. data/doc/Files/ReadOnlySessionError.html +1 -1
  278. data/doc/Files/ReadPermissionRequiredError.html +1 -1
  279. data/doc/Files/ReauthenticationFailedError.html +1 -1
  280. data/doc/Files/ReauthenticationFailedFinalError.html +1 -1
  281. data/doc/Files/ReauthenticationNeededActionError.html +1 -1
  282. data/doc/Files/ReauthenticationNeededFieldsError.html +1 -1
  283. data/doc/Files/ReauthenticationRateLimitedError.html +1 -1
  284. data/doc/Files/RecaptchaFailedError.html +1 -1
  285. data/doc/Files/RecipientAlreadySharedError.html +1 -1
  286. data/doc/Files/RemoteBandwidthSnapshot.html +1 -1
  287. data/doc/Files/RemoteDesktopDebugLoggingDisabledError.html +1 -1
  288. data/doc/Files/RemoteEntryReadOnlyError.html +1 -1
  289. data/doc/Files/RemoteMountBackend.html +1 -1
  290. data/doc/Files/RemoteServer.html +1 -1
  291. data/doc/Files/RemoteServerConfigurationFile.html +1 -1
  292. data/doc/Files/RemoteServerCredential.html +1 -1
  293. data/doc/Files/RemoteServerErrorError.html +1 -1
  294. data/doc/Files/Request.html +1 -1
  295. data/doc/Files/RequestBodyTooLargeError.html +1 -1
  296. data/doc/Files/RequestParamsContainInvalidCharacterError.html +1 -1
  297. data/doc/Files/RequestParamsInvalidError.html +1 -1
  298. data/doc/Files/RequestParamsRequiredError.html +1 -1
  299. data/doc/Files/ResourceBelongsToParentSiteError.html +1 -1
  300. data/doc/Files/ResourceLockedError.html +1 -1
  301. data/doc/Files/Response.html +1 -1
  302. data/doc/Files/Restore.html +1 -1
  303. data/doc/Files/RootFolderBehaviorSiteAdminRequiredError.html +1 -1
  304. data/doc/Files/RootFolderBehaviorSkipSiteAdminRequiredError.html +1 -1
  305. data/doc/Files/Schedule.html +1 -1
  306. data/doc/Files/ScheduledExport.html +1 -1
  307. data/doc/Files/ScimLog.html +1 -1
  308. data/doc/Files/SearchAllOnChildPathError.html +1 -1
  309. data/doc/Files/SearchQueryTooShortError.html +1 -1
  310. data/doc/Files/SearchTimedOutError.html +1 -1
  311. data/doc/Files/SearchUnavailableError.html +1 -1
  312. data/doc/Files/Secret.html +1 -1
  313. data/doc/Files/SelfManagedRequiredError.html +1 -1
  314. data/doc/Files/ServiceUnavailableError.html +1 -1
  315. data/doc/Files/Session.html +1 -1
  316. data/doc/Files/SettingsChange.html +1 -1
  317. data/doc/Files/SftpActionLog.html +1 -1
  318. data/doc/Files/SftpHostKey.html +1 -1
  319. data/doc/Files/ShareGroup.html +1 -1
  320. data/doc/Files/ShareGroupMember.html +1 -1
  321. data/doc/Files/SharedWorkflow.html +2237 -0
  322. data/doc/Files/SiemHttpDestination.html +1 -1
  323. data/doc/Files/SiemHttpDestinationEvent.html +1 -1
  324. data/doc/Files/Site.html +1 -1
  325. data/doc/Files/SiteAdminOrPartnerAdminPermissionRequiredError.html +1 -1
  326. data/doc/Files/SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError.html +1 -1
  327. data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequiredError.html +1 -1
  328. data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequiredError.html +1 -1
  329. data/doc/Files/SiteAdminOrWorkspaceAdminPermissionRequiredError.html +1 -1
  330. data/doc/Files/SiteAdminRequiredError.html +1 -1
  331. data/doc/Files/SiteConfigurationError.html +1 -1
  332. data/doc/Files/SiteDisabledError.html +1 -1
  333. data/doc/Files/SiteFilesAreImmutableError.html +1 -1
  334. data/doc/Files/SiteNotFoundError.html +1 -1
  335. data/doc/Files/SiteSubdomainRedirect.html +1 -1
  336. data/doc/Files/SiteWasRemovedError.html +1 -1
  337. data/doc/Files/SizableIO.html +1 -1
  338. data/doc/Files/Snapshot.html +328 -143
  339. data/doc/Files/SsoEvent.html +1 -1
  340. data/doc/Files/SsoStrategy.html +1 -1
  341. data/doc/Files/Status.html +1 -1
  342. data/doc/Files/Style.html +1 -1
  343. data/doc/Files/SubfolderLockedError.html +1 -1
  344. data/doc/Files/Sync.html +1 -1
  345. data/doc/Files/SyncInProgressError.html +1 -1
  346. data/doc/Files/SyncLog.html +1 -1
  347. data/doc/Files/SyncRun.html +1 -1
  348. data/doc/Files/SyncRunLiveTransfer.html +1 -1
  349. data/doc/Files/SystemProfiler.html +1 -1
  350. data/doc/Files/TooManyConcurrentLoginsError.html +1 -1
  351. data/doc/Files/TooManyConcurrentRequestsError.html +1 -1
  352. data/doc/Files/TooManyLoginAttemptsError.html +1 -1
  353. data/doc/Files/TooManyRequestsError.html +1 -1
  354. data/doc/Files/TooManySharesError.html +1 -1
  355. data/doc/Files/Transfer/Attempts.html +1 -1
  356. data/doc/Files/Transfer/BufferLimitError.html +1 -1
  357. data/doc/Files/Transfer/ByteBudget/Reservation.html +1 -1
  358. data/doc/Files/Transfer/ByteBudget.html +1 -1
  359. data/doc/Files/Transfer/CancelledError.html +1 -1
  360. data/doc/Files/Transfer/Checkpoint.html +1 -1
  361. data/doc/Files/Transfer/CheckpointError.html +1 -1
  362. data/doc/Files/Transfer/ClientTransport/ClientResponse.html +1 -1
  363. data/doc/Files/Transfer/ClientTransport/Reader.html +1 -1
  364. data/doc/Files/Transfer/ClientTransport.html +1 -1
  365. data/doc/Files/Transfer/Clock.html +1 -1
  366. data/doc/Files/Transfer/Control.html +1 -1
  367. data/doc/Files/Transfer/Controller/Attempt.html +1 -1
  368. data/doc/Files/Transfer/Controller.html +1 -1
  369. data/doc/Files/Transfer/Coordinator/Timing.html +1 -1
  370. data/doc/Files/Transfer/Coordinator.html +1 -1
  371. data/doc/Files/Transfer/DownloadCoordinator/FileSink.html +1 -1
  372. data/doc/Files/Transfer/DownloadCoordinator/IoSink.html +1 -1
  373. data/doc/Files/Transfer/DownloadCoordinator/Piece.html +1 -1
  374. data/doc/Files/Transfer/DownloadCoordinator.html +1 -1
  375. data/doc/Files/Transfer/DownloadDate.html +1 -1
  376. data/doc/Files/Transfer/FileSlots.html +1 -1
  377. data/doc/Files/Transfer/FrontendResponseError.html +1 -1
  378. data/doc/Files/Transfer/Holds.html +1 -1
  379. data/doc/Files/Transfer/HttpTransport.html +1 -1
  380. data/doc/Files/Transfer/Job.html +1 -1
  381. data/doc/Files/Transfer/Options.html +1 -1
  382. data/doc/Files/Transfer/PausedError.html +1 -1
  383. data/doc/Files/Transfer/Policy.html +1 -1
  384. data/doc/Files/Transfer/RequestPermits.html +1 -1
  385. data/doc/Files/Transfer/SourceChangedError.html +1 -1
  386. data/doc/Files/Transfer/StorageResponse.html +1 -1
  387. data/doc/Files/Transfer/StorageRetry.html +1 -1
  388. data/doc/Files/Transfer/UploadCoordinator/Grant.html +1 -1
  389. data/doc/Files/Transfer/UploadCoordinator/Part.html +1 -1
  390. data/doc/Files/Transfer/UploadCoordinator/Region.html +1 -1
  391. data/doc/Files/Transfer/UploadCoordinator/Segments.html +1 -1
  392. data/doc/Files/Transfer/UploadCoordinator/Source.html +1 -1
  393. data/doc/Files/Transfer/UploadCoordinator/StreamSource.html +1 -1
  394. data/doc/Files/Transfer/UploadCoordinator.html +1 -1
  395. data/doc/Files/Transfer/UploadPlan.html +1 -1
  396. data/doc/Files/Transfer/UrlExpired.html +1 -1
  397. data/doc/Files/Transfer/VersionChangedError.html +1 -1
  398. data/doc/Files/Transfer.html +1 -1
  399. data/doc/Files/TrialExpiredError.html +1 -1
  400. data/doc/Files/TrialLockedError.html +1 -1
  401. data/doc/Files/TwoFactorAuthenticationCodeAlreadySentError.html +1 -1
  402. data/doc/Files/TwoFactorAuthenticationCountryBlacklistedError.html +1 -1
  403. data/doc/Files/TwoFactorAuthenticationErrorError.html +1 -1
  404. data/doc/Files/TwoFactorAuthenticationGeneralErrorError.html +1 -1
  405. data/doc/Files/TwoFactorAuthenticationMethodUnsupportedErrorError.html +1 -1
  406. data/doc/Files/TwoFactorAuthenticationRequiredError.html +1 -1
  407. data/doc/Files/TwoFactorAuthenticationSetupExpiredError.html +1 -1
  408. data/doc/Files/TwoFactorAuthenticationUnsubscribedRecipientError.html +1 -1
  409. data/doc/Files/URI.html +1 -1
  410. data/doc/Files/UnrecognizedSortIndexError.html +1 -1
  411. data/doc/Files/UnsupportedHttpResponseFormatError.html +1 -1
  412. data/doc/Files/UnsupportedMediaTypeError.html +1 -1
  413. data/doc/Files/UpdatesNotAllowedForRemotesError.html +1 -1
  414. data/doc/Files/UploadFinalization.html +1 -1
  415. data/doc/Files/UploadsUnavailableError.html +1 -1
  416. data/doc/Files/UsageByTopLevelDir.html +1 -1
  417. data/doc/Files/UsageDailySnapshot.html +1 -1
  418. data/doc/Files/UsageSnapshot.html +1 -1
  419. data/doc/Files/User.html +1 -1
  420. data/doc/Files/UserAdditionalEmailRecipient.html +1 -1
  421. data/doc/Files/UserCipherUse.html +1 -1
  422. data/doc/Files/UserIdInvalidError.html +1 -1
  423. data/doc/Files/UserIdOnUserEndpointError.html +1 -1
  424. data/doc/Files/UserIdWithoutSiteAdminError.html +1 -1
  425. data/doc/Files/UserLifecycleRule.html +1 -1
  426. data/doc/Files/UserNotFoundError.html +1 -1
  427. data/doc/Files/UserRequest.html +1 -1
  428. data/doc/Files/UserRequestsEnabledRequiredError.html +1 -1
  429. data/doc/Files/UserRequiredError.html +1 -1
  430. data/doc/Files/UserSecurityEvent.html +1 -1
  431. data/doc/Files/UserSftpClientUse.html +1 -1
  432. data/doc/Files/Util/LogSettings.html +1 -1
  433. data/doc/Files/Util.html +1 -1
  434. data/doc/Files/WebDavActionLog.html +1 -1
  435. data/doc/Files/WebhookTest.html +1 -1
  436. data/doc/Files/Workspace.html +1 -1
  437. data/doc/Files/WriteAndBundlePermissionRequiredError.html +1 -1
  438. data/doc/Files/WritePermissionRequiredError.html +1 -1
  439. data/doc/Files/ZipListEntry.html +1 -1
  440. data/doc/Files.html +103 -103
  441. data/doc/_index.html +15 -1
  442. data/doc/class_list.html +1 -1
  443. data/doc/file.README.html +1 -1
  444. data/doc/index.html +1 -1
  445. data/doc/method_list.html +3101 -2669
  446. data/doc/top-level-namespace.html +1 -1
  447. data/docs/automation.md +30 -0
  448. data/docs/automation_run.md +10 -6
  449. data/docs/database_destination.md +148 -0
  450. data/docs/form_field_set.md +1 -1
  451. data/docs/shared_workflow.md +118 -0
  452. data/docs/snapshot.md +6 -2
  453. data/lib/files.com/models/automation.rb +57 -0
  454. data/lib/files.com/models/automation_run.rb +28 -16
  455. data/lib/files.com/models/database_destination.rb +315 -0
  456. data/lib/files.com/models/form_field_set.rb +1 -1
  457. data/lib/files.com/models/shared_workflow.rb +182 -0
  458. data/lib/files.com/models/snapshot.rb +15 -0
  459. data/lib/files.com.rb +2 -0
  460. metadata +7 -1
@@ -0,0 +1,2237 @@
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: Files::SharedWorkflow
8
+
9
+ &mdash; Documentation by YARD 0.9.45
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css">
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css">
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Files::SharedWorkflow";
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 id="main_progress" aria-hidden="true"></div>
31
+
32
+ <div class="nav_wrap">
33
+ <iframe id="nav" src="../class_list.html?1"></iframe>
34
+ <div id="resizer"></div>
35
+ </div>
36
+
37
+ <div id="main" tabindex="-1">
38
+ <div id="header">
39
+ <div id="menu">
40
+
41
+ <a href="../_index.html">Index (S)</a> &raquo;
42
+ <span class='title'><span class='object_link'><a href="../Files.html" title="Files (module)">Files</a></span></span>
43
+ &raquo;
44
+ <span class="title">SharedWorkflow</span>
45
+
46
+ </div>
47
+
48
+ <div id="search">
49
+
50
+ <a class="full_list_link" id="class_list_link"
51
+ href="../class_list.html">
52
+
53
+ <svg width="24" height="24">
54
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
55
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
56
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
57
+ </svg>
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <div id="content"><h1>Class: Files::SharedWorkflow
65
+
66
+
67
+
68
+ </h1>
69
+ <div class="box_info">
70
+
71
+ <dl>
72
+ <dt>Inherits:</dt>
73
+ <dd>
74
+ <span class="inheritName">Object</span>
75
+
76
+ <ul class="fullTree">
77
+ <li>Object</li>
78
+
79
+ <li class="next">Files::SharedWorkflow</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/files.com/models/shared_workflow.rb
100
+ </dd>
101
+ </dl>
102
+
103
+ </div>
104
+
105
+ <h2>Overview</h2><div class="docstring">
106
+ <div class="discussion">
107
+ <p>Files::SharedWorkflow is the Ruby SDK's representation of Files.com API SharedWorkflow objects.
108
+ Each instance keeps its API field values in <code>attributes</code>.</p>
109
+
110
+ </div>
111
+ </div>
112
+ <div class="tags">
113
+
114
+
115
+ </div>
116
+
117
+
118
+
119
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
120
+ <ul class="summary">
121
+
122
+ <li class="public ">
123
+ <span class="summary_signature">
124
+
125
+ <a href="#attributes-instance_method" title="#attributes (instance method)">#<strong>attributes</strong> &#x21d2; Hash </a>
126
+
127
+
128
+
129
+ </span>
130
+
131
+
132
+
133
+
134
+ <span class="note title readonly">readonly</span>
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+ <span class="summary_desc"><div class='inline'><p>API field values keyed by Symbol.</p></div></span>
145
+
146
+ </li>
147
+
148
+
149
+ <li class="public ">
150
+ <span class="summary_signature">
151
+
152
+ <a href="#options-instance_method" title="#options (instance method)">#<strong>options</strong> &#x21d2; Hash </a>
153
+
154
+
155
+
156
+ </span>
157
+
158
+
159
+
160
+
161
+ <span class="note title readonly">readonly</span>
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+ <span class="summary_desc"><div class='inline'><p>Request configuration retained for later operations on this record.</p></div></span>
172
+
173
+ </li>
174
+
175
+
176
+ </ul>
177
+
178
+
179
+
180
+
181
+
182
+ <h2>
183
+ Class Method Summary
184
+ <small><a href="#" class="summary_toggle">collapse</a></small>
185
+ </h2>
186
+
187
+ <ul class="summary">
188
+
189
+ <li class="public ">
190
+ <span class="summary_signature">
191
+
192
+ <a href="#all-class_method" title="all (class method)">.<strong>all</strong>(params = {}, options = {}) &#x21d2; Files::List </a>
193
+
194
+
195
+
196
+ </span>
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+ <span class="summary_desc"><div class='inline'><p>List Shared Workflows.</p></div></span>
207
+
208
+ </li>
209
+
210
+
211
+ <li class="public ">
212
+ <span class="summary_signature">
213
+
214
+ <a href="#find-class_method" title="find (class method)">.<strong>find</strong>(id, params = {}, options = {}) &#x21d2; Files::SharedWorkflow </a>
215
+
216
+
217
+
218
+ </span>
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+ <span class="summary_desc"><div class='inline'><p>Show Shared Workflow.</p></div></span>
229
+
230
+ </li>
231
+
232
+
233
+ <li class="public ">
234
+ <span class="summary_signature">
235
+
236
+ <a href="#find_run-class_method" title="find_run (class method)">.<strong>find_run</strong>(id, run_id, params = {}, options = {}) &#x21d2; Files::AutomationRun </a>
237
+
238
+
239
+
240
+ </span>
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+ <span class="summary_desc"><div class='inline'><p>Show a Shared Workflow run started by the recipient.</p></div></span>
251
+
252
+ </li>
253
+
254
+
255
+ <li class="public ">
256
+ <span class="summary_signature">
257
+
258
+ <a href="#get-class_method" title="get (class method)">.<strong>get</strong>(id, params = {}, options = {}) &#x21d2; Files::SharedWorkflow </a>
259
+
260
+
261
+
262
+ </span>
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+ <span class="summary_desc"><div class='inline'><p>Show Shared Workflow.</p></div></span>
273
+
274
+ </li>
275
+
276
+
277
+ <li class="public ">
278
+ <span class="summary_signature">
279
+
280
+ <a href="#list-class_method" title="list (class method)">.<strong>list</strong>(params = {}, options = {}) &#x21d2; Files::List </a>
281
+
282
+
283
+
284
+ </span>
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+ <span class="summary_desc"><div class='inline'><p>List Shared Workflows.</p></div></span>
295
+
296
+ </li>
297
+
298
+
299
+ <li class="public ">
300
+ <span class="summary_signature">
301
+
302
+ <a href="#run_workflow-class_method" title="run_workflow (class method)">.<strong>run_workflow</strong>(id, params = {}, options = {}) &#x21d2; Files::AutomationRun </a>
303
+
304
+
305
+
306
+ </span>
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+ <span class="summary_desc"><div class='inline'><p>Run a Shared Workflow.</p></div></span>
317
+
318
+ </li>
319
+
320
+
321
+ </ul>
322
+
323
+
324
+ <h2>
325
+ Instance Method Summary
326
+ <small><a href="#" class="summary_toggle">collapse</a></small>
327
+ </h2>
328
+
329
+ <ul class="summary">
330
+
331
+ <li class="public ">
332
+ <span class="summary_signature">
333
+
334
+ <a href="#description-instance_method" title="#description (instance method)">#<strong>description</strong> &#x21d2; String<sup>?</sup> </a>
335
+
336
+
337
+
338
+ </span>
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+ <span class="summary_desc"><div class='inline'><p>Description displayed to recipients.</p></div></span>
349
+
350
+ </li>
351
+
352
+
353
+ <li class="public ">
354
+ <span class="summary_signature">
355
+
356
+ <a href="#form_fields-instance_method" title="#form_fields (instance method)">#<strong>form_fields</strong> &#x21d2; Array&lt;Hash&gt;<sup>?</sup> </a>
357
+
358
+
359
+
360
+ </span>
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+ <span class="summary_desc"><div class='inline'><p>Current custom questions in display order.</p></div></span>
371
+
372
+ </li>
373
+
374
+
375
+ <li class="public ">
376
+ <span class="summary_signature">
377
+
378
+ <a href="#id-instance_method" title="#id (instance method)">#<strong>id</strong> &#x21d2; Integer<sup>?</sup> </a>
379
+
380
+
381
+
382
+ </span>
383
+
384
+
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+ <span class="summary_desc"><div class='inline'><p>Shared Workflow ID.</p></div></span>
393
+
394
+ </li>
395
+
396
+
397
+ <li class="public ">
398
+ <span class="summary_signature">
399
+
400
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(attributes = {}, options = {}) &#x21d2; SharedWorkflow </a>
401
+
402
+
403
+
404
+ </span>
405
+
406
+
407
+ <span class="note title constructor">constructor</span>
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+ <span class="summary_desc"><div class='inline'><p>Builds a local record without sending an API request.</p></div></span>
417
+
418
+ </li>
419
+
420
+
421
+ <li class="public ">
422
+ <span class="summary_signature">
423
+
424
+ <a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> &#x21d2; String<sup>?</sup> </a>
425
+
426
+
427
+
428
+ </span>
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
+ <span class="summary_desc"><div class='inline'><p>Name displayed to recipients.</p></div></span>
439
+
440
+ </li>
441
+
442
+
443
+ <li class="public ">
444
+ <span class="summary_signature">
445
+
446
+ <a href="#run_workflow-instance_method" title="#run_workflow (instance method)">#<strong>run_workflow</strong>(params = {}) &#x21d2; Array(Files::Response, Hash) </a>
447
+
448
+
449
+
450
+ </span>
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+ <span class="summary_desc"><div class='inline'><p>Run a Shared Workflow.</p></div></span>
461
+
462
+ </li>
463
+
464
+
465
+ <li class="public ">
466
+ <span class="summary_signature">
467
+
468
+ <a href="#submission_revision-instance_method" title="#submission_revision (instance method)">#<strong>submission_revision</strong> &#x21d2; String<sup>?</sup> </a>
469
+
470
+
471
+
472
+ </span>
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+ <span class="summary_desc"><div class='inline'><p>Revision required when submitting a Shared Workflow run.</p></div></span>
483
+
484
+ </li>
485
+
486
+
487
+ </ul>
488
+
489
+
490
+
491
+ <div id="constructor_details" class="method_details_list">
492
+ <h2>Constructor Details</h2>
493
+
494
+ <div class="method_details first">
495
+ <h3 class="signature first" id="initialize-instance_method">
496
+
497
+ #<strong>initialize</strong>(attributes = {}, options = {}) &#x21d2; <tt><span class='object_link'><a href="" title="Files::SharedWorkflow (class)">SharedWorkflow</a></span></tt>
498
+
499
+
500
+
501
+
502
+
503
+ </h3><div class="docstring">
504
+ <div class="discussion">
505
+ <p>Builds a local record without sending an API request.</p>
506
+
507
+ </div>
508
+ </div>
509
+ <div class="tags">
510
+ <p class="tag_title">Parameters:</p>
511
+ <ul class="param">
512
+
513
+ <li>
514
+
515
+ <span class='name'>attributes</span>
516
+
517
+
518
+ <span class='type'>(<tt>Hash</tt>)</span>
519
+
520
+
521
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
522
+
523
+
524
+ &mdash;
525
+ <div class='inline'><p>API field values keyed by Symbol.</p></div>
526
+
527
+ </li>
528
+
529
+ <li>
530
+
531
+ <span class='name'>options</span>
532
+
533
+
534
+ <span class='type'>(<tt>Hash</tt>)</span>
535
+
536
+
537
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
538
+
539
+
540
+ &mdash;
541
+ <div class='inline'><p>request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Api.send_request</a></span>.</p></div>
542
+
543
+ </li>
544
+
545
+ </ul>
546
+
547
+
548
+ </div><table class="source_code">
549
+ <tr>
550
+ <td>
551
+ <pre class="lines">
552
+
553
+
554
+ 15
555
+ 16
556
+ 17
557
+ 18</pre>
558
+ </td>
559
+ <td>
560
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 15</span>
561
+
562
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_attributes'>attributes</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</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='rparen'>)</span>
563
+ <span class='ivar'>@attributes</span> <span class='op'>=</span> <span class='id identifier rubyid_attributes'>attributes</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
564
+ <span class='ivar'>@options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
565
+ <span class='kw'>end</span></pre>
566
+ </td>
567
+ </tr>
568
+ </table>
569
+ </div>
570
+
571
+ </div>
572
+
573
+ <div id="instance_attr_details" class="attr_details">
574
+ <h2>Instance Attribute Details</h2>
575
+
576
+
577
+ <span id=""></span>
578
+ <div class="method_details first">
579
+ <h3 class="signature first" id="attributes-instance_method">
580
+
581
+ #<strong>attributes</strong> &#x21d2; <tt>Hash</tt> <span class="extras">(readonly)</span>
582
+
583
+
584
+
585
+
586
+
587
+ </h3><div class="docstring">
588
+ <div class="discussion">
589
+ <p>Returns API field values keyed by Symbol.</p>
590
+
591
+ </div>
592
+ </div>
593
+ <div class="tags">
594
+
595
+ <p class="tag_title">Returns:</p>
596
+ <ul class="return">
597
+
598
+ <li>
599
+
600
+
601
+ <span class='type'>(<tt>Hash</tt>)</span>
602
+
603
+
604
+
605
+ &mdash;
606
+ <div class='inline'><p>API field values keyed by Symbol.</p></div>
607
+
608
+ </li>
609
+
610
+ </ul>
611
+
612
+ </div><table class="source_code">
613
+ <tr>
614
+ <td>
615
+ <pre class="lines">
616
+
617
+
618
+ 10
619
+ 11
620
+ 12</pre>
621
+ </td>
622
+ <td>
623
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 10</span>
624
+
625
+ <span class='kw'>def</span> <span class='id identifier rubyid_attributes'>attributes</span>
626
+ <span class='ivar'>@attributes</span>
627
+ <span class='kw'>end</span></pre>
628
+ </td>
629
+ </tr>
630
+ </table>
631
+ </div>
632
+
633
+
634
+ <span id=""></span>
635
+ <div class="method_details ">
636
+ <h3 class="signature " id="options-instance_method">
637
+
638
+ #<strong>options</strong> &#x21d2; <tt>Hash</tt> <span class="extras">(readonly)</span>
639
+
640
+
641
+
642
+
643
+
644
+ </h3><div class="docstring">
645
+ <div class="discussion">
646
+ <p>Returns request configuration retained for later operations on this record.</p>
647
+
648
+ </div>
649
+ </div>
650
+ <div class="tags">
651
+
652
+ <p class="tag_title">Returns:</p>
653
+ <ul class="return">
654
+
655
+ <li>
656
+
657
+
658
+ <span class='type'>(<tt>Hash</tt>)</span>
659
+
660
+
661
+
662
+ &mdash;
663
+ <div class='inline'><p>request configuration retained for later operations on this record.</p></div>
664
+
665
+ </li>
666
+
667
+ </ul>
668
+
669
+ </div><table class="source_code">
670
+ <tr>
671
+ <td>
672
+ <pre class="lines">
673
+
674
+
675
+ 8
676
+ 9
677
+ 10</pre>
678
+ </td>
679
+ <td>
680
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 8</span>
681
+
682
+ <span class='kw'>def</span> <span class='id identifier rubyid_options'>options</span>
683
+ <span class='ivar'>@options</span>
684
+ <span class='kw'>end</span></pre>
685
+ </td>
686
+ </tr>
687
+ </table>
688
+ </div>
689
+
690
+ </div>
691
+
692
+
693
+ <div id="class_method_details" class="method_details_list">
694
+ <h2>Class Method Details</h2>
695
+
696
+
697
+ <div class="method_details first">
698
+ <h3 class="signature first" id="all-class_method">
699
+
700
+ .<strong>all</strong>(params = {}, options = {}) &#x21d2; <tt><span class='object_link'><a href="List.html" title="Files::List (class)">Files::List</a></span></tt>
701
+
702
+
703
+
704
+
705
+
706
+ </h3><div class="docstring">
707
+ <div class="discussion">
708
+ <p>List Shared Workflows</p>
709
+
710
+ </div>
711
+ </div>
712
+ <div class="tags">
713
+ <p class="tag_title">Parameters:</p>
714
+ <ul class="param">
715
+
716
+ <li>
717
+
718
+ <span class='name'>params</span>
719
+
720
+
721
+ <span class='type'>(<tt>Hash</tt>)</span>
722
+
723
+
724
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
725
+
726
+
727
+ &mdash;
728
+ <div class='inline'><p>API parameters, keyed by Symbol.</p></div>
729
+
730
+ </li>
731
+
732
+ <li>
733
+
734
+ <span class='name'>options</span>
735
+
736
+
737
+ <span class='type'>(<tt>Hash</tt>)</span>
738
+
739
+
740
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
741
+
742
+
743
+ &mdash;
744
+ <div class='inline'><p>Request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Api.send_request</a></span>.</p></div>
745
+
746
+ </li>
747
+
748
+ </ul>
749
+
750
+
751
+
752
+
753
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
754
+ <ul class="option">
755
+
756
+ <li>
757
+ <span class="name">cursor</span>
758
+ <span class="type">(<tt>String</tt>)</span>
759
+ <span class="default">
760
+
761
+ </span>
762
+
763
+ &mdash; <div class='inline'><p>Used for pagination. When a list request has more records available, cursors are provided in the response headers <code>X-Files-Cursor-Next</code> and <code>X-Files-Cursor-Prev</code>. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.</p></div>
764
+
765
+ </li>
766
+
767
+ <li>
768
+ <span class="name">per_page</span>
769
+ <span class="type">(<tt>Integer</tt>)</span>
770
+ <span class="default">
771
+
772
+ </span>
773
+
774
+ &mdash; <div class='inline'><p>Number of records to show per page. (Max: 10000, 1,000 or less is recommended).</p></div>
775
+
776
+ </li>
777
+
778
+ <li>
779
+ <span class="name">sort_by</span>
780
+ <span class="type">(<tt>Hash</tt>)</span>
781
+ <span class="default">
782
+
783
+ </span>
784
+
785
+ &mdash; <div class='inline'><p>If set, sort records by the specified field in either <code>asc</code> or <code>desc</code> direction. Valid fields are .</p></div>
786
+
787
+ </li>
788
+
789
+ </ul>
790
+
791
+
792
+
793
+
794
+ <p class="tag_title">Returns:</p>
795
+ <ul class="return">
796
+
797
+ <li>
798
+
799
+
800
+ <span class='type'>(<tt><span class='object_link'><a href="List.html" title="Files::List (class)">Files::List</a></span></tt>)</span>
801
+
802
+
803
+
804
+ &mdash;
805
+ <div class='inline'><p>a lazy first page; use #auto_paging_each to visit every page.</p></div>
806
+
807
+ </li>
808
+
809
+ </ul>
810
+ <p class="tag_title">Raises:</p>
811
+ <ul class="raise">
812
+
813
+ <li>
814
+
815
+
816
+ <span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
817
+
818
+
819
+
820
+ &mdash;
821
+ <div class='inline'><p>if a required parameter is missing.</p></div>
822
+
823
+ </li>
824
+
825
+ <li>
826
+
827
+
828
+ <span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
829
+
830
+
831
+
832
+ &mdash;
833
+ <div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
834
+
835
+ </li>
836
+
837
+ <li>
838
+
839
+
840
+ <span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
841
+
842
+
843
+
844
+ &mdash;
845
+ <div class='inline'><p>if the API request fails.</p></div>
846
+
847
+ </li>
848
+
849
+ </ul>
850
+
851
+ </div><table class="source_code">
852
+ <tr>
853
+ <td>
854
+ <pre class="lines">
855
+
856
+
857
+ 103
858
+ 104
859
+ 105</pre>
860
+ </td>
861
+ <td>
862
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 103</span>
863
+
864
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_all'>all</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</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='rparen'>)</span>
865
+ <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
866
+ <span class='kw'>end</span></pre>
867
+ </td>
868
+ </tr>
869
+ </table>
870
+ </div>
871
+
872
+ <div class="method_details ">
873
+ <h3 class="signature " id="find-class_method">
874
+
875
+ .<strong>find</strong>(id, params = {}, options = {}) &#x21d2; <tt><span class='object_link'><a href="" title="Files::SharedWorkflow (class)">Files::SharedWorkflow</a></span></tt>
876
+
877
+
878
+
879
+
880
+
881
+ </h3><div class="docstring">
882
+ <div class="discussion">
883
+ <p>Show Shared Workflow</p>
884
+
885
+ </div>
886
+ </div>
887
+ <div class="tags">
888
+ <p class="tag_title">Parameters:</p>
889
+ <ul class="param">
890
+
891
+ <li>
892
+
893
+ <span class='name'>id</span>
894
+
895
+
896
+ <span class='type'>(<tt>Integer</tt>)</span>
897
+
898
+
899
+
900
+ &mdash;
901
+ <div class='inline'><p>Shared Workflow ID.</p></div>
902
+
903
+ </li>
904
+
905
+ <li>
906
+
907
+ <span class='name'>params</span>
908
+
909
+
910
+ <span class='type'>(<tt>Hash</tt>)</span>
911
+
912
+
913
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
914
+
915
+
916
+ &mdash;
917
+ <div class='inline'><p>API parameters, keyed by Symbol.</p></div>
918
+
919
+ </li>
920
+
921
+ <li>
922
+
923
+ <span class='name'>options</span>
924
+
925
+
926
+ <span class='type'>(<tt>Hash</tt>)</span>
927
+
928
+
929
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
930
+
931
+
932
+ &mdash;
933
+ <div class='inline'><p>Request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Api.send_request</a></span>.</p></div>
934
+
935
+ </li>
936
+
937
+ </ul>
938
+
939
+ <p class="tag_title">Returns:</p>
940
+ <ul class="return">
941
+
942
+ <li>
943
+
944
+
945
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Files::SharedWorkflow (class)">Files::SharedWorkflow</a></span></tt>)</span>
946
+
947
+
948
+
949
+ &mdash;
950
+ <div class='inline'><p>the returned record.</p></div>
951
+
952
+ </li>
953
+
954
+ </ul>
955
+ <p class="tag_title">Raises:</p>
956
+ <ul class="raise">
957
+
958
+ <li>
959
+
960
+
961
+ <span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
962
+
963
+
964
+
965
+ &mdash;
966
+ <div class='inline'><p>if a required parameter is missing.</p></div>
967
+
968
+ </li>
969
+
970
+ <li>
971
+
972
+
973
+ <span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
974
+
975
+
976
+
977
+ &mdash;
978
+ <div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
979
+
980
+ </li>
981
+
982
+ <li>
983
+
984
+
985
+ <span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
986
+
987
+
988
+
989
+ &mdash;
990
+ <div class='inline'><p>if the API request fails.</p></div>
991
+
992
+ </li>
993
+
994
+ </ul>
995
+
996
+ </div><table class="source_code">
997
+ <tr>
998
+ <td>
999
+ <pre class="lines">
1000
+
1001
+
1002
+ 116
1003
+ 117
1004
+ 118
1005
+ 119
1006
+ 120
1007
+ 121
1008
+ 122
1009
+ 123
1010
+ 124</pre>
1011
+ </td>
1012
+ <td>
1013
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 116</span>
1014
+
1015
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</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='rparen'>)</span>
1016
+ <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
1017
+ <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_id'>id</span>
1018
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: id must be an Integer</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Integer</span><span class='rparen'>)</span>
1019
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Parameter missing: id</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1020
+
1021
+ <span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Api.html" title="Files::Api (class)">Api</a></span></span><span class='period'>.</span><span class='id identifier rubyid_send_request'><span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">send_request</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/shared_workflows/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='symbol'>:get</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_reply'>reply</span><span class='op'>|</span> <span class='id identifier rubyid_reply'>reply</span><span class='period'>.</span><span class='id identifier rubyid_require_object'>require_object</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>SharedWorkflow</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='rbrace'>}</span>
1022
+ <span class='const'><span class='object_link'><a href="" title="Files::SharedWorkflow (class)">SharedWorkflow</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Files::SharedWorkflow#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
1023
+ <span class='kw'>end</span></pre>
1024
+ </td>
1025
+ </tr>
1026
+ </table>
1027
+ </div>
1028
+
1029
+ <div class="method_details ">
1030
+ <h3 class="signature " id="find_run-class_method">
1031
+
1032
+ .<strong>find_run</strong>(id, run_id, params = {}, options = {}) &#x21d2; <tt><span class='object_link'><a href="AutomationRun.html" title="Files::AutomationRun (class)">Files::AutomationRun</a></span></tt>
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+ </h3><div class="docstring">
1039
+ <div class="discussion">
1040
+ <p>Show a Shared Workflow run started by the recipient</p>
1041
+
1042
+ </div>
1043
+ </div>
1044
+ <div class="tags">
1045
+ <p class="tag_title">Parameters:</p>
1046
+ <ul class="param">
1047
+
1048
+ <li>
1049
+
1050
+ <span class='name'>id</span>
1051
+
1052
+
1053
+ <span class='type'>(<tt>Integer</tt>)</span>
1054
+
1055
+
1056
+
1057
+ &mdash;
1058
+ <div class='inline'><p>Shared Workflow ID.</p></div>
1059
+
1060
+ </li>
1061
+
1062
+ <li>
1063
+
1064
+ <span class='name'>run_id</span>
1065
+
1066
+
1067
+ <span class='type'>(<tt>Integer</tt>)</span>
1068
+
1069
+
1070
+
1071
+ &mdash;
1072
+ <div class='inline'><p>ID of the run returned by the Shared Workflow submission.</p></div>
1073
+
1074
+ </li>
1075
+
1076
+ <li>
1077
+
1078
+ <span class='name'>params</span>
1079
+
1080
+
1081
+ <span class='type'>(<tt>Hash</tt>)</span>
1082
+
1083
+
1084
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1085
+
1086
+
1087
+ &mdash;
1088
+ <div class='inline'><p>API parameters, keyed by Symbol.</p></div>
1089
+
1090
+ </li>
1091
+
1092
+ <li>
1093
+
1094
+ <span class='name'>options</span>
1095
+
1096
+
1097
+ <span class='type'>(<tt>Hash</tt>)</span>
1098
+
1099
+
1100
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1101
+
1102
+
1103
+ &mdash;
1104
+ <div class='inline'><p>Request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Api.send_request</a></span>.</p></div>
1105
+
1106
+ </li>
1107
+
1108
+ </ul>
1109
+
1110
+ <p class="tag_title">Returns:</p>
1111
+ <ul class="return">
1112
+
1113
+ <li>
1114
+
1115
+
1116
+ <span class='type'>(<tt><span class='object_link'><a href="AutomationRun.html" title="Files::AutomationRun (class)">Files::AutomationRun</a></span></tt>)</span>
1117
+
1118
+
1119
+
1120
+ &mdash;
1121
+ <div class='inline'><p>the returned record.</p></div>
1122
+
1123
+ </li>
1124
+
1125
+ </ul>
1126
+ <p class="tag_title">Raises:</p>
1127
+ <ul class="raise">
1128
+
1129
+ <li>
1130
+
1131
+
1132
+ <span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
1133
+
1134
+
1135
+
1136
+ &mdash;
1137
+ <div class='inline'><p>if a required parameter is missing.</p></div>
1138
+
1139
+ </li>
1140
+
1141
+ <li>
1142
+
1143
+
1144
+ <span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
1145
+
1146
+
1147
+
1148
+ &mdash;
1149
+ <div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
1150
+
1151
+ </li>
1152
+
1153
+ <li>
1154
+
1155
+
1156
+ <span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
1157
+
1158
+
1159
+
1160
+ &mdash;
1161
+ <div class='inline'><p>if the API request fails.</p></div>
1162
+
1163
+ </li>
1164
+
1165
+ </ul>
1166
+
1167
+ </div><table class="source_code">
1168
+ <tr>
1169
+ <td>
1170
+ <pre class="lines">
1171
+
1172
+
1173
+ 141
1174
+ 142
1175
+ 143
1176
+ 144
1177
+ 145
1178
+ 146
1179
+ 147
1180
+ 148
1181
+ 149
1182
+ 150
1183
+ 151
1184
+ 152</pre>
1185
+ </td>
1186
+ <td>
1187
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 141</span>
1188
+
1189
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_find_run'>find_run</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_run_id'>run_id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</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='rparen'>)</span>
1190
+ <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
1191
+ <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_id'>id</span>
1192
+ <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:run_id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_run_id'>run_id</span>
1193
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: id must be an Integer</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Integer</span><span class='rparen'>)</span>
1194
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: run_id must be an Integer</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:run_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:run_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Integer</span><span class='rparen'>)</span>
1195
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Parameter missing: id</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1196
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Parameter missing: run_id</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:run_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1197
+
1198
+ <span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Api.html" title="Files::Api (class)">Api</a></span></span><span class='period'>.</span><span class='id identifier rubyid_send_request'><span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">send_request</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/shared_workflows/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/runs/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:run_id</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='symbol'>:get</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_reply'>reply</span><span class='op'>|</span> <span class='id identifier rubyid_reply'>reply</span><span class='period'>.</span><span class='id identifier rubyid_require_object'>require_object</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>AutomationRun</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='rbrace'>}</span>
1199
+ <span class='const'><span class='object_link'><a href="AutomationRun.html" title="Files::AutomationRun (class)">AutomationRun</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="AutomationRun.html#initialize-instance_method" title="Files::AutomationRun#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
1200
+ <span class='kw'>end</span></pre>
1201
+ </td>
1202
+ </tr>
1203
+ </table>
1204
+ </div>
1205
+
1206
+ <div class="method_details ">
1207
+ <h3 class="signature " id="get-class_method">
1208
+
1209
+ .<strong>get</strong>(id, params = {}, options = {}) &#x21d2; <tt><span class='object_link'><a href="" title="Files::SharedWorkflow (class)">Files::SharedWorkflow</a></span></tt>
1210
+
1211
+
1212
+
1213
+
1214
+
1215
+ </h3><div class="docstring">
1216
+ <div class="discussion">
1217
+ <p>Show Shared Workflow</p>
1218
+
1219
+ </div>
1220
+ </div>
1221
+ <div class="tags">
1222
+ <p class="tag_title">Parameters:</p>
1223
+ <ul class="param">
1224
+
1225
+ <li>
1226
+
1227
+ <span class='name'>id</span>
1228
+
1229
+
1230
+ <span class='type'>(<tt>Integer</tt>)</span>
1231
+
1232
+
1233
+
1234
+ &mdash;
1235
+ <div class='inline'><p>Shared Workflow ID.</p></div>
1236
+
1237
+ </li>
1238
+
1239
+ <li>
1240
+
1241
+ <span class='name'>params</span>
1242
+
1243
+
1244
+ <span class='type'>(<tt>Hash</tt>)</span>
1245
+
1246
+
1247
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1248
+
1249
+
1250
+ &mdash;
1251
+ <div class='inline'><p>API parameters, keyed by Symbol.</p></div>
1252
+
1253
+ </li>
1254
+
1255
+ <li>
1256
+
1257
+ <span class='name'>options</span>
1258
+
1259
+
1260
+ <span class='type'>(<tt>Hash</tt>)</span>
1261
+
1262
+
1263
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1264
+
1265
+
1266
+ &mdash;
1267
+ <div class='inline'><p>Request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Api.send_request</a></span>.</p></div>
1268
+
1269
+ </li>
1270
+
1271
+ </ul>
1272
+
1273
+ <p class="tag_title">Returns:</p>
1274
+ <ul class="return">
1275
+
1276
+ <li>
1277
+
1278
+
1279
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Files::SharedWorkflow (class)">Files::SharedWorkflow</a></span></tt>)</span>
1280
+
1281
+
1282
+
1283
+ &mdash;
1284
+ <div class='inline'><p>the returned record.</p></div>
1285
+
1286
+ </li>
1287
+
1288
+ </ul>
1289
+ <p class="tag_title">Raises:</p>
1290
+ <ul class="raise">
1291
+
1292
+ <li>
1293
+
1294
+
1295
+ <span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
1296
+
1297
+
1298
+
1299
+ &mdash;
1300
+ <div class='inline'><p>if a required parameter is missing.</p></div>
1301
+
1302
+ </li>
1303
+
1304
+ <li>
1305
+
1306
+
1307
+ <span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
1308
+
1309
+
1310
+
1311
+ &mdash;
1312
+ <div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
1313
+
1314
+ </li>
1315
+
1316
+ <li>
1317
+
1318
+
1319
+ <span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
1320
+
1321
+
1322
+
1323
+ &mdash;
1324
+ <div class='inline'><p>if the API request fails.</p></div>
1325
+
1326
+ </li>
1327
+
1328
+ </ul>
1329
+
1330
+ </div><table class="source_code">
1331
+ <tr>
1332
+ <td>
1333
+ <pre class="lines">
1334
+
1335
+
1336
+ 127
1337
+ 128
1338
+ 129</pre>
1339
+ </td>
1340
+ <td>
1341
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 127</span>
1342
+
1343
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</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='rparen'>)</span>
1344
+ <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
1345
+ <span class='kw'>end</span></pre>
1346
+ </td>
1347
+ </tr>
1348
+ </table>
1349
+ </div>
1350
+
1351
+ <div class="method_details ">
1352
+ <h3 class="signature " id="list-class_method">
1353
+
1354
+ .<strong>list</strong>(params = {}, options = {}) &#x21d2; <tt><span class='object_link'><a href="List.html" title="Files::List (class)">Files::List</a></span></tt>
1355
+
1356
+
1357
+
1358
+
1359
+
1360
+ </h3><div class="docstring">
1361
+ <div class="discussion">
1362
+ <p>List Shared Workflows</p>
1363
+
1364
+ </div>
1365
+ </div>
1366
+ <div class="tags">
1367
+ <p class="tag_title">Parameters:</p>
1368
+ <ul class="param">
1369
+
1370
+ <li>
1371
+
1372
+ <span class='name'>params</span>
1373
+
1374
+
1375
+ <span class='type'>(<tt>Hash</tt>)</span>
1376
+
1377
+
1378
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1379
+
1380
+
1381
+ &mdash;
1382
+ <div class='inline'><p>API parameters, keyed by Symbol.</p></div>
1383
+
1384
+ </li>
1385
+
1386
+ <li>
1387
+
1388
+ <span class='name'>options</span>
1389
+
1390
+
1391
+ <span class='type'>(<tt>Hash</tt>)</span>
1392
+
1393
+
1394
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1395
+
1396
+
1397
+ &mdash;
1398
+ <div class='inline'><p>Request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Api.send_request</a></span>.</p></div>
1399
+
1400
+ </li>
1401
+
1402
+ </ul>
1403
+
1404
+
1405
+
1406
+
1407
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1408
+ <ul class="option">
1409
+
1410
+ <li>
1411
+ <span class="name">cursor</span>
1412
+ <span class="type">(<tt>String</tt>)</span>
1413
+ <span class="default">
1414
+
1415
+ </span>
1416
+
1417
+ &mdash; <div class='inline'><p>Used for pagination. When a list request has more records available, cursors are provided in the response headers <code>X-Files-Cursor-Next</code> and <code>X-Files-Cursor-Prev</code>. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.</p></div>
1418
+
1419
+ </li>
1420
+
1421
+ <li>
1422
+ <span class="name">per_page</span>
1423
+ <span class="type">(<tt>Integer</tt>)</span>
1424
+ <span class="default">
1425
+
1426
+ </span>
1427
+
1428
+ &mdash; <div class='inline'><p>Number of records to show per page. (Max: 10000, 1,000 or less is recommended).</p></div>
1429
+
1430
+ </li>
1431
+
1432
+ <li>
1433
+ <span class="name">sort_by</span>
1434
+ <span class="type">(<tt>Hash</tt>)</span>
1435
+ <span class="default">
1436
+
1437
+ </span>
1438
+
1439
+ &mdash; <div class='inline'><p>If set, sort records by the specified field in either <code>asc</code> or <code>desc</code> direction. Valid fields are .</p></div>
1440
+
1441
+ </li>
1442
+
1443
+ </ul>
1444
+
1445
+
1446
+
1447
+
1448
+ <p class="tag_title">Returns:</p>
1449
+ <ul class="return">
1450
+
1451
+ <li>
1452
+
1453
+
1454
+ <span class='type'>(<tt><span class='object_link'><a href="List.html" title="Files::List (class)">Files::List</a></span></tt>)</span>
1455
+
1456
+
1457
+
1458
+ &mdash;
1459
+ <div class='inline'><p>a lazy first page; use #auto_paging_each to visit every page.</p></div>
1460
+
1461
+ </li>
1462
+
1463
+ </ul>
1464
+ <p class="tag_title">Raises:</p>
1465
+ <ul class="raise">
1466
+
1467
+ <li>
1468
+
1469
+
1470
+ <span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
1471
+
1472
+
1473
+
1474
+ &mdash;
1475
+ <div class='inline'><p>if a required parameter is missing.</p></div>
1476
+
1477
+ </li>
1478
+
1479
+ <li>
1480
+
1481
+
1482
+ <span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
1483
+
1484
+
1485
+
1486
+ &mdash;
1487
+ <div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
1488
+
1489
+ </li>
1490
+
1491
+ <li>
1492
+
1493
+
1494
+ <span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
1495
+
1496
+
1497
+
1498
+ &mdash;
1499
+ <div class='inline'><p>if the API request fails.</p></div>
1500
+
1501
+ </li>
1502
+
1503
+ </ul>
1504
+
1505
+ </div><table class="source_code">
1506
+ <tr>
1507
+ <td>
1508
+ <pre class="lines">
1509
+
1510
+
1511
+ 89
1512
+ 90
1513
+ 91
1514
+ 92
1515
+ 93
1516
+ 94
1517
+ 95
1518
+ 96
1519
+ 97
1520
+ 98
1521
+ 99
1522
+ 100</pre>
1523
+ </td>
1524
+ <td>
1525
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 89</span>
1526
+
1527
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</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='rparen'>)</span>
1528
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: cursor must be an String</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:cursor</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:cursor</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
1529
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: per_page must be an Integer</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:per_page</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:per_page</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Integer</span><span class='rparen'>)</span>
1530
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: sort_by must be an Hash</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:sort_by</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:sort_by</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
1531
+
1532
+ <span class='id identifier rubyid_list_options'>list_options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
1533
+ <span class='const'><span class='object_link'><a href="List.html" title="Files::List (class)">List</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="List.html#initialize-instance_method" title="Files::List#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="" title="Files::SharedWorkflow (class)">SharedWorkflow</a></span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_page_params'>page_params</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_check_page'>check_page</span><span class='op'>|</span>
1534
+ <span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_page_options'>page_options</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Api.html" title="Files::Api (class)">Api</a></span></span><span class='period'>.</span><span class='id identifier rubyid_send_request'><span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">send_request</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/shared_workflows</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='symbol'>:get</span><span class='comma'>,</span> <span class='id identifier rubyid_page_params'>page_params</span><span class='comma'>,</span> <span class='id identifier rubyid_list_options'>list_options</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_check_page'>check_page</span><span class='rparen'>)</span>
1535
+ <span class='id identifier rubyid_list_options'>list_options</span> <span class='op'>=</span> <span class='id identifier rubyid_list_options'>list_options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_page_options'>page_options</span><span class='rparen'>)</span>
1536
+ <span class='lbracket'>[</span> <span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_page_options'>page_options</span> <span class='rbracket'>]</span>
1537
+ <span class='kw'>end</span>
1538
+ <span class='kw'>end</span></pre>
1539
+ </td>
1540
+ </tr>
1541
+ </table>
1542
+ </div>
1543
+
1544
+ <div class="method_details ">
1545
+ <h3 class="signature " id="run_workflow-class_method">
1546
+
1547
+ .<strong>run_workflow</strong>(id, params = {}, options = {}) &#x21d2; <tt><span class='object_link'><a href="AutomationRun.html" title="Files::AutomationRun (class)">Files::AutomationRun</a></span></tt>
1548
+
1549
+
1550
+
1551
+
1552
+
1553
+ </h3><div class="docstring">
1554
+ <div class="discussion">
1555
+ <p>Run a Shared Workflow</p>
1556
+
1557
+ </div>
1558
+ </div>
1559
+ <div class="tags">
1560
+ <p class="tag_title">Parameters:</p>
1561
+ <ul class="param">
1562
+
1563
+ <li>
1564
+
1565
+ <span class='name'>id</span>
1566
+
1567
+
1568
+ <span class='type'>(<tt>Integer</tt>)</span>
1569
+
1570
+
1571
+
1572
+ &mdash;
1573
+ <div class='inline'><p>Shared Workflow ID.</p></div>
1574
+
1575
+ </li>
1576
+
1577
+ <li>
1578
+
1579
+ <span class='name'>params</span>
1580
+
1581
+
1582
+ <span class='type'>(<tt>Hash</tt>)</span>
1583
+
1584
+
1585
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1586
+
1587
+
1588
+ &mdash;
1589
+ <div class='inline'><p>API parameters, keyed by Symbol.</p></div>
1590
+
1591
+ </li>
1592
+
1593
+ <li>
1594
+
1595
+ <span class='name'>options</span>
1596
+
1597
+
1598
+ <span class='type'>(<tt>Hash</tt>)</span>
1599
+
1600
+
1601
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1602
+
1603
+
1604
+ &mdash;
1605
+ <div class='inline'><p>Request configuration; see <span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">Api.send_request</a></span>.</p></div>
1606
+
1607
+ </li>
1608
+
1609
+ </ul>
1610
+
1611
+
1612
+
1613
+
1614
+
1615
+
1616
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1617
+ <ul class="option">
1618
+
1619
+ <li>
1620
+ <span class="name">submission_revision</span>
1621
+ <span class="type">(<tt>String</tt>)</span>
1622
+ <span class="default">
1623
+
1624
+ </span>
1625
+
1626
+ &mdash; <div class='inline'><p>Required. Revision returned when opening the Shared Workflow.</p></div>
1627
+
1628
+ </li>
1629
+
1630
+ <li>
1631
+ <span class="name">submission_id</span>
1632
+ <span class="type">(<tt>String</tt>)</span>
1633
+ <span class="default">
1634
+
1635
+ </span>
1636
+
1637
+ &mdash; <div class='inline'><p>Required. Client-generated UUID used to retry the same submission without starting another run.</p></div>
1638
+
1639
+ </li>
1640
+
1641
+ <li>
1642
+ <span class="name">file_path</span>
1643
+ <span class="type">(<tt>String</tt>)</span>
1644
+ <span class="default">
1645
+
1646
+ </span>
1647
+
1648
+ &mdash; <div class='inline'><p>Required. Path of a file the recipient can read, including a file uploaded to a Snapshot created for this workflow.</p></div>
1649
+
1650
+ </li>
1651
+
1652
+ </ul>
1653
+
1654
+
1655
+
1656
+
1657
+ <p class="tag_title">Returns:</p>
1658
+ <ul class="return">
1659
+
1660
+ <li>
1661
+
1662
+
1663
+ <span class='type'>(<tt><span class='object_link'><a href="AutomationRun.html" title="Files::AutomationRun (class)">Files::AutomationRun</a></span></tt>)</span>
1664
+
1665
+
1666
+
1667
+ &mdash;
1668
+ <div class='inline'><p>the returned record.</p></div>
1669
+
1670
+ </li>
1671
+
1672
+ </ul>
1673
+ <p class="tag_title">Raises:</p>
1674
+ <ul class="raise">
1675
+
1676
+ <li>
1677
+
1678
+
1679
+ <span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
1680
+
1681
+
1682
+
1683
+ &mdash;
1684
+ <div class='inline'><p>if a required parameter is missing.</p></div>
1685
+
1686
+ </li>
1687
+
1688
+ <li>
1689
+
1690
+
1691
+ <span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
1692
+
1693
+
1694
+
1695
+ &mdash;
1696
+ <div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
1697
+
1698
+ </li>
1699
+
1700
+ <li>
1701
+
1702
+
1703
+ <span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
1704
+
1705
+
1706
+
1707
+ &mdash;
1708
+ <div class='inline'><p>if the API request fails.</p></div>
1709
+
1710
+ </li>
1711
+
1712
+ </ul>
1713
+
1714
+ </div><table class="source_code">
1715
+ <tr>
1716
+ <td>
1717
+ <pre class="lines">
1718
+
1719
+
1720
+ 166
1721
+ 167
1722
+ 168
1723
+ 169
1724
+ 170
1725
+ 171
1726
+ 172
1727
+ 173
1728
+ 174
1729
+ 175
1730
+ 176
1731
+ 177
1732
+ 178
1733
+ 179
1734
+ 180</pre>
1735
+ </td>
1736
+ <td>
1737
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 166</span>
1738
+
1739
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_run_workflow'>run_workflow</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</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='rparen'>)</span>
1740
+ <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
1741
+ <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_id'>id</span>
1742
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: id must be an Integer</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Integer</span><span class='rparen'>)</span>
1743
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: submission_revision must be an String</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_revision</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_revision</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
1744
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: submission_id must be an String</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
1745
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: file_path must be an String</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:file_path</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:file_path</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
1746
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Parameter missing: id</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1747
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Parameter missing: submission_revision</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_revision</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1748
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Parameter missing: submission_id</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1749
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Parameter missing: file_path</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:file_path</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
1750
+
1751
+ <span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Api.html" title="Files::Api (class)">Api</a></span></span><span class='period'>.</span><span class='id identifier rubyid_send_request'><span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">send_request</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/shared_workflows/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/run_workflow</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='symbol'>:post</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_reply'>reply</span><span class='op'>|</span> <span class='id identifier rubyid_reply'>reply</span><span class='period'>.</span><span class='id identifier rubyid_require_object'>require_object</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>AutomationRun</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='rbrace'>}</span>
1752
+ <span class='const'><span class='object_link'><a href="AutomationRun.html" title="Files::AutomationRun (class)">AutomationRun</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="AutomationRun.html#initialize-instance_method" title="Files::AutomationRun#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
1753
+ <span class='kw'>end</span></pre>
1754
+ </td>
1755
+ </tr>
1756
+ </table>
1757
+ </div>
1758
+
1759
+ </div>
1760
+
1761
+ <div id="instance_method_details" class="method_details_list">
1762
+ <h2>Instance Method Details</h2>
1763
+
1764
+
1765
+ <div class="method_details first">
1766
+ <h3 class="signature first" id="description-instance_method">
1767
+
1768
+ #<strong>description</strong> &#x21d2; <tt>String</tt><sup>?</sup>
1769
+
1770
+
1771
+
1772
+
1773
+
1774
+ </h3><div class="docstring">
1775
+ <div class="discussion">
1776
+ <p>Description displayed to recipients.</p>
1777
+
1778
+ </div>
1779
+ </div>
1780
+ <div class="tags">
1781
+
1782
+ <p class="tag_title">Returns:</p>
1783
+ <ul class="return">
1784
+
1785
+ <li>
1786
+
1787
+
1788
+ <span class='type'>(<tt>String</tt>, <tt>nil</tt>)</span>
1789
+
1790
+
1791
+
1792
+ &mdash;
1793
+ <div class='inline'><p>the field value, or nil when absent.</p></div>
1794
+
1795
+ </li>
1796
+
1797
+ </ul>
1798
+
1799
+ </div><table class="source_code">
1800
+ <tr>
1801
+ <td>
1802
+ <pre class="lines">
1803
+
1804
+
1805
+ 34
1806
+ 35
1807
+ 36</pre>
1808
+ </td>
1809
+ <td>
1810
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 34</span>
1811
+
1812
+ <span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
1813
+ <span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span>
1814
+ <span class='kw'>end</span></pre>
1815
+ </td>
1816
+ </tr>
1817
+ </table>
1818
+ </div>
1819
+
1820
+ <div class="method_details ">
1821
+ <h3 class="signature " id="form_fields-instance_method">
1822
+
1823
+ #<strong>form_fields</strong> &#x21d2; <tt>Array&lt;Hash&gt;</tt><sup>?</sup>
1824
+
1825
+
1826
+
1827
+
1828
+
1829
+ </h3><div class="docstring">
1830
+ <div class="discussion">
1831
+ <p>Current custom questions in display order.</p>
1832
+
1833
+ </div>
1834
+ </div>
1835
+ <div class="tags">
1836
+
1837
+ <p class="tag_title">Returns:</p>
1838
+ <ul class="return">
1839
+
1840
+ <li>
1841
+
1842
+
1843
+ <span class='type'>(<tt>Array&lt;Hash&gt;</tt>, <tt>nil</tt>)</span>
1844
+
1845
+
1846
+
1847
+ &mdash;
1848
+ <div class='inline'><p>the field value, or nil when absent.</p></div>
1849
+
1850
+ </li>
1851
+
1852
+ </ul>
1853
+
1854
+ </div><table class="source_code">
1855
+ <tr>
1856
+ <td>
1857
+ <pre class="lines">
1858
+
1859
+
1860
+ 46
1861
+ 47
1862
+ 48</pre>
1863
+ </td>
1864
+ <td>
1865
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 46</span>
1866
+
1867
+ <span class='kw'>def</span> <span class='id identifier rubyid_form_fields'>form_fields</span>
1868
+ <span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:form_fields</span><span class='rbracket'>]</span>
1869
+ <span class='kw'>end</span></pre>
1870
+ </td>
1871
+ </tr>
1872
+ </table>
1873
+ </div>
1874
+
1875
+ <div class="method_details ">
1876
+ <h3 class="signature " id="id-instance_method">
1877
+
1878
+ #<strong>id</strong> &#x21d2; <tt>Integer</tt><sup>?</sup>
1879
+
1880
+
1881
+
1882
+
1883
+
1884
+ </h3><div class="docstring">
1885
+ <div class="discussion">
1886
+ <p>Shared Workflow ID.</p>
1887
+
1888
+ </div>
1889
+ </div>
1890
+ <div class="tags">
1891
+
1892
+ <p class="tag_title">Returns:</p>
1893
+ <ul class="return">
1894
+
1895
+ <li>
1896
+
1897
+
1898
+ <span class='type'>(<tt>Integer</tt>, <tt>nil</tt>)</span>
1899
+
1900
+
1901
+
1902
+ &mdash;
1903
+ <div class='inline'><p>the field value, or nil when absent.</p></div>
1904
+
1905
+ </li>
1906
+
1907
+ </ul>
1908
+
1909
+ </div><table class="source_code">
1910
+ <tr>
1911
+ <td>
1912
+ <pre class="lines">
1913
+
1914
+
1915
+ 22
1916
+ 23
1917
+ 24</pre>
1918
+ </td>
1919
+ <td>
1920
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 22</span>
1921
+
1922
+ <span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
1923
+ <span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span>
1924
+ <span class='kw'>end</span></pre>
1925
+ </td>
1926
+ </tr>
1927
+ </table>
1928
+ </div>
1929
+
1930
+ <div class="method_details ">
1931
+ <h3 class="signature " id="name-instance_method">
1932
+
1933
+ #<strong>name</strong> &#x21d2; <tt>String</tt><sup>?</sup>
1934
+
1935
+
1936
+
1937
+
1938
+
1939
+ </h3><div class="docstring">
1940
+ <div class="discussion">
1941
+ <p>Name displayed to recipients.</p>
1942
+
1943
+ </div>
1944
+ </div>
1945
+ <div class="tags">
1946
+
1947
+ <p class="tag_title">Returns:</p>
1948
+ <ul class="return">
1949
+
1950
+ <li>
1951
+
1952
+
1953
+ <span class='type'>(<tt>String</tt>, <tt>nil</tt>)</span>
1954
+
1955
+
1956
+
1957
+ &mdash;
1958
+ <div class='inline'><p>the field value, or nil when absent.</p></div>
1959
+
1960
+ </li>
1961
+
1962
+ </ul>
1963
+
1964
+ </div><table class="source_code">
1965
+ <tr>
1966
+ <td>
1967
+ <pre class="lines">
1968
+
1969
+
1970
+ 28
1971
+ 29
1972
+ 30</pre>
1973
+ </td>
1974
+ <td>
1975
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 28</span>
1976
+
1977
+ <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
1978
+ <span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span>
1979
+ <span class='kw'>end</span></pre>
1980
+ </td>
1981
+ </tr>
1982
+ </table>
1983
+ </div>
1984
+
1985
+ <div class="method_details ">
1986
+ <h3 class="signature " id="run_workflow-instance_method">
1987
+
1988
+ #<strong>run_workflow</strong>(params = {}) &#x21d2; <tt>Array(<span class='object_link'><a href="Response.html" title="Files::Response (class)">Files::Response</a></span>, Hash)</tt>
1989
+
1990
+
1991
+
1992
+
1993
+
1994
+ </h3><div class="docstring">
1995
+ <div class="discussion">
1996
+ <p>Run a Shared Workflow</p>
1997
+
1998
+ </div>
1999
+ </div>
2000
+ <div class="tags">
2001
+ <p class="tag_title">Parameters:</p>
2002
+ <ul class="param">
2003
+
2004
+ <li>
2005
+
2006
+ <span class='name'>params</span>
2007
+
2008
+
2009
+ <span class='type'>(<tt>Hash</tt>)</span>
2010
+
2011
+
2012
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
2013
+
2014
+
2015
+ &mdash;
2016
+ <div class='inline'><p>API parameters, keyed by Symbol.</p></div>
2017
+
2018
+ </li>
2019
+
2020
+ </ul>
2021
+
2022
+
2023
+
2024
+
2025
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
2026
+ <ul class="option">
2027
+
2028
+ <li>
2029
+ <span class="name">submission_revision</span>
2030
+ <span class="type">(<tt>String</tt>)</span>
2031
+ <span class="default">
2032
+
2033
+ </span>
2034
+
2035
+ &mdash; <div class='inline'><p>Required. Revision returned when opening the Shared Workflow.</p></div>
2036
+
2037
+ </li>
2038
+
2039
+ <li>
2040
+ <span class="name">submission_id</span>
2041
+ <span class="type">(<tt>String</tt>)</span>
2042
+ <span class="default">
2043
+
2044
+ </span>
2045
+
2046
+ &mdash; <div class='inline'><p>Required. Client-generated UUID used to retry the same submission without starting another run.</p></div>
2047
+
2048
+ </li>
2049
+
2050
+ <li>
2051
+ <span class="name">file_path</span>
2052
+ <span class="type">(<tt>String</tt>)</span>
2053
+ <span class="default">
2054
+
2055
+ </span>
2056
+
2057
+ &mdash; <div class='inline'><p>Required. Path of a file the recipient can read, including a file uploaded to a Snapshot created for this workflow.</p></div>
2058
+
2059
+ </li>
2060
+
2061
+ </ul>
2062
+
2063
+
2064
+ <p class="tag_title">Returns:</p>
2065
+ <ul class="return">
2066
+
2067
+ <li>
2068
+
2069
+
2070
+ <span class='type'>(<tt>Array(<span class='object_link'><a href="Response.html" title="Files::Response (class)">Files::Response</a></span>, Hash)</tt>)</span>
2071
+
2072
+
2073
+
2074
+ &mdash;
2075
+ <div class='inline'><p>the response and persisted request options.</p></div>
2076
+
2077
+ </li>
2078
+
2079
+ </ul>
2080
+ <p class="tag_title">Raises:</p>
2081
+ <ul class="raise">
2082
+
2083
+ <li>
2084
+
2085
+
2086
+ <span class='type'>(<tt><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">Files::MissingParameterError</a></span></tt>)</span>
2087
+
2088
+
2089
+
2090
+ &mdash;
2091
+ <div class='inline'><p>if a required parameter or the current object primary key is missing.</p></div>
2092
+
2093
+ </li>
2094
+
2095
+ <li>
2096
+
2097
+
2098
+ <span class='type'>(<tt><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
2099
+
2100
+
2101
+
2102
+ &mdash;
2103
+ <div class='inline'><p>if a parameter has an invalid Ruby type.</p></div>
2104
+
2105
+ </li>
2106
+
2107
+ <li>
2108
+
2109
+
2110
+ <span class='type'>(<tt><span class='object_link'><a href="Error.html" title="Files::Error (class)">Files::Error</a></span></tt>)</span>
2111
+
2112
+
2113
+
2114
+ &mdash;
2115
+ <div class='inline'><p>if the API request fails.</p></div>
2116
+
2117
+ </li>
2118
+
2119
+ </ul>
2120
+
2121
+ </div><table class="source_code">
2122
+ <tr>
2123
+ <td>
2124
+ <pre class="lines">
2125
+
2126
+
2127
+ 60
2128
+ 61
2129
+ 62
2130
+ 63
2131
+ 64
2132
+ 65
2133
+ 66
2134
+ 67
2135
+ 68
2136
+ 69
2137
+ 70
2138
+ 71
2139
+ 72
2140
+ 73
2141
+ 74
2142
+ 75
2143
+ 76</pre>
2144
+ </td>
2145
+ <td>
2146
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 60</span>
2147
+
2148
+ <span class='kw'>def</span> <span class='id identifier rubyid_run_workflow'>run_workflow</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
2149
+ <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
2150
+ <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span>
2151
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Current object doesn&#39;t have a id</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span>
2152
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: id must be an Integer</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Integer</span><span class='rparen'>)</span>
2153
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: submission_revision must be an String</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_revision</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_revision</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
2154
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: submission_id must be an String</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
2155
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bad parameter: file_path must be an String</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:file_path</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>and</span> <span class='op'>!</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:file_path</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
2156
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Parameter missing: id</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
2157
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Parameter missing: submission_revision</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_revision</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
2158
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Parameter missing: submission_id</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:submission_id</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
2159
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="MissingParameterError.html" title="Files::MissingParameterError (class)">MissingParameterError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Error.html#initialize-instance_method" title="Files::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Parameter missing: file_path</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:file_path</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
2160
+
2161
+ <span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Api.html" title="Files::Api (class)">Api</a></span></span><span class='period'>.</span><span class='id identifier rubyid_send_request'><span class='object_link'><a href="Api.html#send_request-class_method" title="Files::Api.send_request (method)">send_request</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/shared_workflows/</span><span class='embexpr_beg'>#{</span><span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/run_workflow</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='symbol'>:post</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='ivar'>@options</span><span class='rparen'>)</span>
2162
+ <span class='ivar'>@options</span> <span class='op'>=</span> <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
2163
+ <span class='lbracket'>[</span> <span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='rbracket'>]</span>
2164
+ <span class='kw'>end</span></pre>
2165
+ </td>
2166
+ </tr>
2167
+ </table>
2168
+ </div>
2169
+
2170
+ <div class="method_details ">
2171
+ <h3 class="signature " id="submission_revision-instance_method">
2172
+
2173
+ #<strong>submission_revision</strong> &#x21d2; <tt>String</tt><sup>?</sup>
2174
+
2175
+
2176
+
2177
+
2178
+
2179
+ </h3><div class="docstring">
2180
+ <div class="discussion">
2181
+ <p>Revision required when submitting a Shared Workflow run.</p>
2182
+
2183
+ </div>
2184
+ </div>
2185
+ <div class="tags">
2186
+
2187
+ <p class="tag_title">Returns:</p>
2188
+ <ul class="return">
2189
+
2190
+ <li>
2191
+
2192
+
2193
+ <span class='type'>(<tt>String</tt>, <tt>nil</tt>)</span>
2194
+
2195
+
2196
+
2197
+ &mdash;
2198
+ <div class='inline'><p>the field value, or nil when absent.</p></div>
2199
+
2200
+ </li>
2201
+
2202
+ </ul>
2203
+
2204
+ </div><table class="source_code">
2205
+ <tr>
2206
+ <td>
2207
+ <pre class="lines">
2208
+
2209
+
2210
+ 40
2211
+ 41
2212
+ 42</pre>
2213
+ </td>
2214
+ <td>
2215
+ <pre class="code"><span class="info file"># File 'lib/files.com/models/shared_workflow.rb', line 40</span>
2216
+
2217
+ <span class='kw'>def</span> <span class='id identifier rubyid_submission_revision'>submission_revision</span>
2218
+ <span class='ivar'>@attributes</span><span class='lbracket'>[</span><span class='symbol'>:submission_revision</span><span class='rbracket'>]</span>
2219
+ <span class='kw'>end</span></pre>
2220
+ </td>
2221
+ </tr>
2222
+ </table>
2223
+ </div>
2224
+
2225
+ </div>
2226
+
2227
+ </div>
2228
+
2229
+ <div id="footer">
2230
+ Generated on Tue Nov 24 16:54:44 2026 by
2231
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2232
+ 0.9.45 (ruby-4.0.10).
2233
+ </div>
2234
+
2235
+ </div>
2236
+ </body>
2237
+ </html>