files.com 1.1.41 → 1.1.42

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: f9186da3def49e941ababb1f4e54541124dfb2d9fcd705ccc2b659b4c6aa70ae
4
- data.tar.gz: 2ec1348fde1a96c1226f731a6accf4b4a2b8390d94bb2bc9c9d4f4e2c51adaa8
3
+ metadata.gz: 023f29be9755d13152e24ad1454e39285d68fa325c2c0379489ad97b59bcdc8e
4
+ data.tar.gz: '0977dc7eb678c085047087a2cba78eebce2eba9385198a79534ba153a716bdd7'
5
5
  SHA512:
6
- metadata.gz: 126104555df89adfa421608d08bd846af50407498269e051417818be496a9fe430b8fa561158dfd8a6dc627bde3c3b6c6e6a9c80acde285b4975cda4da210980
7
- data.tar.gz: 398a9477d9b3be43f767a30c93aca9e22ce2170af5a1a79ad84984aa3164a10e2b7de14635714bdce74e8b3bcb96f673b959072b66454a5c37fed489606e8e96
6
+ metadata.gz: 746e34368c0677e744e1f8c18b694eafe9d973838ead5ef1afda43ddc8cd8018961681a1ec85a1d83a0bebd64131b9babb4837774e5a5b36513faae43b4785e8
7
+ data.tar.gz: a71dac4afbfb97b9c7d5d4a9ebf20243df2a06b64246bce1ac15e248b3dd2c2fe42243ec94376cf984079d7668683202016c197d178b081b031ffa606bb4f711
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.41
1
+ 1.1.42
data/docs/behavior.md CHANGED
@@ -91,6 +91,7 @@ Files::Behavior.list_for(path,
91
91
  ```
92
92
  Files::Behavior.create(
93
93
  value: "{\"method\": \"GET\"}",
94
+ disable_parent_folder_behavior: true,
94
95
  name: "example",
95
96
  description: "example",
96
97
  path: "path",
@@ -102,6 +103,7 @@ Files::Behavior.create(
102
103
 
103
104
  * `value` (string): The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
104
105
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
106
+ * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
105
107
  * `name` (string): Name for this behavior.
106
108
  * `description` (string): Description for this behavior.
107
109
  * `path` (string): Required - Folder behaviors path.
@@ -140,6 +142,7 @@ Files::Behavior.webhook_test(
140
142
  ```
141
143
  Files::Behavior.update(id,
142
144
  value: "{\"method\": \"GET\"}",
145
+ disable_parent_folder_behavior: true,
143
146
  name: "example",
144
147
  description: "example",
145
148
  behavior: "webhook",
@@ -153,6 +156,7 @@ Files::Behavior.update(id,
153
156
  * `id` (int64): Required - Behavior ID.
154
157
  * `value` (string): The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
155
158
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
159
+ * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
156
160
  * `name` (string): Name for this behavior.
157
161
  * `description` (string): Description for this behavior.
158
162
  * `behavior` (string): Behavior type.
@@ -182,6 +186,7 @@ behavior = Files::Behavior.list.first
182
186
 
183
187
  behavior.update(
184
188
  value: "{\"method\": \"GET\"}",
189
+ disable_parent_folder_behavior: true,
185
190
  name: "example",
186
191
  description: "example",
187
192
  behavior: "webhook",
@@ -195,6 +200,7 @@ behavior.update(
195
200
  * `id` (int64): Required - Behavior ID.
196
201
  * `value` (string): The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
197
202
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
203
+ * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
198
204
  * `name` (string): Name for this behavior.
199
205
  * `description` (string): Description for this behavior.
200
206
  * `behavior` (string): Behavior type.
@@ -102,6 +102,7 @@ module Files
102
102
  # Parameters:
103
103
  # value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
104
104
  # attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
105
+ # disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
105
106
  # name - string - Name for this behavior.
106
107
  # description - string - Description for this behavior.
107
108
  # behavior - string - Behavior type.
@@ -216,6 +217,7 @@ module Files
216
217
  # Parameters:
217
218
  # value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
218
219
  # attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
220
+ # disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
219
221
  # name - string - Name for this behavior.
220
222
  # description - string - Description for this behavior.
221
223
  # path (required) - string - Folder behaviors path.
@@ -256,6 +258,7 @@ module Files
256
258
  # Parameters:
257
259
  # value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
258
260
  # attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
261
+ # disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
259
262
  # name - string - Name for this behavior.
260
263
  # description - string - Description for this behavior.
261
264
  # behavior - string - Behavior type.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.41"
4
+ VERSION = "1.1.42"
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.41
4
+ version: 1.1.42
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-04-15 00:00:00.000000000 Z
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable