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 +4 -4
- data/_VERSION +1 -1
- data/docs/bundle_notification.md +1 -1
- data/lib/files.com/models/bundle_notification.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: 107fc72fca0d656c45f04b2b67b876f113ad1f8655550d9897b7b5ec61a28f19
|
4
|
+
data.tar.gz: 1fe0b3bc642c4580c4b7f3c9e1f23a8a5f56c14a63317c786d536b03a4f3549c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed6a254ca2185b3e921f182ca4aefe10f4f19ead3852748bcb7050ad92aef37caddd43884848c44af5803a9db86ebd6401561a7b090738df91f023dd4513ce29
|
7
|
+
data.tar.gz: bb5adb401323c6b682eda5902cbecbaa77a7765e525a3f1412d8d7dbdbe8df976e31b7b6b593c24b9fb0451ff841b8bb6daa6e2cc8da944837acfbedeba895d4
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.322
|
data/docs/bundle_notification.md
CHANGED
@@ -67,7 +67,7 @@ Files::BundleNotification.create(
|
|
67
67
|
|
68
68
|
### Parameters
|
69
69
|
|
70
|
-
* `user_id` (int64):
|
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
|
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.
|
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-
|
11
|
+
date: 2023-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|