files.com 1.0.471 → 1.0.473
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 +1 -1
- data/docs/gpg_key.md +1 -0
- data/lib/files.com/models/automation.rb +1 -1
- data/lib/files.com/models/gpg_key.rb +2 -0
- data/lib/files.com/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f625b8f649db8c15ebf6eedd3f325b57b161650f017dafe69972c08bff8aed66
|
4
|
+
data.tar.gz: 790c719a4295297ddfafd92509dc3d51492879f3676124f9e7d0909d14e55475
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 852e9dfdd5e514b685204e1870dadcf28fe9b8d672436571423406ed966d77d85bf8cc284c6b30177e7f44d7be010ab49fd6f73c018215fd78b24c5c3db2f11f
|
7
|
+
data.tar.gz: b406d09c964f3a6a8bf39d80b4f00d4acf072ee5fe6cf3466c620e4e38ad567f92b5703095894dfe0411d60c0db41cd43a9408faa53577e9fa09be66dc851ea4
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.473
|
data/docs/automation.md
CHANGED
@@ -60,7 +60,7 @@
|
|
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.
|
62
62
|
* `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`.
|
63
|
-
* `path` (string): Path on which this Automation runs. Supports globs. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
63
|
+
* `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
64
64
|
* `user_id` (int64): User ID of the Automation's creator.
|
65
65
|
* `sync_ids` (array): IDs of remote sync folder behaviors to run by this Automation
|
66
66
|
* `user_ids` (array): IDs of Users for the Automation (i.e. who to Request File from)
|
data/docs/gpg_key.md
CHANGED
@@ -39,6 +39,7 @@ Files::GpgKey.list(
|
|
39
39
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
40
40
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
41
41
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
42
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[name]=desc`). Valid fields are `name` and `expires_at`.
|
42
43
|
|
43
44
|
|
44
45
|
---
|
@@ -144,7 +144,7 @@ module Files
|
|
144
144
|
@attributes[:recurring_day] = value
|
145
145
|
end
|
146
146
|
|
147
|
-
# string - Path on which this Automation runs. Supports globs. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
147
|
+
# string - Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
148
148
|
def path
|
149
149
|
@attributes[:path]
|
150
150
|
end
|
@@ -118,10 +118,12 @@ module Files
|
|
118
118
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
119
119
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
120
120
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
121
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[name]=desc`). Valid fields are `name` and `expires_at`.
|
121
122
|
def self.list(params = {}, options = {})
|
122
123
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
123
124
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
124
125
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
126
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
125
127
|
|
126
128
|
List.new(GpgKey, params) do
|
127
129
|
Api.send_request("/gpg_keys", :get, params, options)
|
data/lib/files.com/version.rb
CHANGED
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.473
|
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-
|
11
|
+
date: 2023-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -322,7 +322,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
322
322
|
- !ruby/object:Gem::Version
|
323
323
|
version: '0'
|
324
324
|
requirements: []
|
325
|
-
rubygems_version: 3.
|
325
|
+
rubygems_version: 3.4.19
|
326
326
|
signing_key:
|
327
327
|
specification_version: 4
|
328
328
|
summary: Files.com Ruby client.
|