files.com 1.0.189 → 1.0.190
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/_VERSION +1 -1
- data/docs/bundle_registration.md +1 -1
- data/lib/files.com/models/bundle_registration.rb +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c1beb1fa8984b8e5d13357616d7107fcb13c802ad6caf64cf1836aeeafeb4061
|
|
4
|
+
data.tar.gz: 283076bd5dcfc8497972b8f8b930d0a2f9fd1d6957e16eef9aef72cc6a21c501
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: debedaf9988b6593ebd6eaff688b5dfd8d43fd9f61b26fba36bd1451db3489cd74ced9b4fb8a8866fd02edbe6f49dad6e2a212f5d45d38b2a02e5bc6cb389284
|
|
7
|
+
data.tar.gz: 8eb85cc1a3b52cfdc392b261f4f769add7755ae3a1dfb435fe3db3f9e5002b022c50d2842363bdf95c5dd7e4fded09546f947411e6d4a577fa63dcef7093c7db
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.190
|
data/docs/bundle_registration.md
CHANGED
|
@@ -42,4 +42,4 @@ Files::BundleRegistration.list(
|
|
|
42
42
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
43
43
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
|
44
44
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
45
|
-
* `bundle_id` (int64):
|
|
45
|
+
* `bundle_id` (int64): ID of the associated Bundle
|
|
@@ -53,13 +53,12 @@ module Files
|
|
|
53
53
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
54
54
|
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
|
55
55
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
56
|
-
# bundle_id
|
|
56
|
+
# bundle_id - int64 - ID of the associated Bundle
|
|
57
57
|
def self.list(params = {}, options = {})
|
|
58
58
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
|
59
59
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
|
60
60
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
|
61
61
|
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params.dig(:bundle_id) and !params.dig(:bundle_id).is_a?(Integer)
|
|
62
|
-
raise MissingParameterError.new("Parameter missing: bundle_id") unless params.dig(:bundle_id)
|
|
63
62
|
|
|
64
63
|
List.new(BundleRegistration, params) do
|
|
65
64
|
Api.send_request("/bundle_registrations", :get, params, options)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: files.com
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.190
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-08-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|