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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18af8443937174bf0ae7a46ef866b8f1a4a56db9ea14d449a036e47ebde0b88f
4
- data.tar.gz: 79de26b29faf547c955b519ee4fe457f04f7a1826276ab2b31b9d95925a27520
3
+ metadata.gz: 3b1d9ec673c13f81edfdd43c62efca3c46db918d65d1cce500bbbacb9d247dbc
4
+ data.tar.gz: e9c07ebca16fc68ad99c4602d88cd07fa4076f721032767fcd7abde9fea100c2
5
5
  SHA512:
6
- metadata.gz: ab240292eba5d2bccb31b038e37123f3c6772445637299cb61d4f804276eb4ccfec8d3b3ef28659bc63b68fdd2b78b5842929276d5d699d09688158175598e23
7
- data.tar.gz: df112f9a21749c530de41bb66978db1b183bf8a2874205bdb47e73c3143ec6b865c6a3d0f1680706c68389905c252b7f3e2c5a119e0021aa8813700de89da320
6
+ metadata.gz: 7c69199dcde8f9752b2ebb2f0de52eabfeedc4df64c5749037843d7387bfb1c1cd367b94b86852b780c3971c6e93401add61a22bac9dddbd1b58bec14fbed9a7
7
+ data.tar.gz: 69b0b57f8d5ebb46923786ca0f67db03541532d0ef35494249c7ae0e7af0c1aa2cc39e81fd201828b3b2b49b1398dfc9f0abb38a5c9dd93d975f376d677c40b0
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.362
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.362
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-06-30 00:00:00.000000000 Z
11
+ date: 2023-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable