files.com 1.0.362 → 1.0.363
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/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: 3b1d9ec673c13f81edfdd43c62efca3c46db918d65d1cce500bbbacb9d247dbc
|
4
|
+
data.tar.gz: e9c07ebca16fc68ad99c4602d88cd07fa4076f721032767fcd7abde9fea100c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c69199dcde8f9752b2ebb2f0de52eabfeedc4df64c5749037843d7387bfb1c1cd367b94b86852b780c3971c6e93401add61a22bac9dddbd1b58bec14fbed9a7
|
7
|
+
data.tar.gz: 69b0b57f8d5ebb46923786ca0f67db03541532d0ef35494249c7ae0e7af0c1aa2cc39e81fd201828b3b2b49b1398dfc9f0abb38a5c9dd93d975f376d677c40b0
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.363
|
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
|
@@ -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.363
|
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-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|