files.com 1.1.152 → 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/site.md +1 -0
- data/docs/user.md +2 -0
- 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/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?
|
@@ -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