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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: beea74f5e1c6e5a01672cbea0d9e4be674753257575ce6f884571d3b919d325c
4
- data.tar.gz: 50465199e1fda26111292d0a568b25a84c2e28440fac9998569bd55e04fbf4ee
3
+ metadata.gz: ffe913947c325f060f985efded7cd3a34e23bcf32587c8ce47bea195d85cbb45
4
+ data.tar.gz: 3fb29e6a788ded0069331a35b42b168d6a8958ce85c85ffd38a5ea2ec7a99577
5
5
  SHA512:
6
- metadata.gz: f72f89ec3689d1cdf850246066a945022c5abe3719112357a61e6940ad19458dcea2d1dfe95df20fc93be20674e5809d34e893c6d7dbbf50ff5f47093c74ce2f
7
- data.tar.gz: e96038f24eddebe962c001084fb8f52e05598cc8e3f34891b26203c068fbd1cc14933f126b4b34dc2b481a4339189fc3569d933c273a7085d87cd33e09beef29
6
+ metadata.gz: 922182716e85371f04a925e7debb6565331e5837401324a33dd5890f25a238c5722a2f8361b77d9f0c3ff8418bfa7fb15d73dd0c260da632f1283ea426e3c900
7
+ data.tar.gz: fec5ed8c27bc6f5589c5a5325d876bb2b4ec635536c8fa72afbec5812d0f468b060c28930ba7afedcf66b95bfa143022613aa545fc9ca05da35aab0a419fe8e0
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.18
1
+ 1.1.19
@@ -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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.18"
4
+ VERSION = "1.1.19"
5
5
  end
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.18
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-29 00:00:00.000000000 Z
11
+ date: 2024-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable