files.com 1.1.827 → 1.1.829

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 (454) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +16 -0
  4. data/_VERSION +1 -1
  5. data/doc/Files/APIConnectionError.html +1 -1
  6. data/doc/Files/APIError.html +1 -1
  7. data/doc/Files/AccountAlreadyExistsError.html +1 -1
  8. data/doc/Files/AccountLineItem.html +1 -1
  9. data/doc/Files/AccountOverdueError.html +1 -1
  10. data/doc/Files/Action.html +1 -1
  11. data/doc/Files/ActionLog.html +1 -1
  12. data/doc/Files/ActionNotificationExport.html +1 -1
  13. data/doc/Files/ActionNotificationExportResult.html +1 -1
  14. data/doc/Files/AdditionalAuthenticationRequiredError.html +1 -1
  15. data/doc/Files/AgentNode.html +1 -1
  16. data/doc/Files/AgentNodeConnection.html +1 -1
  17. data/doc/Files/AgentNodeInstance.html +1 -1
  18. data/doc/Files/AgentPushUpdate.html +1 -1
  19. data/doc/Files/AgentPushUpdateBlockedError.html +1 -1
  20. data/doc/Files/AgentUnavailableError.html +1 -1
  21. data/doc/Files/AgentUpgradeRequiredError.html +1 -1
  22. data/doc/Files/AiAssistantPersonality.html +1 -1
  23. data/doc/Files/AiTask.html +1 -1
  24. data/doc/Files/AiTaskCannotBeRunManuallyError.html +1 -1
  25. data/doc/Files/AlreadyCompletedError.html +1 -1
  26. data/doc/Files/Api.html +7 -5
  27. data/doc/Files/ApiClient/RequestLogContext.html +29 -29
  28. data/doc/Files/ApiClient/TransferSettings.html +29 -29
  29. data/doc/Files/ApiClient.html +210 -148
  30. data/doc/Files/ApiKey.html +1 -1
  31. data/doc/Files/ApiKeyIsDisabledError.html +1 -1
  32. data/doc/Files/ApiKeyIsPathRestrictedError.html +1 -1
  33. data/doc/Files/ApiKeyNotFoundError.html +1 -1
  34. data/doc/Files/ApiKeyOnlyForDesktopAppError.html +1 -1
  35. data/doc/Files/ApiKeyOnlyForFileOperationsError.html +1 -1
  36. data/doc/Files/ApiKeyOnlyForMobileAppError.html +1 -1
  37. data/doc/Files/ApiKeyOnlyForOfficeIntegrationError.html +1 -1
  38. data/doc/Files/ApiKeySessionsNotSupportedError.html +1 -1
  39. data/doc/Files/ApiRequestLog.html +1 -1
  40. data/doc/Files/App.html +1 -1
  41. data/doc/Files/As2IncomingMessage.html +1 -1
  42. data/doc/Files/As2OutgoingMessage.html +1 -1
  43. data/doc/Files/As2Partner.html +1 -1
  44. data/doc/Files/As2Station.html +1 -1
  45. data/doc/Files/AttachmentTooLargeError.html +1 -1
  46. data/doc/Files/AuthenticationError.html +1 -1
  47. data/doc/Files/AuthenticationRequiredError.html +1 -1
  48. data/doc/Files/Auto.html +1 -1
  49. data/doc/Files/Automation.html +1 -1
  50. data/doc/Files/AutomationAuthoringSchema.html +1 -1
  51. data/doc/Files/AutomationCannotBeRunManuallyError.html +1 -1
  52. data/doc/Files/AutomationExecutionNode.html +1 -1
  53. data/doc/Files/AutomationLog.html +1 -1
  54. data/doc/Files/AutomationRun.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/ChatMessage.html +1 -1
  83. data/doc/Files/ChatSession.html +1 -1
  84. data/doc/Files/ChildSiteManagementPolicy.html +1 -1
  85. data/doc/Files/Clickwrap.html +1 -1
  86. data/doc/Files/CodeNotFoundError.html +1 -1
  87. data/doc/Files/ConfigurationLockedPathError.html +1 -1
  88. data/doc/Files/ContactAdminForPasswordChangeHelpError.html +1 -1
  89. data/doc/Files/CouldNotCreateParentError.html +1 -1
  90. data/doc/Files/CustomDomain.html +1 -1
  91. data/doc/Files/DatetimeParseError.html +1 -1
  92. data/doc/Files/DesktopConfigurationProfile.html +1 -1
  93. data/doc/Files/DestinationExistsError.html +1 -1
  94. data/doc/Files/DestinationFolderLimitedError.html +1 -1
  95. data/doc/Files/DestinationParentConflictError.html +1 -1
  96. data/doc/Files/DestinationParentDoesNotExistError.html +1 -1
  97. data/doc/Files/DestinationSameError.html +1 -1
  98. data/doc/Files/DestinationSiteMismatchError.html +1 -1
  99. data/doc/Files/DirectConnectionInfo.html +1 -1
  100. data/doc/Files/DnsRecord.html +1 -1
  101. data/doc/Files/DoesNotSupportSortingError.html +1 -1
  102. data/doc/Files/DuplicateShareRecipientError.html +1 -1
  103. data/doc/Files/EmailIncomingMessage.html +1 -1
  104. data/doc/Files/EmailLog.html +1 -1
  105. data/doc/Files/Error.html +1 -1
  106. data/doc/Files/Errors.html +1 -1
  107. data/doc/Files/EventChannel.html +1 -1
  108. data/doc/Files/EventDeliveryAttempt.html +1 -1
  109. data/doc/Files/EventRecord.html +1 -1
  110. data/doc/Files/EventSubscription.html +1 -1
  111. data/doc/Files/EventTarget.html +1 -1
  112. data/doc/Files/ExavaultApiRequestLog.html +1 -1
  113. data/doc/Files/ExceededRuntimeLimitError.html +1 -1
  114. data/doc/Files/Expectation.html +1 -1
  115. data/doc/Files/ExpectationAlreadyHasOpenWindowError.html +1 -1
  116. data/doc/Files/ExpectationEvaluation.html +1 -1
  117. data/doc/Files/ExpectationIncident.html +1 -1
  118. data/doc/Files/ExpectationNotManualTriggerError.html +1 -1
  119. data/doc/Files/ExpiredPrivateKeyError.html +1 -1
  120. data/doc/Files/ExpiredPublicKeyError.html +1 -1
  121. data/doc/Files/ExportFailureError.html +1 -1
  122. data/doc/Files/ExportNotReadyError.html +1 -1
  123. data/doc/Files/ExternalEvent.html +1 -1
  124. data/doc/Files/FailedToChangePasswordError.html +1 -1
  125. data/doc/Files/File.html +1081 -1073
  126. data/doc/Files/FileAction.html +1 -1
  127. data/doc/Files/FileActionError.html +1 -1
  128. data/doc/Files/FileComment.html +1 -1
  129. data/doc/Files/FileCommentReaction.html +1 -1
  130. data/doc/Files/FileLockedError.html +1 -1
  131. data/doc/Files/FileMigration.html +1 -1
  132. data/doc/Files/FileMigrationLog.html +1 -1
  133. data/doc/Files/FileNotFoundError.html +1 -1
  134. data/doc/Files/FileNotUploadedError.html +1 -1
  135. data/doc/Files/FilePendingProcessingError.html +1 -1
  136. data/doc/Files/FileProcessingErrorError.html +1 -1
  137. data/doc/Files/FileTooBigToDecryptError.html +1 -1
  138. data/doc/Files/FileTooBigToEncryptError.html +1 -1
  139. data/doc/Files/FileUploadNotFoundError.html +1 -1
  140. data/doc/Files/FileUploadPart.html +1 -1
  141. data/doc/Files/FileUploadedToWrongRegionError.html +1 -1
  142. data/doc/Files/FileUtils.html +1 -1
  143. data/doc/Files/FilenameTooLongError.html +1 -1
  144. data/doc/Files/FilesAgentFailedAuthorizationError.html +1 -1
  145. data/doc/Files/FilesNativeStorageOverloadedError.html +1 -1
  146. data/doc/Files/Folder.html +1 -1
  147. data/doc/Files/FolderAdminOrBillingPermissionRequiredError.html +1 -1
  148. data/doc/Files/FolderAdminPermissionRequiredError.html +1 -1
  149. data/doc/Files/FolderLockedError.html +1 -1
  150. data/doc/Files/FolderMustNotBeAFileError.html +1 -1
  151. data/doc/Files/FolderNotEmptyError.html +1 -1
  152. data/doc/Files/FoldersNotAllowedError.html +1 -1
  153. data/doc/Files/FormField.html +1 -1
  154. data/doc/Files/FormFieldSet.html +1 -1
  155. data/doc/Files/FtpActionLog.html +1 -1
  156. data/doc/Files/FullPermissionRequiredError.html +1 -1
  157. data/doc/Files/GpgKey.html +1 -1
  158. data/doc/Files/Group.html +1 -1
  159. data/doc/Files/GroupNotFoundError.html +1 -1
  160. data/doc/Files/GroupUser.html +1 -1
  161. data/doc/Files/History.html +1 -1
  162. data/doc/Files/HistoryExport.html +1 -1
  163. data/doc/Files/HistoryExportResult.html +1 -1
  164. data/doc/Files/HistoryPermissionRequiredError.html +1 -1
  165. data/doc/Files/HistoryUnavailableError.html +1 -1
  166. data/doc/Files/HolidayCalendar.html +1 -1
  167. data/doc/Files/HolidayRegion.html +1 -1
  168. data/doc/Files/Image.html +1 -1
  169. data/doc/Files/InAppAiAssistantUnavailableError.html +1 -1
  170. data/doc/Files/InboundS3Log.html +1 -1
  171. data/doc/Files/InboxNotFoundError.html +1 -1
  172. data/doc/Files/InboxRecipient.html +1 -1
  173. data/doc/Files/InboxRegistration.html +1 -1
  174. data/doc/Files/InboxRegistrationCodeFailedError.html +1 -1
  175. data/doc/Files/InboxUpload.html +1 -1
  176. data/doc/Files/InsufficientPermissionForParamsError.html +1 -1
  177. data/doc/Files/InsufficientPermissionForSiteError.html +1 -1
  178. data/doc/Files/IntegrationCentricProfile.html +1 -1
  179. data/doc/Files/InternalGeneralErrorError.html +1 -1
  180. data/doc/Files/InvalidBodyError.html +1 -1
  181. data/doc/Files/InvalidBundleCodeError.html +1 -1
  182. data/doc/Files/InvalidCredentialsError.html +1 -1
  183. data/doc/Files/InvalidCursorError.html +1 -1
  184. data/doc/Files/InvalidCursorTypeForSortError.html +1 -1
  185. data/doc/Files/InvalidEtagsError.html +1 -1
  186. data/doc/Files/InvalidFileTypeError.html +1 -1
  187. data/doc/Files/InvalidFilenameError.html +1 -1
  188. data/doc/Files/InvalidFilterAliasCombinationError.html +1 -1
  189. data/doc/Files/InvalidFilterFieldError.html +1 -1
  190. data/doc/Files/InvalidFilterParamError.html +1 -1
  191. data/doc/Files/InvalidFilterParamFormatError.html +1 -1
  192. data/doc/Files/InvalidFilterParamValueError.html +1 -1
  193. data/doc/Files/InvalidInputEncodingError.html +1 -1
  194. data/doc/Files/InvalidInterfaceError.html +1 -1
  195. data/doc/Files/InvalidOauthError.html +1 -1
  196. data/doc/Files/InvalidOauthProviderError.html +1 -1
  197. data/doc/Files/InvalidOrExpiredCodeError.html +1 -1
  198. data/doc/Files/InvalidParameterError.html +1 -1
  199. data/doc/Files/InvalidPathError.html +1 -1
  200. data/doc/Files/InvalidPriorityColorError.html +1 -1
  201. data/doc/Files/InvalidRangeError.html +1 -1
  202. data/doc/Files/InvalidReturnToUrlError.html +1 -1
  203. data/doc/Files/InvalidSearchQueryError.html +1 -1
  204. data/doc/Files/InvalidSessionError.html +1 -1
  205. data/doc/Files/InvalidSiteError.html +1 -1
  206. data/doc/Files/InvalidSortFieldError.html +1 -1
  207. data/doc/Files/InvalidSortFilterCombinationError.html +1 -1
  208. data/doc/Files/InvalidUploadOffsetError.html +1 -1
  209. data/doc/Files/InvalidUploadPartGapError.html +1 -1
  210. data/doc/Files/InvalidUploadPartSizeError.html +1 -1
  211. data/doc/Files/InvalidUsernameOrPasswordError.html +1 -1
  212. data/doc/Files/InvalidWorkspaceIdHeaderError.html +1 -1
  213. data/doc/Files/InvalidZipFileError.html +1 -1
  214. data/doc/Files/Invoice.html +1 -1
  215. data/doc/Files/InvoiceLineItem.html +1 -1
  216. data/doc/Files/IpAddress.html +1 -1
  217. data/doc/Files/KeyLifecycleRule.html +1 -1
  218. data/doc/Files/List.html +1 -1
  219. data/doc/Files/Lock.html +1 -1
  220. data/doc/Files/LockOperationBusyError.html +1 -1
  221. data/doc/Files/LockedOutError.html +1 -1
  222. data/doc/Files/LockoutRegionMismatchError.html +1 -1
  223. data/doc/Files/MetadataCategory.html +1 -1
  224. data/doc/Files/MetadataNotSupportedOnRemotesError.html +1 -1
  225. data/doc/Files/MethodNotAllowedError.html +1 -1
  226. data/doc/Files/MigrationInProgressError.html +1 -1
  227. data/doc/Files/MissingParameterError.html +1 -1
  228. data/doc/Files/ModelSaveErrorError.html +1 -1
  229. data/doc/Files/MoverAccessDeniedError.html +1 -1
  230. data/doc/Files/MoverPackageRequiredError.html +1 -1
  231. data/doc/Files/MultipleProcessingErrorsError.html +1 -1
  232. data/doc/Files/MultipleSortParamsNotAllowedError.html +1 -1
  233. data/doc/Files/MustAuthenticateWithApiKeyError.html +1 -1
  234. data/doc/Files/NeedAdminPermissionForInboxError.html +1 -1
  235. data/doc/Files/NestedNotFoundError.html +1 -1
  236. data/doc/Files/NoAccountForSiteError.html +1 -1
  237. data/doc/Files/NoValidInputParamsError.html +1 -1
  238. data/doc/Files/NonAdminsMustQueryByFolderOrPathError.html +1 -1
  239. data/doc/Files/NotAllowedToCreateBundleError.html +1 -1
  240. data/doc/Files/NotAuthenticatedError.html +1 -1
  241. data/doc/Files/NotAuthorizedError.html +1 -1
  242. data/doc/Files/NotEnqueuableSyncError.html +1 -1
  243. data/doc/Files/NotFoundError.html +1 -1
  244. data/doc/Files/NotImplementedError.html +1 -1
  245. data/doc/Files/Notification.html +1 -1
  246. data/doc/Files/OffsetUploadNotAllowedWithMalwareScanningError.html +1 -1
  247. data/doc/Files/OneTimePasswordIncorrectError.html +1 -1
  248. data/doc/Files/OutboundConnectionLog.html +1 -1
  249. data/doc/Files/PartNumberTooLargeError.html +1 -1
  250. data/doc/Files/Partner.html +1 -1
  251. data/doc/Files/PartnerChannel.html +1 -1
  252. data/doc/Files/PartnerChannelTemplate.html +1 -1
  253. data/doc/Files/PartnerConnection.html +1 -1
  254. data/doc/Files/PartnerSite.html +1 -1
  255. data/doc/Files/PartnerSiteRequest.html +1 -1
  256. data/doc/Files/PasswordChangeNotRequiredError.html +1 -1
  257. data/doc/Files/PasswordChangeRequiredError.html +1 -1
  258. data/doc/Files/PathCannotHaveTrailingWhitespaceError.html +1 -1
  259. data/doc/Files/PathTooLongError.html +1 -1
  260. data/doc/Files/PathUtil.html +1 -1
  261. data/doc/Files/Payment.html +1 -1
  262. data/doc/Files/PaymentLineItem.html +1 -1
  263. data/doc/Files/PaymentMethodErrorError.html +1 -1
  264. data/doc/Files/PendingWorkEvent.html +1 -1
  265. data/doc/Files/Permission.html +1 -1
  266. data/doc/Files/PlanNotFoundError.html +1 -1
  267. data/doc/Files/Preview.html +1 -1
  268. data/doc/Files/PreviewOnlyPermissionCannotDownloadError.html +1 -1
  269. data/doc/Files/ProcessingFailureError.html +1 -1
  270. data/doc/Files/PublicHostingRequestLog.html +1 -1
  271. data/doc/Files/PublicIpAddress.html +1 -1
  272. data/doc/Files/PublicKey.html +1 -1
  273. data/doc/Files/RateLimitedError.html +1 -1
  274. data/doc/Files/ReadOnlySessionError.html +1 -1
  275. data/doc/Files/ReadPermissionRequiredError.html +1 -1
  276. data/doc/Files/ReauthenticationFailedError.html +1 -1
  277. data/doc/Files/ReauthenticationFailedFinalError.html +1 -1
  278. data/doc/Files/ReauthenticationNeededActionError.html +1 -1
  279. data/doc/Files/ReauthenticationNeededFieldsError.html +1 -1
  280. data/doc/Files/ReauthenticationRateLimitedError.html +1 -1
  281. data/doc/Files/RecaptchaFailedError.html +1 -1
  282. data/doc/Files/RecipientAlreadySharedError.html +1 -1
  283. data/doc/Files/RemoteBandwidthSnapshot.html +1 -1
  284. data/doc/Files/RemoteDesktopDebugLoggingDisabledError.html +1 -1
  285. data/doc/Files/RemoteEntryReadOnlyError.html +1 -1
  286. data/doc/Files/RemoteMountBackend.html +1 -1
  287. data/doc/Files/RemoteServer.html +1 -1
  288. data/doc/Files/RemoteServerConfigurationFile.html +1 -1
  289. data/doc/Files/RemoteServerCredential.html +1 -1
  290. data/doc/Files/RemoteServerErrorError.html +1 -1
  291. data/doc/Files/Request.html +1 -1
  292. data/doc/Files/RequestBodyTooLargeError.html +1 -1
  293. data/doc/Files/RequestParamsContainInvalidCharacterError.html +1 -1
  294. data/doc/Files/RequestParamsInvalidError.html +1 -1
  295. data/doc/Files/RequestParamsRequiredError.html +1 -1
  296. data/doc/Files/ResourceBelongsToParentSiteError.html +1 -1
  297. data/doc/Files/ResourceLockedError.html +1 -1
  298. data/doc/Files/Response.html +1 -1
  299. data/doc/Files/Restore.html +1 -1
  300. data/doc/Files/RootFolderBehaviorSiteAdminRequiredError.html +1 -1
  301. data/doc/Files/RootFolderBehaviorSkipSiteAdminRequiredError.html +1 -1
  302. data/doc/Files/Schedule.html +1 -1
  303. data/doc/Files/ScheduledExport.html +1 -1
  304. data/doc/Files/ScimLog.html +1 -1
  305. data/doc/Files/SearchAllOnChildPathError.html +1 -1
  306. data/doc/Files/SearchUnavailableError.html +1 -1
  307. data/doc/Files/Secret.html +1 -1
  308. data/doc/Files/SelfManagedRequiredError.html +1 -1
  309. data/doc/Files/ServiceUnavailableError.html +1 -1
  310. data/doc/Files/Session.html +1 -1
  311. data/doc/Files/SettingsChange.html +1 -1
  312. data/doc/Files/SftpActionLog.html +1 -1
  313. data/doc/Files/SftpHostKey.html +1 -1
  314. data/doc/Files/ShareGroup.html +1 -1
  315. data/doc/Files/ShareGroupMember.html +1 -1
  316. data/doc/Files/SiemHttpDestination.html +1 -1
  317. data/doc/Files/SiemHttpDestinationEvent.html +1 -1
  318. data/doc/Files/Site.html +1 -1
  319. data/doc/Files/SiteAdminOrPartnerAdminPermissionRequiredError.html +1 -1
  320. data/doc/Files/SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError.html +1 -1
  321. data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequiredError.html +1 -1
  322. data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequiredError.html +1 -1
  323. data/doc/Files/SiteAdminOrWorkspaceAdminPermissionRequiredError.html +1 -1
  324. data/doc/Files/SiteAdminRequiredError.html +1 -1
  325. data/doc/Files/SiteConfigurationError.html +1 -1
  326. data/doc/Files/SiteDisabledError.html +1 -1
  327. data/doc/Files/SiteFilesAreImmutableError.html +1 -1
  328. data/doc/Files/SiteNotFoundError.html +1 -1
  329. data/doc/Files/SiteSubdomainRedirect.html +1 -1
  330. data/doc/Files/SiteWasRemovedError.html +1 -1
  331. data/doc/Files/SizableIO.html +1 -1
  332. data/doc/Files/Snapshot.html +1 -1
  333. data/doc/Files/SsoEvent.html +1 -1
  334. data/doc/Files/SsoStrategy.html +1 -1
  335. data/doc/Files/Status.html +1 -1
  336. data/doc/Files/Style.html +1 -1
  337. data/doc/Files/SubfolderLockedError.html +1 -1
  338. data/doc/Files/Sync.html +1 -1
  339. data/doc/Files/SyncInProgressError.html +1 -1
  340. data/doc/Files/SyncLog.html +1 -1
  341. data/doc/Files/SyncRun.html +1 -1
  342. data/doc/Files/SyncRunLiveTransfer.html +1 -1
  343. data/doc/Files/SystemProfiler.html +1 -1
  344. data/doc/Files/TooManyConcurrentLoginsError.html +1 -1
  345. data/doc/Files/TooManyConcurrentRequestsError.html +1 -1
  346. data/doc/Files/TooManyLoginAttemptsError.html +1 -1
  347. data/doc/Files/TooManyRequestsError.html +1 -1
  348. data/doc/Files/TooManySharesError.html +1 -1
  349. data/doc/Files/Transfer/Attempts.html +88 -18
  350. data/doc/Files/Transfer/BufferLimitError.html +1 -1
  351. data/doc/Files/Transfer/ByteBudget/Reservation.html +1 -1
  352. data/doc/Files/Transfer/ByteBudget.html +1 -1
  353. data/doc/Files/Transfer/CancelledError.html +1 -1
  354. data/doc/Files/Transfer/Checkpoint.html +1 -1
  355. data/doc/Files/Transfer/CheckpointError.html +1 -1
  356. data/doc/Files/Transfer/ClientTransport/ClientResponse.html +36 -36
  357. data/doc/Files/Transfer/ClientTransport/Reader.html +33 -29
  358. data/doc/Files/Transfer/ClientTransport.html +34 -34
  359. data/doc/Files/Transfer/Clock.html +1 -1
  360. data/doc/Files/Transfer/Control.html +1 -1
  361. data/doc/Files/Transfer/Controller/Attempt.html +1 -1
  362. data/doc/Files/Transfer/Controller.html +1 -1
  363. data/doc/Files/Transfer/Coordinator/Timing.html +1 -1
  364. data/doc/Files/Transfer/Coordinator.html +1 -1
  365. data/doc/Files/Transfer/DownloadCoordinator/FileSink.html +134 -60
  366. data/doc/Files/Transfer/DownloadCoordinator/IoSink.html +152 -77
  367. data/doc/Files/Transfer/DownloadCoordinator/Piece.html +37 -37
  368. data/doc/Files/Transfer/DownloadCoordinator.html +85 -70
  369. data/doc/Files/Transfer/DownloadDate.html +467 -0
  370. data/doc/Files/Transfer/FileSlots.html +1 -1
  371. data/doc/Files/Transfer/FrontendResponseError.html +1 -1
  372. data/doc/Files/Transfer/Holds.html +1 -1
  373. data/doc/Files/Transfer/HttpTransport.html +13 -12
  374. data/doc/Files/Transfer/Job.html +1 -1
  375. data/doc/Files/Transfer/Options.html +1 -1
  376. data/doc/Files/Transfer/PausedError.html +1 -1
  377. data/doc/Files/Transfer/Policy.html +1 -1
  378. data/doc/Files/Transfer/RequestPermits.html +1 -1
  379. data/doc/Files/Transfer/SourceChangedError.html +1 -1
  380. data/doc/Files/Transfer/StorageResponse.html +1 -1
  381. data/doc/Files/Transfer/StorageRetry.html +259 -102
  382. data/doc/Files/Transfer/UploadCoordinator/Grant.html +1 -1
  383. data/doc/Files/Transfer/UploadCoordinator/Part.html +1 -1
  384. data/doc/Files/Transfer/UploadCoordinator/Region.html +1 -1
  385. data/doc/Files/Transfer/UploadCoordinator/Segments.html +1 -1
  386. data/doc/Files/Transfer/UploadCoordinator/Source.html +1 -1
  387. data/doc/Files/Transfer/UploadCoordinator/StreamSource.html +1 -1
  388. data/doc/Files/Transfer/UploadCoordinator.html +1 -1
  389. data/doc/Files/Transfer/UploadPlan.html +1 -1
  390. data/doc/Files/Transfer/UrlExpired.html +1 -1
  391. data/doc/Files/Transfer/VersionChangedError.html +1 -1
  392. data/doc/Files/Transfer.html +3 -3
  393. data/doc/Files/TrialExpiredError.html +1 -1
  394. data/doc/Files/TrialLockedError.html +1 -1
  395. data/doc/Files/TwoFactorAuthenticationCodeAlreadySentError.html +1 -1
  396. data/doc/Files/TwoFactorAuthenticationCountryBlacklistedError.html +1 -1
  397. data/doc/Files/TwoFactorAuthenticationErrorError.html +1 -1
  398. data/doc/Files/TwoFactorAuthenticationGeneralErrorError.html +1 -1
  399. data/doc/Files/TwoFactorAuthenticationMethodUnsupportedErrorError.html +1 -1
  400. data/doc/Files/TwoFactorAuthenticationRequiredError.html +1 -1
  401. data/doc/Files/TwoFactorAuthenticationSetupExpiredError.html +1 -1
  402. data/doc/Files/TwoFactorAuthenticationUnsubscribedRecipientError.html +1 -1
  403. data/doc/Files/URI.html +1 -1
  404. data/doc/Files/UnrecognizedSortIndexError.html +1 -1
  405. data/doc/Files/UnsupportedCurrencyError.html +1 -1
  406. data/doc/Files/UnsupportedHttpResponseFormatError.html +1 -1
  407. data/doc/Files/UnsupportedMediaTypeError.html +1 -1
  408. data/doc/Files/UpdatesNotAllowedForRemotesError.html +1 -1
  409. data/doc/Files/UploadFinalization.html +1 -1
  410. data/doc/Files/UploadsUnavailableError.html +1 -1
  411. data/doc/Files/UsageByTopLevelDir.html +1 -1
  412. data/doc/Files/UsageDailySnapshot.html +1 -1
  413. data/doc/Files/UsageSnapshot.html +1 -1
  414. data/doc/Files/User.html +1 -1
  415. data/doc/Files/UserAdditionalEmailRecipient.html +1 -1
  416. data/doc/Files/UserCipherUse.html +1 -1
  417. data/doc/Files/UserIdInvalidError.html +1 -1
  418. data/doc/Files/UserIdOnUserEndpointError.html +1 -1
  419. data/doc/Files/UserIdWithoutSiteAdminError.html +1 -1
  420. data/doc/Files/UserLifecycleRule.html +1 -1
  421. data/doc/Files/UserNotFoundError.html +1 -1
  422. data/doc/Files/UserRequest.html +1 -1
  423. data/doc/Files/UserRequestsEnabledRequiredError.html +1 -1
  424. data/doc/Files/UserRequiredError.html +1 -1
  425. data/doc/Files/UserSecurityEvent.html +1 -1
  426. data/doc/Files/UserSftpClientUse.html +1 -1
  427. data/doc/Files/Util/LogSettings.html +1 -1
  428. data/doc/Files/Util.html +1 -1
  429. data/doc/Files/WebDavActionLog.html +1 -1
  430. data/doc/Files/WebhookTest.html +1 -1
  431. data/doc/Files/Workspace.html +1 -1
  432. data/doc/Files/WriteAndBundlePermissionRequiredError.html +1 -1
  433. data/doc/Files/WritePermissionRequiredError.html +1 -1
  434. data/doc/Files/ZipListEntry.html +1 -1
  435. data/doc/Files.html +167 -101
  436. data/doc/_index.html +8 -1
  437. data/doc/class_list.html +1 -1
  438. data/doc/file.README.html +11 -2
  439. data/doc/index.html +11 -2
  440. data/doc/method_list.html +2815 -2727
  441. data/doc/top-level-namespace.html +1 -1
  442. data/docs/file.md +21 -5
  443. data/lib/files.com/api.rb +1 -0
  444. data/lib/files.com/api_client.rb +23 -2
  445. data/lib/files.com/models/file.rb +11 -7
  446. data/lib/files.com/transfer/attempts.rb +3 -2
  447. data/lib/files.com/transfer/download_coordinator.rb +104 -16
  448. data/lib/files.com/transfer/download_date.rb +44 -0
  449. data/lib/files.com/transfer/http_transport.rb +14 -9
  450. data/lib/files.com/transfer/storage_retry.rb +22 -4
  451. data/lib/files.com.rb +3 -0
  452. data/spec/models/native_file_spec.rb +4 -2
  453. data/spec/transfer/adaptive_download_spec.rb +335 -4
  454. metadata +3 -1
