files.com 1.0.189 → 1.0.190

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40d2d0562111f13b8fb68612cfec2bc9112431838a967c1668bd8306c2171583
4
- data.tar.gz: ba800783d0620e2c3a22ead72b2863c6ae091eaa54c94f0348809c25fce1e5c9
3
+ metadata.gz: c1beb1fa8984b8e5d13357616d7107fcb13c802ad6caf64cf1836aeeafeb4061
4
+ data.tar.gz: 283076bd5dcfc8497972b8f8b930d0a2f9fd1d6957e16eef9aef72cc6a21c501
5
5
  SHA512:
6
- metadata.gz: b8e711b882f506b926006d256d5df91fe41d0f8223c69a4cd3340c17fab90111bf651eacc367f0db443e0754792f1664809c69438c1787d551a45530fb9d5983
7
- data.tar.gz: b87a6089bd45463e1f9bcedf6f17c5c8509beb0b20aea3830da765d82e504ecb423551c14f792e44bb2dcece0f67745592b4794b8af30ce908d271eccb46dec5
6
+ metadata.gz: debedaf9988b6593ebd6eaff688b5dfd8d43fd9f61b26fba36bd1451db3489cd74ced9b4fb8a8866fd02edbe6f49dad6e2a212f5d45d38b2a02e5bc6cb389284
7
+ data.tar.gz: 8eb85cc1a3b52cfdc392b261f4f769add7755ae3a1dfb435fe3db3f9e5002b022c50d2842363bdf95c5dd7e4fded09546f947411e6d4a577fa63dcef7093c7db
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.189
1
+ 1.0.190
@@ -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): Required - ID of the associated Bundle
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 (required) - int64 - ID of the associated Bundle
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.189
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-07-28 00:00:00.000000000 Z
11
+ date: 2021-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable