files.com 1.0.364 → 1.0.365
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/automation.md +9 -9
- data/lib/files.com/models/automation.rb +5 -5
- 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: 3ace3140b5ce13e28448dedf936266019cde545b3fd8437efaa7f931047708b4
|
4
|
+
data.tar.gz: dd7528b965f5d55d7b759b4e06cbbb475caf2e7ab5653ec45f98016dfba8382e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd8c186691ed36e8b0e81858acacfb1cfea62886dc5bd0fa295b5ab31be2038cad54e9bb60997505a9178f6c654cdb9b42b4b82f25dcc8c3341c14a8e161f14f
|
7
|
+
data.tar.gz: 0cd73d1989f8a3d3efdd0471473809c7e8af82ba0325d7cdefa437a98a888615f3a4ecaedbeab7ee31e0417e2c77d12ee4e4d57bc2a699f64687b50a82ebce5b
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.365
|
data/docs/automation.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
"automation": "create_folder",
|
9
9
|
"deleted": true,
|
10
10
|
"disabled": true,
|
11
|
-
"trigger": "
|
11
|
+
"trigger": "daily",
|
12
12
|
"interval": "week",
|
13
13
|
"last_modified_at": "2000-01-01T01:00:00Z",
|
14
14
|
"name": "example",
|
@@ -49,13 +49,13 @@
|
|
49
49
|
* `automation` (string): Automation type
|
50
50
|
* `deleted` (boolean): Indicates if the automation has been deleted.
|
51
51
|
* `disabled` (boolean): If true, this automation will not run.
|
52
|
-
* `trigger` (string): How this automation is triggered to run.
|
52
|
+
* `trigger` (string): How this automation is triggered to run.
|
53
53
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
54
54
|
* `last_modified_at` (date-time): Time when automation was last modified. Does not change for name or description updates.
|
55
55
|
* `name` (string): Name for this automation.
|
56
56
|
* `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
|
57
57
|
* `source` (string): Source Path
|
58
|
-
* `destinations` (array): Destination
|
58
|
+
* `destinations` (array): Destination Paths
|
59
59
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
60
60
|
* `destination_replace_to` (string): If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
61
61
|
* `description` (string): Description for the this Automation.
|
@@ -127,7 +127,7 @@ Files::Automation.create(
|
|
127
127
|
description: "example",
|
128
128
|
disabled: true,
|
129
129
|
name: "example",
|
130
|
-
trigger: "
|
130
|
+
trigger: "daily",
|
131
131
|
trigger_actions: ["create"],
|
132
132
|
value: {"limit":"1"},
|
133
133
|
recurring_day: 25,
|
@@ -151,7 +151,7 @@ Files::Automation.create(
|
|
151
151
|
* `description` (string): Description for the this Automation.
|
152
152
|
* `disabled` (boolean): If true, this automation will not run.
|
153
153
|
* `name` (string): Name for this automation.
|
154
|
-
* `trigger` (string): How this automation is triggered to run.
|
154
|
+
* `trigger` (string): How this automation is triggered to run.
|
155
155
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
156
156
|
* `value` (object): A Hash of attributes specific to the automation type.
|
157
157
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
@@ -190,7 +190,7 @@ Files::Automation.update(id,
|
|
190
190
|
description: "example",
|
191
191
|
disabled: true,
|
192
192
|
name: "example",
|
193
|
-
trigger: "
|
193
|
+
trigger: "daily",
|
194
194
|
trigger_actions: ["create"],
|
195
195
|
value: {"limit":"1"},
|
196
196
|
recurring_day: 25,
|
@@ -215,7 +215,7 @@ Files::Automation.update(id,
|
|
215
215
|
* `description` (string): Description for the this Automation.
|
216
216
|
* `disabled` (boolean): If true, this automation will not run.
|
217
217
|
* `name` (string): Name for this automation.
|
218
|
-
* `trigger` (string): How this automation is triggered to run.
|
218
|
+
* `trigger` (string): How this automation is triggered to run.
|
219
219
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
220
220
|
* `value` (object): A Hash of attributes specific to the automation type.
|
221
221
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
@@ -271,7 +271,7 @@ automation.update(
|
|
271
271
|
description: "example",
|
272
272
|
disabled: true,
|
273
273
|
name: "example",
|
274
|
-
trigger: "
|
274
|
+
trigger: "daily",
|
275
275
|
trigger_actions: ["create"],
|
276
276
|
value: {"limit":"1"},
|
277
277
|
recurring_day: 25,
|
@@ -296,7 +296,7 @@ automation.update(
|
|
296
296
|
* `description` (string): Description for the this Automation.
|
297
297
|
* `disabled` (boolean): If true, this automation will not run.
|
298
298
|
* `name` (string): Name for this automation.
|
299
|
-
* `trigger` (string): How this automation is triggered to run.
|
299
|
+
* `trigger` (string): How this automation is triggered to run.
|
300
300
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
301
301
|
* `value` (object): A Hash of attributes specific to the automation type.
|
302
302
|
* `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
@@ -45,7 +45,7 @@ module Files
|
|
45
45
|
@attributes[:disabled] = value
|
46
46
|
end
|
47
47
|
|
48
|
-
# string - How this automation is triggered to run.
|
48
|
+
# string - How this automation is triggered to run.
|
49
49
|
def trigger
|
50
50
|
@attributes[:trigger]
|
51
51
|
end
|
@@ -99,7 +99,7 @@ module Files
|
|
99
99
|
@attributes[:source] = value
|
100
100
|
end
|
101
101
|
|
102
|
-
# array - Destination
|
102
|
+
# array - Destination Paths
|
103
103
|
def destinations
|
104
104
|
@attributes[:destinations]
|
105
105
|
end
|
@@ -251,7 +251,7 @@ module Files
|
|
251
251
|
# description - string - Description for the this Automation.
|
252
252
|
# disabled - boolean - If true, this automation will not run.
|
253
253
|
# name - string - Name for this automation.
|
254
|
-
# trigger - string - How this automation is triggered to run.
|
254
|
+
# trigger - string - How this automation is triggered to run.
|
255
255
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
256
256
|
# value - object - A Hash of attributes specific to the automation type.
|
257
257
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
@@ -365,7 +365,7 @@ module Files
|
|
365
365
|
# description - string - Description for the this Automation.
|
366
366
|
# disabled - boolean - If true, this automation will not run.
|
367
367
|
# name - string - Name for this automation.
|
368
|
-
# trigger - string - How this automation is triggered to run.
|
368
|
+
# trigger - string - How this automation is triggered to run.
|
369
369
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
370
370
|
# value - object - A Hash of attributes specific to the automation type.
|
371
371
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
@@ -421,7 +421,7 @@ module Files
|
|
421
421
|
# description - string - Description for the this Automation.
|
422
422
|
# disabled - boolean - If true, this automation will not run.
|
423
423
|
# name - string - Name for this automation.
|
424
|
-
# trigger - string - How this automation is triggered to run.
|
424
|
+
# trigger - string - How this automation is triggered to run.
|
425
425
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
426
426
|
# value - object - A Hash of attributes specific to the automation type.
|
427
427
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
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.365
|
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-07-
|
11
|
+
date: 2023-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|