@@ -0,0 +1,467 @@
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::Transfer::DownloadDate
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::Transfer::DownloadDate";
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 (D)</a> &raquo;
42
+ <span class='title'><span class='object_link'><a href="../../Files.html" title="Files (module)">Files</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Transfer.html" title="Files::Transfer (module)">Transfer</a></span></span>
43
+ &raquo;
44
+ <span class="title">DownloadDate</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::Transfer::DownloadDate
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::Transfer::DownloadDate</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/transfer/download_date.rb
100
+ </dd>
101
+ </dl>
102
+
103
+ </div>
104
+
105
+ <h2>Overview</h2><div class="docstring">
106
+ <div class="discussion">
107
+ <p>A best-effort HTTP date precondition for one download, never a strong version or checkpoint identity.</p>
108
+
109
+ </div>
110
+ </div>
111
+ <div class="tags">
112
+
113
+
114
+ </div>
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+ <h2>
123
+ Class Method Summary
124
+ <small><a href="#" class="summary_toggle">collapse</a></small>
125
+ </h2>
126
+
127
+ <ul class="summary">
128
+
129
+ <li class="public ">
130
+ <span class="summary_signature">
131
+
132
+ <a href="#enabled-class_method" title="enabled (class method)">.<strong>enabled</strong>(options = {}, override = nil) &#x21d2; Object </a>
133
+
134
+
135
+
136
+ </span>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+ <span class="summary_desc"><div class='inline'></div></span>
147
+
148
+ </li>
149
+
150
+
151
+ </ul>
152
+
153
+
154
+ <h2>
155
+ Instance Method Summary
156
+ <small><a href="#" class="summary_toggle">collapse</a></small>
157
+ </h2>
158
+
159
+ <ul class="summary">
160
+
161
+ <li class="public ">
162
+ <span class="summary_signature">
163
+
164
+ <a href="#accept%3F-instance_method" title="#accept? (instance method)">#<strong>accept?</strong>(value) &#x21d2; Boolean </a>
165
+
166
+
167
+
168
+ </span>
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+ <span class="summary_desc"><div class='inline'><p>A valid newer date refuses the response before any body reaches its destination.</p></div></span>
179
+
180
+ </li>
181
+
182
+
183
+ <li class="public ">
184
+ <span class="summary_signature">
185
+
186
+ <a href="#header-instance_method" title="#header (instance method)">#<strong>header</strong> &#x21d2; Object </a>
187
+
188
+
189
+
190
+ </span>
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+ <span class="summary_desc"><div class='inline'></div></span>
201
+
202
+ </li>
203
+
204
+
205
+ <li class="public ">
206
+ <span class="summary_signature">
207
+
208
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(enabled: true) &#x21d2; DownloadDate </a>
209
+
210
+
211
+
212
+ </span>
213
+
214
+
215
+ <span class="note title constructor">constructor</span>
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+ <span class="summary_desc"><div class='inline'><p>A new instance of DownloadDate.</p></div></span>
225
+
226
+ </li>
227
+
228
+
229
+ </ul>
230
+
231
+
232
+
233
+ <div id="constructor_details" class="method_details_list">
234
+ <h2>Constructor Details</h2>
235
+
236
+ <div class="method_details first">
237
+ <h3 class="signature first" id="initialize-instance_method">
238
+
239
+ #<strong>initialize</strong>(enabled: true) &#x21d2; <tt><span class='object_link'><a href="" title="Files::Transfer::DownloadDate (class)">DownloadDate</a></span></tt>
240
+
241
+
242
+
243
+
244
+
245
+ </h3><div class="docstring">
246
+ <div class="discussion">
247
+ <p>Returns a new instance of DownloadDate.</p>
248
+
249
+ </div>
250
+ </div>
251
+ <div class="tags">
252
+
253
+
254
+ </div><table class="source_code">
255
+ <tr>
256
+ <td>
257
+ <pre class="lines">
258
+
259
+
260
+ 16
261
+ 17
262
+ 18</pre>
263
+ </td>
264
+ <td>
265
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_date.rb', line 16</span>
266
+
267
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>enabled:</span> <span class='kw'>true</span><span class='rparen'>)</span>
268
+ <span class='ivar'>@enabled</span> <span class='op'>=</span> <span class='id identifier rubyid_enabled'>enabled</span>
269
+ <span class='kw'>end</span></pre>
270
+ </td>
271
+ </tr>
272
+ </table>
273
+ </div>
274
+
275
+ </div>
276
+
277
+
278
+ <div id="class_method_details" class="method_details_list">
279
+ <h2>Class Method Details</h2>
280
+
281
+
282
+ <div class="method_details first">
283
+ <h3 class="signature first" id="enabled-class_method">
284
+
285
+ .<strong>enabled</strong>(options = {}, override = nil) &#x21d2; <tt>Object</tt>
286
+
287
+
288
+
289
+
290
+
291
+ </h3><div class="docstring">
292
+ <div class="discussion">
293
+
294
+
295
+ </div>
296
+ </div>
297
+ <div class="tags">
298
+
299
+ <p class="tag_title">Raises:</p>
300
+ <ul class="raise">
301
+
302
+ <li>
303
+
304
+
305
+ <span class='type'>(<tt><span class='object_link'><a href="../InvalidParameterError.html" title="Files::InvalidParameterError (class)">Files::InvalidParameterError</a></span></tt>)</span>
306
+
307
+
308
+
309
+ </li>
310
+
311
+ </ul>
312
+
313
+ </div><table class="source_code">
314
+ <tr>
315
+ <td>
316
+ <pre class="lines">
317
+
318
+
319
+ 9
320
+ 10
321
+ 11
322
+ 12
323
+ 13
324
+ 14</pre>
325
+ </td>
326
+ <td>
327
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_date.rb', line 9</span>
328
+
329
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_enabled'>enabled</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_override'>override</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
330
+ <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='id identifier rubyid_override'>override</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:check_download_modification_time</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='const'><span class='object_link'><a href="../../Files.html" title="Files (module)">Files</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../File.html" title="Files::File (class)">File</a></span></span><span class='period'>.</span><span class='id identifier rubyid_client'><span class='object_link'><a href="../File.html#client-class_method" title="Files::File.client (method)">client</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_check_download_modification_time'>check_download_modification_time</span> <span class='rbrace'>}</span> <span class='op'>:</span> <span class='id identifier rubyid_override'>override</span>
331
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="../../Files.html" title="Files (module)">Files</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../InvalidParameterError.html" title="Files::InvalidParameterError (class)">InvalidParameterError</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>check_download_modification_time must be a boolean</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_equal?'>equal?</span><span class='lparen'>(</span><span class='kw'>true</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_equal?'>equal?</span><span class='lparen'>(</span><span class='kw'>false</span><span class='rparen'>)</span>
332
+
333
+ <span class='id identifier rubyid_value'>value</span>
334
+ <span class='kw'>end</span></pre>
335
+ </td>
336
+ </tr>
337
+ </table>
338
+ </div>
339
+
340
+ </div>
341
+
342
+ <div id="instance_method_details" class="method_details_list">
343
+ <h2>Instance Method Details</h2>
344
+
345
+
346
+ <div class="method_details first">
347
+ <h3 class="signature first" id="accept?-instance_method">
348
+
349
+ #<strong>accept?</strong>(value) &#x21d2; <tt>Boolean</tt>
350
+
351
+
352
+
353
+
354
+
355
+ </h3><div class="docstring">
356
+ <div class="discussion">
357
+ <p>A valid newer date refuses the response before any body reaches its destination. Missing or invalid metadata
358
+ stays compatible. HTTP-date has one-second precision; an earlier or equal date passes, as the server permits.</p>
359
+
360
+ </div>
361
+ </div>
362
+ <div class="tags">
363
+
364
+ <p class="tag_title">Returns:</p>
365
+ <ul class="return">
366
+
367
+ <li>
368
+
369
+
370
+ <span class='type'>(<tt>Boolean</tt>)</span>
371
+
372
+
373
+
374
+ </li>
375
+
376
+ </ul>
377
+
378
+ </div><table class="source_code">
379
+ <tr>
380
+ <td>
381
+ <pre class="lines">
382
+
383
+
384
+ 26
385
+ 27
386
+ 28
387
+ 29
388
+ 30
389
+ 31
390
+ 32
391
+ 33
392
+ 34
393
+ 35
394
+ 36
395
+ 37
396
+ 38
397
+ 39
398
+ 40
399
+ 41</pre>
400
+ </td>
401
+ <td>
402
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_date.rb', line 26</span>
403
+
404
+ <span class='kw'>def</span> <span class='id identifier rubyid_accept?'>accept?</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
405
+ <span class='kw'>return</span> <span class='kw'>true</span> <span class='kw'>unless</span> <span class='ivar'>@enabled</span>
406
+
407
+ <span class='id identifier rubyid_modified'>modified</span> <span class='op'>=</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_httpdate'>httpdate</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_utc'>utc</span> <span class='kw'>if</span> <span class='id identifier rubyid_value'>value</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>
408
+ <span class='kw'>return</span> <span class='kw'>true</span> <span class='kw'>unless</span> <span class='id identifier rubyid_modified'>modified</span>
409
+
410
+ <span class='id identifier rubyid_day'>day</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>,</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>, </span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='int'>2</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span> <span class='op'>:</span> <span class='id identifier rubyid_value'>value</span><span class='lbracket'>[</span><span class='int'>8</span><span class='comma'>,</span> <span class='int'>2</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
411
+ <span class='id identifier rubyid_clock'>clock</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span><span class='lbracket'>[</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>[0-9]{2}:[0-9]{2}:[0-9]{2}</span><span class='regexp_end'>/</span></span><span class='rbracket'>]</span>
412
+ <span class='kw'>return</span> <span class='kw'>true</span> <span class='kw'>unless</span> <span class='id identifier rubyid_modified'>modified</span><span class='period'>.</span><span class='id identifier rubyid_day'>day</span> <span class='op'>==</span> <span class='id identifier rubyid_day'>day</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_clock'>clock</span> <span class='op'>==</span> <span class='id identifier rubyid_modified'>modified</span><span class='period'>.</span><span class='id identifier rubyid_strftime'>strftime</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>%H:%M:%S</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_value'>value</span><span class='lbracket'>[</span><span class='int'>0</span><span class='comma'>,</span> <span class='int'>3</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='id identifier rubyid_modified'>modified</span><span class='period'>.</span><span class='id identifier rubyid_httpdate'>httpdate</span><span class='lbracket'>[</span><span class='int'>0</span><span class='comma'>,</span> <span class='int'>3</span><span class='rbracket'>]</span>
413
+ <span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>if</span> <span class='ivar'>@baseline</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_modified'>modified</span> <span class='op'>&gt;</span> <span class='ivar'>@baseline</span>
414
+
415
+ <span class='ivar'>@baseline</span> <span class='op'>||=</span> <span class='id identifier rubyid_modified'>modified</span>
416
+ <span class='kw'>true</span>
417
+ <span class='kw'>rescue</span> <span class='const'>ArgumentError</span>
418
+ <span class='kw'>true</span>
419
+ <span class='kw'>end</span></pre>
420
+ </td>
421
+ </tr>
422
+ </table>
423
+ </div>
424
+
425
+ <div class="method_details ">
426
+ <h3 class="signature " id="header-instance_method">
427
+
428
+ #<strong>header</strong> &#x21d2; <tt>Object</tt>
429
+
430
+
431
+
432
+
433
+
434
+ </h3><table class="source_code">
435
+ <tr>
436
+ <td>
437
+ <pre class="lines">
438
+
439
+
440
+ 20
441
+ 21
442
+ 22</pre>
443
+ </td>
444
+ <td>
445
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_date.rb', line 20</span>
446
+
447
+ <span class='kw'>def</span> <span class='id identifier rubyid_header'>header</span>
448
+ <span class='ivar'>@enabled</span> <span class='op'>?</span> <span class='ivar'>@baseline</span><span class='op'>&amp;.</span><span class='id identifier rubyid_httpdate'>httpdate</span> <span class='op'>:</span> <span class='kw'>nil</span>
449
+ <span class='kw'>end</span></pre>
450
+ </td>
451
+ </tr>
452
+ </table>
453
+ </div>
454
+
455
+ </div>
456
+
457
+ </div>
458
+
459
+ <div id="footer">
460
+ Generated on Sat Nov 14 22:52:42 2026 by
461
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
462
+ 0.9.45 (ruby-4.0.9).
463
+ </div>
464
+
465
+ </div>
466
+ </body>
467
+ </html>
@@ -470,7 +470,7 @@
470
470
  </div>
471
471
 
472
472
  <div id="footer">
473
- Generated on Fri Nov 13 16:04:52 2026 by
473
+ Generated on Sat Nov 14 22:52:32 2026 by
474
474
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
475
475
  0.9.45 (ruby-4.0.9).
476
476
  </div>
@@ -225,7 +225,7 @@ it is written.</p>
225
225
  </div>
226
226
 
227
227
  <div id="footer">
228
- Generated on Fri Nov 13 16:04:52 2026 by
228
+ Generated on Sat Nov 14 22:52:31 2026 by
229
229
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
230
230
  0.9.45 (ruby-4.0.9).
231
231
  </div>
@@ -495,7 +495,7 @@ destination is an origin: its scheme, host and port. Its methods run under the j
495
495
  </div>
496
496
 
497
497
  <div id="footer">
498
- Generated on Fri Nov 13 16:04:52 2026 by
498
+ Generated on Sat Nov 14 22:52:32 2026 by
499
499
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
500
500
  0.9.45 (ruby-4.0.9).
501
501
  </div>
@@ -227,7 +227,7 @@ credentials: a signed URL is its own authority.</p>
227
227
  <li class="public ">
228
228
  <span class="summary_signature">
229
229
 
230
- <a href="#perform-instance_method" title="#perform (instance method)">#<strong>perform</strong>(method, url, headers, connections, body: nil, length: nil, timing: nil, &amp;on_success) &#x21d2; Object </a>
230
+ <a href="#perform-instance_method" title="#perform (instance method)">#<strong>perform</strong>(method, url, headers, connections, body: nil, length: nil, timing: nil, on_error_chunk: nil, &amp;on_success) &#x21d2; Object </a>
231
231
 
232
232
 
233
233
 
@@ -344,13 +344,13 @@ credentials: a signed URL is its own authority.</p>
344
344
  <pre class="lines">
345
345
 
346
346
 
347
- 82
348
347
  83
349
348
  84
350
- 85</pre>
349
+ 85
350
+ 86</pre>
351
351
  </td>
352
352
  <td>
353
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 82</span>
353
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 83</span>
354
354
 
355
355
  <span class='kw'>def</span> <span class='id identifier rubyid_close_all'>close_all</span><span class='lparen'>(</span><span class='id identifier rubyid_connections'>connections</span><span class='rparen'>)</span>
356
356
  <span class='id identifier rubyid_connections'>connections</span><span class='period'>.</span><span class='id identifier rubyid_each_value'>each_value</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_http'>http</span><span class='op'>|</span> <span class='id identifier rubyid_finish'>finish</span><span class='lparen'>(</span><span class='id identifier rubyid_http'>http</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
@@ -426,7 +426,7 @@ through ClientTransport.</p>
426
426
  <div class="method_details ">
427
427
  <h3 class="signature " id="perform-instance_method">
428
428
 
429
- #<strong>perform</strong>(method, url, headers, connections, body: nil, length: nil, timing: nil, &amp;on_success) &#x21d2; <tt>Object</tt>
429
+ #<strong>perform</strong>(method, url, headers, connections, body: nil, length: nil, timing: nil, on_error_chunk: nil, &amp;on_success) &#x21d2; <tt>Object</tt>
430
430
 
431
431
 
432
432
 
@@ -440,7 +440,8 @@ without holding them. With a block, a 2xx response is passed to it with its body
440
440
  the response's body; the block reads it as it arrives. An error from the block is raised as it is, unless it is a
441
441
  network error, which is raised, as one before the response, as a NetworkFailure. timing, when given, is told as
442
442
  the send starts (connection setup included), as the response headers arrive, and once the block, or the read of
443
- any other response's body, has finished.</p>
443
+ any other response's body, has finished. on_error_chunk, when given, is called as each chunk of any other
444
+ response's body arrives, before it is kept; what it raises ends the request there, closing its connection.</p>
444
445
 
445
446
  </div>
446
447
  </div>
@@ -453,7 +454,6 @@ any other response's body, has finished.</p>
453
454
  <pre class="lines">
454
455
 
455
456
 
456
- 56
457
457
  57
458
458
  58
459
459
  59
@@ -477,12 +477,13 @@ any other response's body, has finished.</p>
477
477
  77
478
478
  78
479
479
  79
480
- 80</pre>
480
+ 80
481
+ 81</pre>
481
482
  </td>
482
483
  <td>
483
- <pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 56</span>
484
+ <pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 57</span>
484
485
 
485
- <span class='kw'>def</span> <span class='id identifier rubyid_perform'>perform</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='comma'>,</span> <span class='id identifier rubyid_connections'>connections</span><span class='comma'>,</span> <span class='label'>body:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>length:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>timing:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_on_success'>on_success</span><span class='rparen'>)</span>
486
+ <span class='kw'>def</span> <span class='id identifier rubyid_perform'>perform</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='comma'>,</span> <span class='id identifier rubyid_connections'>connections</span><span class='comma'>,</span> <span class='label'>body:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>length:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>timing:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>on_error_chunk:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_on_success'>on_success</span><span class='rparen'>)</span>
486
487
  <span class='id identifier rubyid_uri'>uri</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>URI</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='rparen'>)</span>
487
488
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTPGenericRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_upcase'>upcase</span><span class='comma'>,</span> <span class='op'>!</span><span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span><span class='comma'>,</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_request_uri'>request_uri</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
488
489
  <span class='kw'>if</span> <span class='id identifier rubyid_body'>body</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>
@@ -495,7 +496,7 @@ any other response's body, has finished.</p>
495
496
  <span class='id identifier rubyid_timing'>timing</span><span class='op'>&amp;.</span><span class='id identifier rubyid_sending'>sending</span>
496
497
  <span class='id identifier rubyid_connection'>connection</span><span class='lparen'>(</span><span class='id identifier rubyid_uri'>uri</span><span class='comma'>,</span> <span class='id identifier rubyid_connections'>connections</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_request'>request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_response'>response</span><span class='op'>|</span>
497
498
  <span class='id identifier rubyid_timing'>timing</span><span class='op'>&amp;.</span><span class='id identifier rubyid_headers'>headers</span>
498
- <span class='id identifier rubyid_kept'>kept</span><span class='comma'>,</span> <span class='id identifier rubyid_truncated'>truncated</span> <span class='op'>=</span> <span class='id identifier rubyid_on_success'>on_success</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTPSuccess</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='lbracket'>[</span> <span class='id identifier rubyid_on_success'>on_success</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='kw'>false</span> <span class='rbracket'>]</span> <span class='op'>:</span> <span class='id identifier rubyid_limited_body'>limited_body</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span>
499
+ <span class='id identifier rubyid_kept'>kept</span><span class='comma'>,</span> <span class='id identifier rubyid_truncated'>truncated</span> <span class='op'>=</span> <span class='id identifier rubyid_on_success'>on_success</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTPSuccess</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='lbracket'>[</span> <span class='id identifier rubyid_on_success'>on_success</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='kw'>false</span> <span class='rbracket'>]</span> <span class='op'>:</span> <span class='id identifier rubyid_limited_body'>limited_body</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_on_error_chunk'>on_error_chunk</span><span class='rparen'>)</span>
499
500
  <span class='id identifier rubyid_timing'>timing</span><span class='op'>&amp;.</span><span class='id identifier rubyid_body'>body</span>
500
501
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="StorageResponse.html" title="Files::Transfer::StorageResponse (class)">StorageResponse</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>status:</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_code'>code</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span><span class='comma'>,</span> <span class='label'>headers:</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span><span class='comma'>,</span> <span class='label'>body:</span> <span class='id identifier rubyid_kept'>kept</span><span class='comma'>,</span> <span class='label'>truncated:</span> <span class='id identifier rubyid_truncated'>truncated</span><span class='rparen'>)</span>
501
502
  <span class='kw'>end</span>
@@ -569,7 +570,7 @@ any other response's body, has finished.</p>
569
570
  </div>
570
571
 
571
572
  <div id="footer">
572
- Generated on Fri Nov 13 16:05:06 2026 by
573
+ Generated on Sat Nov 14 22:52:43 2026 by
573
574
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
574
575
  0.9.45 (ruby-4.0.9).
575
576
  </div>
@@ -2328,7 +2328,7 @@ time when given; the caller looks at its deadline again after it.</p>
2328
2328
  </div>
2329
2329
 
2330
2330
  <div id="footer">
2331
- Generated on Fri Nov 13 16:04:48 2026 by
2331
+ Generated on Sat Nov 14 22:52:28 2026 by
2332
2332
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2333
2333
  0.9.45 (ruby-4.0.9).
2334
2334
  </div>
@@ -914,7 +914,7 @@ The default is 256 MiB.</p></dd>
914
914
  </div>
915
915
 
916
916
  <div id="footer">
917
- Generated on Fri Nov 13 16:04:52 2026 by
917
+ Generated on Sat Nov 14 22:52:32 2026 by
918
918
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
919
919
  0.9.45 (ruby-4.0.9).
920
920
  </div>
@@ -310,7 +310,7 @@ the checkpoint it was given, still usable.</p>
310
310
  </div>
311
311
 
312
312
  <div id="footer">
313
- Generated on Fri Nov 13 16:04:52 2026 by
313
+ Generated on Sat Nov 14 22:52:31 2026 by
314
314
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
315
315
  0.9.45 (ruby-4.0.9).
316
316
  </div>
@@ -1632,7 +1632,7 @@ storage's 20 and 34, scaled to its maximum of 16.</p>
1632
1632
  </div>
1633
1633
 
1634
1634
  <div id="footer">
1635
- Generated on Fri Nov 13 16:04:52 2026 by
1635
+ Generated on Sat Nov 14 22:52:31 2026 by
1636
1636
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1637
1637
  0.9.45 (ruby-4.0.9).
1638
1638
  </div>