files.com 1.1.18 → 1.1.19
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 +5 -5
- data/lib/files.com/models/bundle_notification.rb +2 -2
- data/lib/files.com/version.rb +1 -1
- 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: ffe913947c325f060f985efded7cd3a34e23bcf32587c8ce47bea195d85cbb45
|
4
|
+
data.tar.gz: 3fb29e6a788ded0069331a35b42b168d6a8958ce85c85ffd38a5ea2ec7a99577
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 922182716e85371f04a925e7debb6565331e5837401324a33dd5890f25a238c5722a2f8361b77d9f0c3ff8418bfa7fb15d73dd0c260da632f1283ea426e3c900
|
7
|
+
data.tar.gz: fec5ed8c27bc6f5589c5a5325d876bb2b4ec635536c8fa72afbec5812d0f468b060c28930ba7afedcf66b95bfa143022613aa545fc9ca05da35aab0a419fe8e0
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.19
|
data/docs/bundle_notification.md
CHANGED
@@ -56,19 +56,19 @@ Files::BundleNotification.find(id)
|
|
56
56
|
|
57
57
|
```
|
58
58
|
Files::BundleNotification.create(
|
59
|
-
notify_on_registration: true,
|
60
|
-
notify_on_upload: true,
|
61
59
|
bundle_id: 1,
|
62
|
-
user_id: 1
|
60
|
+
user_id: 1,
|
61
|
+
notify_on_registration: true,
|
62
|
+
notify_on_upload: true
|
63
63
|
)
|
64
64
|
```
|
65
65
|
|
66
66
|
### Parameters
|
67
67
|
|
68
|
-
* `notify_on_registration` (boolean): Triggers bundle notification when a registration action occurs for it.
|
69
|
-
* `notify_on_upload` (boolean): Triggers bundle notification when a upload action occurs for it.
|
70
68
|
* `bundle_id` (int64): Required - Bundle ID to notify on
|
71
69
|
* `user_id` (int64): The id of the user to notify.
|
70
|
+
* `notify_on_registration` (boolean): Triggers bundle notification when a registration action occurs for it.
|
71
|
+
* `notify_on_upload` (boolean): Triggers bundle notification when a upload action occurs for it.
|
72
72
|
|
73
73
|
|
74
74
|
---
|
@@ -130,10 +130,10 @@ module Files
|
|
130
130
|
end
|
131
131
|
|
132
132
|
# Parameters:
|
133
|
-
# notify_on_registration - boolean - Triggers bundle notification when a registration action occurs for it.
|
134
|
-
# notify_on_upload - boolean - Triggers bundle notification when a upload action occurs for it.
|
135
133
|
# bundle_id (required) - int64 - Bundle ID to notify on
|
136
134
|
# user_id - int64 - The id of the user to notify.
|
135
|
+
# notify_on_registration - boolean - Triggers bundle notification when a registration action occurs for it.
|
136
|
+
# notify_on_upload - boolean - Triggers bundle notification when a upload action occurs for it.
|
137
137
|
def self.create(params = {}, options = {})
|
138
138
|
raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
|
139
139
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
data/lib/files.com/version.rb
CHANGED
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.1.
|
4
|
+
version: 1.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|