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 +4 -4
- data/README.md +22 -0
- data/_VERSION +1 -1
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11bd2f9bb9533128c97bf9198afd675c42bc956935f433d2925c20fcf6a72638
|
4
|
+
data.tar.gz: 2b1f492c3470c6fecb11f66b2626b4715be24d70e6a3ddcc7c69034867632caa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
1
|
+
1.1.214
|
data/lib/files.com/version.rb
CHANGED