files.com 1.1.213 → 1.1.214

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0aa1b1dabdffac54052c89ac87f15ee9ac650bdc965d70828f4e1bc4e7751ec3
4
- data.tar.gz: 7ddc9231cfbb86f353f343e89214aa36618fade837ca97f615d555b6d502a95a
3
+ metadata.gz: 11bd2f9bb9533128c97bf9198afd675c42bc956935f433d2925c20fcf6a72638
4
+ data.tar.gz: 2b1f492c3470c6fecb11f66b2626b4715be24d70e6a3ddcc7c69034867632caa
5
5
  SHA512:
6
- metadata.gz: d80ba5f257c67eddd460a67a60f5f857e21bbddd2f7afbb73e96786d5e2a1358b78ff8971e5e73f4227fe9fe2f1c921135e5f0d9d670a0101a1c2a999ce81fc6
7
- data.tar.gz: 3f373231f8e777bc9eec36c09301732b5d1b30a346c52bbce762429ebbef2b22459352450880308b3ed6f4c49e688d7d86ab366e93cc7ecb5c5ca4734a29d436
6
+ metadata.gz: 90627b2d3b8cd0de08fc7833fd4d6345a22a082a2dad560467a40e2da6ea2f07d5712ef13f4fba2a8edf2072a1cca6fbadd706db024965671ee43aeb4fa9814f
7
+ data.tar.gz: 8025e79d0ca34c65f66cbc568c461f0826317b9d92d46d50e3f55108965fd00ee40dbd95fd4117cea3ca010e1a3d41b8f182e922cdb1c3a8e9e570f73460b6c5
data/README.md CHANGED
@@ -557,6 +557,28 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
557
557
  |`TrialLockedError`| `SiteConfigurationError` |
558
558
  |`UserRequestsEnabledRequiredError`| `SiteConfigurationError` |
559
559
 
560
+ ## {frontmatter.title}
561
+
562
+ Certain API operations return lists of objects. When the number of objects in the list is large,
563
+ the API will paginate the results.
564
+
565
+ The Files.com Ruby SDK automatically paginates through lists of objects by default.
566
+
567
+ ```ruby title="Example Request" hasDataFormatSelector
568
+ begin
569
+ files = Files::Folder.list_for(path,
570
+ search: "some-partial-filename"
571
+ )
572
+ files.auto_paging_each do |file|
573
+ # Operate on file
574
+ end
575
+ rescue Files::NotAuthenticatedError => e
576
+ puts "Authentication Error Occurred (#{e.class.to_s}): " + e.message
577
+ rescue Files::Error => e
578
+ puts "Unknown Error Occurred (#{e.class.to_s}): " + e.message
579
+ end
580
+ ```
581
+
560
582
  ## Case Sensitivity
561
583
 
562
584
  The Files.com API compares files and paths in a case-insensitive manner.
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.213
1
+ 1.1.214
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.213"
4
+ VERSION = "1.1.214"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.213
4
+ version: 1.1.214
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com