files.com 1.0.301 → 1.0.302

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: '08b810a717ae7abceaa2303632b4bd23f29171808414e35b8fa2c0b2f603e09b'
4
- data.tar.gz: f7de485dda77b683de22d77c43270aa9312bc64579e23bc78c13092eef706b6a
3
+ metadata.gz: 496cd9b7ad247912026b953ce566db761e510116b2e727509877f28cbb08ae42
4
+ data.tar.gz: c4be723d45a6d3ea682002fe0edde74332614186cde843db52eee40b81af268b
5
5
  SHA512:
6
- metadata.gz: 0d8d6a5192bcf8b1fc4a73d9d434dec1f8023b1ac2e9bff48c8d3b0037aa3216016c739b34cc727c9fabee5d5a4d12ba5554ad83fd1a3d999782ebdc90e9d839
7
- data.tar.gz: 8a8552ae2eb2519e9b322bc0c14b2ce8b207d16abc616ec8a0353e0ab18185c8378438ec56b37f5cfa76bbabd7466f5ad339818defbc2bbb9ca06650759e3722
6
+ metadata.gz: aed6145b17a2968d41f91a20527c999c78dea843770a97dd903d81fe74dd0fcb2dec41e8aea2bf47f2d03359a83d91de6e792aed6ad79026b57ec362571d4573
7
+ data.tar.gz: bbb3043bd36dcb9c2e82b9ab6a8b183ec135748093f0e51148e58d55f9aa2c6f0cdff8eaebe824ac39bad4fd79659445fb87b1cd42fcd66749458c433aa9bd08
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.301
1
+ 1.0.302
data/docs/file.md CHANGED
@@ -20,6 +20,7 @@ may places where a Ruby File object can be used.
20
20
  "region": "us-east-1",
21
21
  "permissions": "rwd",
22
22
  "subfolders_locked?": true,
23
+ "is_locked": true,
23
24
  "download_uri": "https://mysite.files.com/...",
24
25
  "priority_color": "red",
25
26
  "preview_id": 1,
@@ -40,6 +41,7 @@ may places where a Ruby File object can be used.
40
41
  * `region` (string): Region location
41
42
  * `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
42
43
  * `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
44
+ * `is_locked` (boolean): Is this folder locked and unable to be modified?
43
45
  * `download_uri` (string): Link to download file. Provided only in response to a download request.
44
46
  * `priority_color` (string): Bookmark/priority color of file/folder
45
47
  * `preview_id` (int64): File preview ID
data/docs/folder.md CHANGED
@@ -22,6 +22,7 @@ Files::Dir is an alias of Files::Folder
22
22
  "region": "us-east-1",
23
23
  "permissions": "rwd",
24
24
  "subfolders_locked?": true,
25
+ "is_locked": true,
25
26
  "download_uri": "https://mysite.files.com/...",
26
27
  "priority_color": "red",
27
28
  "preview_id": 1,
@@ -42,6 +43,7 @@ Files::Dir is an alias of Files::Folder
42
43
  * `region` (string): Region location
43
44
  * `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
44
45
  * `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
46
+ * `is_locked` (boolean): Is this folder locked and unable to be modified?
45
47
  * `download_uri` (string): Link to download file. Provided only in response to a download request.
46
48
  * `priority_color` (string): Bookmark/priority color of file/folder
47
49
  * `preview_id` (int64): File preview ID
@@ -676,6 +676,15 @@ module Files
676
676
  @attributes[:subfolders_locked?] = value
677
677
  end
678
678
 
679
+ # boolean - Is this folder locked and unable to be modified?
680
+ def is_locked
681
+ @attributes[:is_locked]
682
+ end
683
+
684
+ def is_locked=(value)
685
+ @attributes[:is_locked] = value
686
+ end
687
+
679
688
  # string - Link to download file. Provided only in response to a download request.
680
689
  def download_uri
681
690
  @attributes[:download_uri]
@@ -263,6 +263,15 @@ module Files
263
263
  @attributes[:subfolders_locked?] = value
264
264
  end
265
265
 
266
+ # boolean - Is this folder locked and unable to be modified?
267
+ def is_locked
268
+ @attributes[:is_locked]
269
+ end
270
+
271
+ def is_locked=(value)
272
+ @attributes[:is_locked] = value
273
+ end
274
+
266
275
  # string - Link to download file. Provided only in response to a download request.
267
276
  def download_uri
268
277
  @attributes[:download_uri]
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.301
4
+ version: 1.0.302
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-20 00:00:00.000000000 Z
11
+ date: 2022-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable