files.com 1.0.168 → 1.0.173
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 +4 -0
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/site.rb +10 -0
- 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: ef08c835d3ae30955deafc9f9480c8e32bde64ee26f8eb359ada35cd1415c564
|
4
|
+
data.tar.gz: d05e7b7d86932f0f25ca95e3653750850bdcc41bef7f06687fdedcb63fa06f11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1587aa5e54424c243c5d7980f4021a11d477f3033904614a8734516e3d96d050060422acc6bb4e38b0fdf1760301e7c6cea4e8b92991ace92dbaaa7548d8da23
|
7
|
+
data.tar.gz: d2ce1a5a03fa14a765e2f707b4a13768684acea7354d1fedec73583002663004143b6840e16589f28b1b5329cb51c0d0ceb4d0763ea41ea386c91c40255a9bc3
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.173
|
data/docs/site.md
CHANGED
@@ -22,6 +22,7 @@
|
|
22
22
|
"color2_text": "#0066a7",
|
23
23
|
"color2_top": "#000000",
|
24
24
|
"color2_top_text": "#ffffff",
|
25
|
+
"contact_name": "John Doe",
|
25
26
|
"created_at": "2000-01-01T01:00:00Z",
|
26
27
|
"currency": "USD",
|
27
28
|
"custom_namespace": true,
|
@@ -84,6 +85,7 @@
|
|
84
85
|
"next_billing_amount": 1.0,
|
85
86
|
"next_billing_date": "Apr 20",
|
86
87
|
"office_integration_available": true,
|
88
|
+
"oncehub_link": "https://go.oncehub.com/files",
|
87
89
|
"opt_out_global": true,
|
88
90
|
"overage_notified_at": "2000-01-01T01:00:00Z",
|
89
91
|
"overage_notify": true,
|
@@ -223,6 +225,7 @@
|
|
223
225
|
* `color2_text` (string): Page link and button color
|
224
226
|
* `color2_top` (string): Top bar background color
|
225
227
|
* `color2_top_text` (string): Top bar text color
|
228
|
+
* `contact_name` (string): Site main contact name
|
226
229
|
* `created_at` (date-time): Time this site was created
|
227
230
|
* `currency` (string): Preferred currency
|
228
231
|
* `custom_namespace` (boolean): Is this site using a custom namespace for users?
|
@@ -270,6 +273,7 @@
|
|
270
273
|
* `next_billing_amount` (double): Next billing amount
|
271
274
|
* `next_billing_date` (string): Next billing date
|
272
275
|
* `office_integration_available` (boolean): Allow users to use Office for the web?
|
276
|
+
* `oncehub_link` (string): Link to scheduling a meeting with our Sales team
|
273
277
|
* `opt_out_global` (boolean): Use servers in the USA only?
|
274
278
|
* `overage_notified_at` (date-time): Last time the site was notified about an overage
|
275
279
|
* `overage_notify` (boolean): Notify site email of overages?
|
data/lib/files.com/errors.rb
CHANGED
@@ -153,6 +153,7 @@ module Files
|
|
153
153
|
class UserNotFoundError < NotFoundError; end
|
154
154
|
|
155
155
|
class ProcessingFailureError < APIError; end
|
156
|
+
class BundleOnlyAllowsPreviewsError < ProcessingFailureError; end
|
156
157
|
class DestinationExistsError < ProcessingFailureError; end
|
157
158
|
class DestinationFolderLimitedError < ProcessingFailureError; end
|
158
159
|
class DestinationParentConflictError < ProcessingFailureError; end
|
@@ -99,6 +99,11 @@ module Files
|
|
99
99
|
@attributes[:color2_top_text]
|
100
100
|
end
|
101
101
|
|
102
|
+
# string - Site main contact name
|
103
|
+
def contact_name
|
104
|
+
@attributes[:contact_name]
|
105
|
+
end
|
106
|
+
|
102
107
|
# date-time - Time this site was created
|
103
108
|
def created_at
|
104
109
|
@attributes[:created_at]
|
@@ -334,6 +339,11 @@ module Files
|
|
334
339
|
@attributes[:office_integration_available]
|
335
340
|
end
|
336
341
|
|
342
|
+
# string - Link to scheduling a meeting with our Sales team
|
343
|
+
def oncehub_link
|
344
|
+
@attributes[:oncehub_link]
|
345
|
+
end
|
346
|
+
|
337
347
|
# boolean - Use servers in the USA only?
|
338
348
|
def opt_out_global
|
339
349
|
@attributes[:opt_out_global]
|
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.173
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -261,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
261
|
- !ruby/object:Gem::Version
|
262
262
|
version: '0'
|
263
263
|
requirements: []
|
264
|
-
rubygems_version: 3.
|
264
|
+
rubygems_version: 3.2.17
|
265
265
|
signing_key:
|
266
266
|
specification_version: 4
|
267
267
|
summary: Files.com Ruby client.
|