files.com 1.0.169 → 1.0.174
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: e4f59a6db51668fd2dad5f8c22006f1d4292f3a47cd21fa6b9fb470e09a515ca
|
4
|
+
data.tar.gz: 06f33b6b11e6ad380d3ba1bb166b7916fe521516f1193175a3bc5241b6466d74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fa87969e3dc39c441e50509919f33d6243120d9a47d21dcca46cecf936efbd40fc8e1c79bf479dfdf36f0d3439ce4106b3dfa5d9819b2e33a8ae11dcf93bd24
|
7
|
+
data.tar.gz: d627a8e43bde200fa0fd985ebeb636d878ed274eb9a05be3f6da7ec50c54a08d3942f048917089670e361eb9d2969d53ee948f6ef6b64cb05ab05d87b3db4db9
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.174
|
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.174
|
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.
|