files.com 1.0.362 → 1.0.364
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/bundle.md +10 -0
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/bundle.rb +45 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 820647df9a9e8bfe177b31d2fd65c774c95c7a6e9aa0b9103c9f93495fec4d1c
|
4
|
+
data.tar.gz: 0bd0980b83c01545f79f49cf264275d60bdcfd78be71cac6c1d0f2e8dda7aeae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dd1a3898b0c5bfbcf9a24d3d79a214115ba270dda70ce557ce961dddf67a49743588d3db71be35f4ad86f38ee8df43fab377ad867354d97d0800201cf7ebf6a
|
7
|
+
data.tar.gz: 95e24075f237ce7602d5ee2ce288d5429215aaa4f7a883c3925e75d358e6d41b0d11fd2e8cd7edbe403869fad2cd92832697850445e7529f126935596a20aee4
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.364
|
data/docs/bundle.md
CHANGED
@@ -5,6 +5,11 @@
|
|
5
5
|
```
|
6
6
|
{
|
7
7
|
"code": "abc123",
|
8
|
+
"color_left": "#0066a7",
|
9
|
+
"color_link": "#d34f5d",
|
10
|
+
"color_text": "#0066a7",
|
11
|
+
"color_top": "#000000",
|
12
|
+
"color_top_text": "#ffffff",
|
8
13
|
"url": "https://subdomain.files.com/f/12345678",
|
9
14
|
"description": "The public description of the bundle.",
|
10
15
|
"expires_at": "2000-01-01T01:00:00Z",
|
@@ -58,6 +63,11 @@
|
|
58
63
|
```
|
59
64
|
|
60
65
|
* `code` (string): Bundle code. This code forms the end part of the Public URL.
|
66
|
+
* `color_left` (string): Page link and button color
|
67
|
+
* `color_link` (string): Top bar link color
|
68
|
+
* `color_text` (string): Page link and button color
|
69
|
+
* `color_top` (string): Top bar background color
|
70
|
+
* `color_top_text` (string): Top bar text color
|
61
71
|
* `url` (string): Public URL of Share Link
|
62
72
|
* `description` (string): Public description
|
63
73
|
* `expires_at` (date-time): Bundle expiration date/time
|
data/lib/files.com/errors.rb
CHANGED
@@ -197,6 +197,7 @@ module Files
|
|
197
197
|
class TooManySharesError < RateLimitedError; end
|
198
198
|
|
199
199
|
class ServiceUnavailableError < APIError; end
|
200
|
+
class AutomationsUnavailableError < ServiceUnavailableError; end
|
200
201
|
class UploadsUnavailableError < ServiceUnavailableError; end
|
201
202
|
|
202
203
|
class SiteConfigurationError < APIError; end
|
@@ -18,6 +18,51 @@ module Files
|
|
18
18
|
@attributes[:code] = value
|
19
19
|
end
|
20
20
|
|
21
|
+
# string - Page link and button color
|
22
|
+
def color_left
|
23
|
+
@attributes[:color_left]
|
24
|
+
end
|
25
|
+
|
26
|
+
def color_left=(value)
|
27
|
+
@attributes[:color_left] = value
|
28
|
+
end
|
29
|
+
|
30
|
+
# string - Top bar link color
|
31
|
+
def color_link
|
32
|
+
@attributes[:color_link]
|
33
|
+
end
|
34
|
+
|
35
|
+
def color_link=(value)
|
36
|
+
@attributes[:color_link] = value
|
37
|
+
end
|
38
|
+
|
39
|
+
# string - Page link and button color
|
40
|
+
def color_text
|
41
|
+
@attributes[:color_text]
|
42
|
+
end
|
43
|
+
|
44
|
+
def color_text=(value)
|
45
|
+
@attributes[:color_text] = value
|
46
|
+
end
|
47
|
+
|
48
|
+
# string - Top bar background color
|
49
|
+
def color_top
|
50
|
+
@attributes[:color_top]
|
51
|
+
end
|
52
|
+
|
53
|
+
def color_top=(value)
|
54
|
+
@attributes[:color_top] = value
|
55
|
+
end
|
56
|
+
|
57
|
+
# string - Top bar text color
|
58
|
+
def color_top_text
|
59
|
+
@attributes[:color_top_text]
|
60
|
+
end
|
61
|
+
|
62
|
+
def color_top_text=(value)
|
63
|
+
@attributes[:color_top_text] = value
|
64
|
+
end
|
65
|
+
|
21
66
|
# string - Public URL of Share Link
|
22
67
|
def url
|
23
68
|
@attributes[:url]
|
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.364
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|