files.com 1.0.171 → 1.0.176
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/external_event.md +3 -1
- data/docs/site.md +2 -0
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/external_event.rb +5 -0
- data/lib/files.com/models/site.rb +5 -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: 03d3652fb19d7122d286a797d196ae127a0f3c5ee07f1e0f5f8f01c6549a9b40
|
4
|
+
data.tar.gz: 2dca0d731de2e00202e42c2e9f229056fb1d07f6b4b1dcec3cefdb35f6903f11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c83aae1e826d78894d774119131283d9183b3e7c4c36e6958d96c56f2cecb72adab5416c5f54786d9757e66330c674b33e38632b259cfb745f066ae268371872
|
7
|
+
data.tar.gz: 4648e05d2ed94d3b3e6eff3a6f5f3aa07fb3f6d8aeb699035cc0c5d746d5eaf138f5904ad016a6ce7901b460f88d4c7ff719e7a57add68a66f500fcb7f9b10a8
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.176
|
data/docs/external_event.md
CHANGED
@@ -8,7 +8,8 @@
|
|
8
8
|
"event_type": "",
|
9
9
|
"status": "",
|
10
10
|
"body": "",
|
11
|
-
"created_at": "2000-01-01T01:00:00Z"
|
11
|
+
"created_at": "2000-01-01T01:00:00Z",
|
12
|
+
"body_url": ""
|
12
13
|
}
|
13
14
|
```
|
14
15
|
|
@@ -17,6 +18,7 @@
|
|
17
18
|
* `status` (string): Status of event.
|
18
19
|
* `body` (string): Event body
|
19
20
|
* `created_at` (date-time): External event create date/time
|
21
|
+
* `body_url` (string): Link to log file.
|
20
22
|
|
21
23
|
|
22
24
|
---
|
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,
|
@@ -224,6 +225,7 @@
|
|
224
225
|
* `color2_text` (string): Page link and button color
|
225
226
|
* `color2_top` (string): Top bar background color
|
226
227
|
* `color2_top_text` (string): Top bar text color
|
228
|
+
* `contact_name` (string): Site main contact name
|
227
229
|
* `created_at` (date-time): Time this site was created
|
228
230
|
* `currency` (string): Preferred currency
|
229
231
|
* `custom_namespace` (boolean): Is this site using a custom namespace for users?
|
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
|
@@ -34,6 +34,11 @@ module Files
|
|
34
34
|
@attributes[:created_at]
|
35
35
|
end
|
36
36
|
|
37
|
+
# string - Link to log file.
|
38
|
+
def body_url
|
39
|
+
@attributes[:body_url]
|
40
|
+
end
|
41
|
+
|
37
42
|
# Parameters:
|
38
43
|
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
39
44
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
@@ -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]
|
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.176
|
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-
|
11
|
+
date: 2021-06-03 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.
|