files.com 1.1.716 → 1.1.717

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05f4d47d080b45c7556a0e3b723323e3ee503146ce7493ef942024ba9fa662f7
4
- data.tar.gz: 33faa19358b36feecd4b77c8a83d14829c35f3c8bfc8420d7156652e10f936c9
3
+ metadata.gz: e37c3544323a72647c37e95fe9e35bbe6ccfe6a3f6332488de57166bbdfff33a
4
+ data.tar.gz: 65a935ff85893faa2b8fee83b5659cdb87329da867aae793177ab3157ab07209
5
5
  SHA512:
6
- metadata.gz: 5922016fa4c1c9ef7e3cba40b15c6856571034dedbb3c6e2675394d349bf2a182e304be3283bd8706ee599887a03984164d5d94363687adc9ce2d57ea2f07e2f
7
- data.tar.gz: a672e7cd839a2c79f47c01abe996bbec39c075e6d84f36e4937d3db1c59ba8cd9d6ae02827c04dd1b03eff765ee442780777f08550303f009c31b6cea6fd7038
6
+ metadata.gz: '0900d72a977aebe60d6e6815e7323ca736f72b9bc328c215d7789e78a924ed2b7cfd861aac55bd78db40bb4d3e5d8e312133eec0901272b0de2d5e6c35e35285'
7
+ data.tar.gz: e6b6f1ba8035701a1e15dcb7df88a7db3d16a81a04f53e11b9d423bb4aa50cda402a4b85bca884bbb0b800126231a76fa4d86e9d7c0d138598cf4b08d186599f
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.716
1
+ 1.1.717
data/docs/behavior.md CHANGED
@@ -11,7 +11,11 @@
11
11
  "name": "example",
12
12
  "description": "example",
13
13
  "value": {
14
- "method": "GET"
14
+ "urls": [
15
+ "https://example.com/webhook"
16
+ ],
17
+ "method": "POST",
18
+ "encoding": "JSON"
15
19
  },
16
20
  "public_hosting_url": "example",
17
21
  "disable_parent_folder_behavior": true,
@@ -94,7 +98,7 @@ Files::Behavior.list_for(path,
94
98
 
95
99
  ```
96
100
  Files::Behavior.create(
97
- value: "{\"method\": \"GET\"}",
101
+ value: {"urls":["https://example.com/webhook"],"method":"POST","encoding":"JSON"},
98
102
  disable_parent_folder_behavior: false,
99
103
  recursive: false,
100
104
  name: "example",
@@ -106,7 +110,7 @@ Files::Behavior.create(
106
110
 
107
111
  ### Parameters
108
112
 
109
- * `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
113
+ * `value` (object): This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
110
114
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
111
115
  * `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
112
116
  * `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
@@ -146,7 +150,7 @@ Files::Behavior.webhook_test(
146
150
 
147
151
  ```
148
152
  Files::Behavior.update(id,
149
- value: "{\"method\": \"GET\"}",
153
+ value: {"urls":["https://example.com/webhook"],"method":"POST","encoding":"JSON"},
150
154
  disable_parent_folder_behavior: false,
151
155
  recursive: false,
152
156
  name: "example",
@@ -158,7 +162,7 @@ Files::Behavior.update(id,
158
162
  ### Parameters
159
163
 
160
164
  * `id` (int64): Required - Behavior ID.
161
- * `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
165
+ * `value` (object): This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
162
166
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
163
167
  * `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
164
168
  * `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
@@ -188,7 +192,7 @@ Files::Behavior.delete(id)
188
192
  behavior = Files::Behavior.find(id)
189
193
 
190
194
  behavior.update(
191
- value: "{\"method\": \"GET\"}",
195
+ value: {"urls":["https://example.com/webhook"],"method":"POST","encoding":"JSON"},
192
196
  disable_parent_folder_behavior: false,
193
197
  recursive: false,
194
198
  name: "example",
@@ -200,7 +204,7 @@ behavior.update(
200
204
  ### Parameters
201
205
 
202
206
  * `id` (int64): Required - Behavior ID.
203
- * `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
207
+ * `value` (object): This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
204
208
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
205
209
  * `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
206
210
  * `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
@@ -145,7 +145,7 @@ module Files
145
145
  end
146
146
 
147
147
  # Parameters:
148
- # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
148
+ # value - object - This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
149
149
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
150
150
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
151
151
  # recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
@@ -249,7 +249,7 @@ module Files
249
249
  end
250
250
 
251
251
  # Parameters:
252
- # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
252
+ # value - object - This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
253
253
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
254
254
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
255
255
  # recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
@@ -291,7 +291,7 @@ module Files
291
291
  end
292
292
 
293
293
  # Parameters:
294
- # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
294
+ # value - object - This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
295
295
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
296
296
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
297
297
  # recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.716"
4
+ VERSION = "1.1.717"
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.716
4
+ version: 1.1.717
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-30 00:00:00.000000000 Z
11
+ date: 2026-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable