files.com 1.0.355 → 1.0.356

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: 4b76ebb6cea17e266a98d38b3cf5b30932401733ccbec3c9deb1c3840ec7348a
4
- data.tar.gz: 915b4b030927cce859ddf792a23124e3226562e4893d12f274d0ec34fcacf32e
3
+ metadata.gz: 61319db349ecd31f703bd5f214d3da99860a527606c1a1e6add8c0eb1a0b0932
4
+ data.tar.gz: 6849cbc371d5c4fcf7716c709273840524387282b6c9eba435c5932302a97911
5
5
  SHA512:
6
- metadata.gz: 31cd8c82b10e8ebe769c2fb1bd8dfc41ca03d0410081ac545213cd74cfd517af4f01a2488b87369aa8ddf9a269734a313558d0f2359225be28b2875eb79a14cd
7
- data.tar.gz: 3eea1d69a6f481e7106f17afe9507fdcb70a5835fba6d6a547eceabb24f17cf6f82680b9e258e5cece955b7c47638ed5a8c1ab27a42649fae1272954f7377f33
6
+ metadata.gz: baa9c85b88f8eeb5907b7dc90a344d8be57f3510f4c5147f0ad08d6708b8bbb036a79f8b885f0ba122dcf3cefbbd864528899bd50308683061c8c5ba312f3210
7
+ data.tar.gz: 48d6b8b9f4869aa29459681a5ac402367183958888b75f5d706c6ca8eac438ff0f512d18c766dc5b61d85426e7d57e33dacdf932b4a6688c86e888d0c3cad603
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.355
1
+ 1.0.356
data/docs/bundle.md CHANGED
@@ -7,6 +7,7 @@
7
7
  "code": "abc123",
8
8
  "url": "https://subdomain.files.com/f/12345678",
9
9
  "description": "The public description of the bundle.",
10
+ "expires_at": "2000-01-01T01:00:00Z",
10
11
  "password_protected": true,
11
12
  "permissions": "read",
12
13
  "preview_only": true,
@@ -35,7 +36,6 @@
35
36
  "id": 1,
36
37
  "created_at": "2000-01-01T01:00:00Z",
37
38
  "dont_separate_submissions_by_folder": true,
38
- "expires_at": "2000-01-01T01:00:00Z",
39
39
  "max_uses": 1,
40
40
  "note": "The internal note on the bundle.",
41
41
  "path_template": "{{name}}_{{ip}}",
@@ -59,6 +59,7 @@
59
59
  * `code` (string): Bundle code. This code forms the end part of the Public URL.
60
60
  * `url` (string): Public URL of Share Link
61
61
  * `description` (string): Public description
62
+ * `expires_at` (date-time): Bundle expiration date/time
62
63
  * `password_protected` (boolean): Is this bundle password protected?
63
64
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
64
65
  * `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
@@ -72,7 +73,6 @@
72
73
  * `id` (int64): Bundle ID
73
74
  * `created_at` (date-time): Bundle created at date/time
74
75
  * `dont_separate_submissions_by_folder` (boolean): Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
75
- * `expires_at` (date-time): Bundle expiration date/time
76
76
  * `max_uses` (int64): Maximum number of times bundle can be accessed
77
77
  * `note` (string): Bundle internal note
78
78
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
@@ -36,6 +36,15 @@ module Files
36
36
  @attributes[:description] = value
37
37
  end
38
38
 
39
+ # date-time - Bundle expiration date/time
40
+ def expires_at
41
+ @attributes[:expires_at]
42
+ end
43
+
44
+ def expires_at=(value)
45
+ @attributes[:expires_at] = value
46
+ end
47
+
39
48
  # boolean - Is this bundle password protected?
40
49
  def password_protected
41
50
  @attributes[:password_protected]
@@ -149,15 +158,6 @@ module Files
149
158
  @attributes[:dont_separate_submissions_by_folder] = value
150
159
  end
151
160
 
152
- # date-time - Bundle expiration date/time
153
- def expires_at
154
- @attributes[:expires_at]
155
- end
156
-
157
- def expires_at=(value)
158
- @attributes[:expires_at] = value
159
- end
160
-
161
161
  # int64 - Maximum number of times bundle can be accessed
162
162
  def max_uses
163
163
  @attributes[:max_uses]
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.355
4
+ version: 1.0.356
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-05 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable