files.com 1.0.126 → 1.0.127
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 +4 -4
- data/lib/files.com/models/automation.rb +4 -4
- 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: 15dbc7abb6293b77a82d25bf3f994067c822ef00bee620936112530f03d621b2
|
4
|
+
data.tar.gz: 91ed6680ef400cfc4b9cd835b2683ea3491c46bddf8d0344c132f712d461f96a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34da33211bf14a73e5e4e7d8cf4cd61881cd84270285c6396fa2822e1c5dbf3ad3438393affc2bff59a6664a5638e924d46a794033849cae4b8ca3c7bc986638
|
7
|
+
data.tar.gz: 1d69ae3c02058e92fb3deed3ab1f44fde463d80afaba73b6e59411f1bef18e441f7811ecc9025fa1cb21a4709e148b073526f083d6824bc71dfe532cc412db04
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.127
|
data/docs/automation.md
CHANGED
@@ -38,7 +38,7 @@
|
|
38
38
|
|
39
39
|
* `id` (int64): Automation ID
|
40
40
|
* `automation` (string): Automation type
|
41
|
-
* `trigger` (string): How this automation is triggered to run. One of: `realtime` or `
|
41
|
+
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `email`.
|
42
42
|
* `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`
|
43
43
|
* `next_process_on` (string): If trigger is `daily`, date this automation will next run.
|
44
44
|
* `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
|
@@ -117,7 +117,7 @@ Files::Automation.create(
|
|
117
117
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
118
118
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
119
119
|
* `schedule` (object): Custom schedule for running this automation.
|
120
|
-
* `trigger` (string): How this automation is triggered to run. One of: `realtime` or `
|
120
|
+
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `email`.
|
121
121
|
|
122
122
|
|
123
123
|
---
|
@@ -148,7 +148,7 @@ Files::Automation.update(id,
|
|
148
148
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
149
149
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
150
150
|
* `schedule` (object): Custom schedule for running this automation.
|
151
|
-
* `trigger` (string): How this automation is triggered to run. One of: `realtime` or `
|
151
|
+
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `email`.
|
152
152
|
|
153
153
|
|
154
154
|
---
|
@@ -194,7 +194,7 @@ automation.update(
|
|
194
194
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
195
195
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
196
196
|
* `schedule` (object): Custom schedule for running this automation.
|
197
|
-
* `trigger` (string): How this automation is triggered to run. One of: `realtime` or `
|
197
|
+
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `email`.
|
198
198
|
|
199
199
|
|
200
200
|
---
|
@@ -27,7 +27,7 @@ module Files
|
|
27
27
|
@attributes[:automation] = value
|
28
28
|
end
|
29
29
|
|
30
|
-
# string - How this automation is triggered to run. One of: `realtime` or `
|
30
|
+
# string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `email`.
|
31
31
|
def trigger
|
32
32
|
@attributes[:trigger]
|
33
33
|
end
|
@@ -146,7 +146,7 @@ module Files
|
|
146
146
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
147
147
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
148
148
|
# schedule - object - Custom schedule for running this automation.
|
149
|
-
# trigger - string - How this automation is triggered to run. One of: `realtime` or `
|
149
|
+
# trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `email`.
|
150
150
|
def update(params = {})
|
151
151
|
params ||= {}
|
152
152
|
params[:id] = @attributes[:id]
|
@@ -250,7 +250,7 @@ module Files
|
|
250
250
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
251
251
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
252
252
|
# schedule - object - Custom schedule for running this automation.
|
253
|
-
# trigger - string - How this automation is triggered to run. One of: `realtime` or `
|
253
|
+
# trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `email`.
|
254
254
|
def self.create(params = {}, options = {})
|
255
255
|
raise InvalidParameterError.new("Bad parameter: automation must be an String") if params.dig(:automation) and !params.dig(:automation).is_a?(String)
|
256
256
|
raise InvalidParameterError.new("Bad parameter: source must be an String") if params.dig(:source) and !params.dig(:source).is_a?(String)
|
@@ -280,7 +280,7 @@ module Files
|
|
280
280
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
281
281
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
282
282
|
# schedule - object - Custom schedule for running this automation.
|
283
|
-
# trigger - string - How this automation is triggered to run. One of: `realtime` or `
|
283
|
+
# trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `email`.
|
284
284
|
def self.update(id, params = {}, options = {})
|
285
285
|
params ||= {}
|
286
286
|
params[:id] = id
|
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.127
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|