files.com 1.1.582 → 1.1.584
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 +4 -1
- data/_VERSION +1 -1
- data/lib/files.com/errors.rb +1 -0
- 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: 399d304d2c98204d465ad03d72e5df9f3ebdbea359f3e55bde756c686e98c166
|
|
4
|
+
data.tar.gz: 28069a5212effbe750041db772a33aa781c4562b1f2d93a75a8cbdf1e94df5f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ec58f19be8e362d73afd6f28f26cfba5f85b8e20fcdff683716dc7570aff0fc819b99e545978b6d89f90bbd65aabaa4856536f6f299f364d69109be96a44c85
|
|
7
|
+
data.tar.gz: 1fbd7ea5d2608d4695f82f25222ecc9db74153927ef700cdad51b0fa906ef79f7e1d3c4064ea9b20e9d8b565894cbd46c2b334f3879f70c07592c33ff9d0acd8
|
data/README.md
CHANGED
|
@@ -159,7 +159,9 @@ The Ruby SDK is configured by setting attributes on the `Files` object.
|
|
|
159
159
|
|
|
160
160
|
#### Base URL
|
|
161
161
|
|
|
162
|
-
|
|
162
|
+
Set this to the full https:// URL of your Files.com subdomain (e.g. `https://MY-SUBDOMAIN.files.com`).
|
|
163
|
+
This is not required in most cases, but one benefit of setting it is that it ensures that authentication failures will be logged to your site's API logs. Without setting this, we won't know which site to associate the authentication failure with, and it won't be logged to your site's API logs.
|
|
164
|
+
This is always required if your site is configured to disable global acceleration.
|
|
163
165
|
This can also be set to use a mock server in development or CI.
|
|
164
166
|
|
|
165
167
|
```ruby title="Example setting"
|
|
@@ -563,6 +565,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
|
|
|
563
565
|
|`PasswordChangeNotRequiredError`| `NotAuthorizedError` |
|
|
564
566
|
|`PasswordChangeRequiredError`| `NotAuthorizedError` |
|
|
565
567
|
|`PaymentMethodErrorError`| `NotAuthorizedError` |
|
|
568
|
+
|`PreviewOnlyPermissionCannotDownloadError`| `NotAuthorizedError` |
|
|
566
569
|
|`ReadOnlySessionError`| `NotAuthorizedError` |
|
|
567
570
|
|`ReadPermissionRequiredError`| `NotAuthorizedError` |
|
|
568
571
|
|`ReauthenticationFailedError`| `NotAuthorizedError` |
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.584
|
data/lib/files.com/errors.rb
CHANGED
|
@@ -143,6 +143,7 @@ module Files
|
|
|
143
143
|
class PasswordChangeNotRequiredError < NotAuthorizedError; end
|
|
144
144
|
class PasswordChangeRequiredError < NotAuthorizedError; end
|
|
145
145
|
class PaymentMethodErrorError < NotAuthorizedError; end
|
|
146
|
+
class PreviewOnlyPermissionCannotDownloadError < NotAuthorizedError; end
|
|
146
147
|
class ReadOnlySessionError < NotAuthorizedError; end
|
|
147
148
|
class ReadPermissionRequiredError < NotAuthorizedError; end
|
|
148
149
|
class ReauthenticationFailedError < NotAuthorizedError; end
|
data/lib/files.com/version.rb
CHANGED