files.com 1.0.321 → 1.0.322

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: db677e5647c860d2251c3a38c8badd259dd8aaf0815e176699507168ca130b92
4
- data.tar.gz: 0cb4ec739390153b427aa887cdfd555f01e1081f03925fd1a68f6948e58ca773
3
+ metadata.gz: 107fc72fca0d656c45f04b2b67b876f113ad1f8655550d9897b7b5ec61a28f19
4
+ data.tar.gz: 1fe0b3bc642c4580c4b7f3c9e1f23a8a5f56c14a63317c786d536b03a4f3549c
5
5
  SHA512:
6
- metadata.gz: 29a05dc34cc5d1328ff86fe48a1dfdd9cd3959ccd5e95d5756f2354a273e3e3a6fafab7649527797a7d1dc501385a204bd9e7a0e4885c25654599b8b294f0836
7
- data.tar.gz: abcc39d31aaecbd1dd2dfd7baba45ac27e2618fadebd310f7f1e3133bb6a2b921f90871605506eaae7b95725884b87dcae249c4ea0b8ce7dc5240797135b4e81
6
+ metadata.gz: ed6a254ca2185b3e921f182ca4aefe10f4f19ead3852748bcb7050ad92aef37caddd43884848c44af5803a9db86ebd6401561a7b090738df91f023dd4513ce29
7
+ data.tar.gz: bb5adb401323c6b682eda5902cbecbaa77a7765e525a3f1412d8d7dbdbe8df976e31b7b6b593c24b9fb0451ff841b8bb6daa6e2cc8da944837acfbedeba895d4
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.321
1
+ 1.0.322
@@ -67,7 +67,7 @@ Files::BundleNotification.create(
67
67
 
68
68
  ### Parameters
69
69
 
70
- * `user_id` (int64): Required - The id of the user to notify.
70
+ * `user_id` (int64): The id of the user to notify.
71
71
  * `notify_on_registration` (boolean): Triggers bundle notification when a registration action occurs for it.
72
72
  * `notify_on_upload` (boolean): Triggers bundle notification when a upload action occurs for it.
73
73
  * `bundle_id` (int64): Required - Bundle ID to notify on
@@ -127,14 +127,13 @@ module Files
127
127
  end
128
128
 
129
129
  # Parameters:
130
- # user_id (required) - int64 - The id of the user to notify.
130
+ # user_id - int64 - The id of the user to notify.
131
131
  # notify_on_registration - boolean - Triggers bundle notification when a registration action occurs for it.
132
132
  # notify_on_upload - boolean - Triggers bundle notification when a upload action occurs for it.
133
133
  # bundle_id (required) - int64 - Bundle ID to notify on
134
134
  def self.create(params = {}, options = {})
135
135
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
136
136
  raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
137
- raise MissingParameterError.new("Parameter missing: user_id") unless params[:user_id]
138
137
  raise MissingParameterError.new("Parameter missing: bundle_id") unless params[:bundle_id]
139
138
 
140
139
  response, options = Api.send_request("/bundle_notifications", :post, 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.321
4
+ version: 1.0.322
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-25 00:00:00.000000000 Z
11
+ date: 2023-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable