files.com 1.1.151 → 1.1.153
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/settings_change.md +1 -1
- data/docs/site.md +1 -0
- data/docs/user.md +2 -0
- data/lib/files.com/models/settings_change.rb +1 -1
- data/lib/files.com/models/user.rb +9 -0
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea471afd57eb4dbc7c84e8862024a6eb1b0e2818d2a3946f546bc4f5cc4222e3
|
4
|
+
data.tar.gz: 139316408c4e7cd6fbe4dd4a2a4cf94a1d5adfac6ab7bde235dc02e8c50f98d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68bd449632b206f5ff51a0e705dec632e37bcc9774c4841e982ffc65a8eecb5aa6abc85bfb2d487f1c050bdb6e351051509b02bbd137eca514a6c4f5052b31af
|
7
|
+
data.tar.gz: 44439f58efd0b0f1f6ee05eb11b9ab350825ce45b2d67d8959b1a41365f46ce939131aadceddd05e32dd96a538e0810f55113ad6a9988d75e1310c7003e371be
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.153
|
data/docs/settings_change.md
CHANGED
@@ -37,5 +37,5 @@ Files::SettingsChange.list
|
|
37
37
|
|
38
38
|
* `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.
|
39
39
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
40
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `
|
40
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `api_key_id` or `user_id`.
|
41
41
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
|
data/docs/site.md
CHANGED
data/docs/user.md
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
"authenticate_until": "2000-01-01T01:00:00Z",
|
16
16
|
"authentication_method": "password",
|
17
17
|
"avatar_url": "example",
|
18
|
+
"billable": true,
|
18
19
|
"billing_permission": true,
|
19
20
|
"bypass_site_allowed_ips": true,
|
20
21
|
"bypass_inactive_disable": true,
|
@@ -82,6 +83,7 @@
|
|
82
83
|
* `authenticate_until` (date-time): Scheduled Date/Time at which user will be deactivated
|
83
84
|
* `authentication_method` (string): How is this user authenticated?
|
84
85
|
* `avatar_url` (string): URL holding the user's avatar
|
86
|
+
* `billable` (boolean): Is this a billable user record?
|
85
87
|
* `billing_permission` (boolean): Allow this user to perform operations on the account, payments, and invoices?
|
86
88
|
* `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
|
87
89
|
* `bypass_inactive_disable` (boolean): Exempt this user from being disabled based on inactivity?
|
@@ -47,7 +47,7 @@ module Files
|
|
47
47
|
# Parameters:
|
48
48
|
# 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.
|
49
49
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
50
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `
|
50
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `api_key_id` or `user_id`.
|
51
51
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
|
52
52
|
def self.list(params = {}, options = {})
|
53
53
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
@@ -90,6 +90,15 @@ module Files
|
|
90
90
|
@attributes[:avatar_url] = value
|
91
91
|
end
|
92
92
|
|
93
|
+
# boolean - Is this a billable user record?
|
94
|
+
def billable
|
95
|
+
@attributes[:billable]
|
96
|
+
end
|
97
|
+
|
98
|
+
def billable=(value)
|
99
|
+
@attributes[:billable] = value
|
100
|
+
end
|
101
|
+
|
93
102
|
# boolean - Allow this user to perform operations on the account, payments, and invoices?
|
94
103
|
def billing_permission
|
95
104
|
@attributes[:billing_permission]
|
data/lib/files.com/version.rb
CHANGED