files.com 1.1.47 → 1.1.48
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 +3 -1
- data/docs/bundle_path.md +13 -0
- data/lib/files.com/models/bundle.rb +9 -0
- data/lib/files.com/models/bundle_path.rb +22 -0
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 272dc209ad35385cdc17ee8e7bc7b11b7cf8e17b1d2e477d0803a3b240e054ae
|
4
|
+
data.tar.gz: f84431a25829db447b0a85b9ddcde55c502c76520155876bd6129b348e0948f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f89da0c6739c65a0e9ea1184d156891d44c44e4cbc680673b5e73799293e9bd85ec5a415aaf59e9f5489e76d04da3ea49755c03122ffdd624a6271b67c8cb04b
|
7
|
+
data.tar.gz: 63a912c08fdd8d34f3701a3cca4438ee67eecf423ee63a32b7a1448c99ff38828198980046b280282b849d40f12bab2ecf3a9f98a81dc1dc9db94d04d41c0553
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.48
|
data/docs/bundle.md
CHANGED
@@ -76,7 +76,8 @@
|
|
76
76
|
"has_inbox": true,
|
77
77
|
"paths": [
|
78
78
|
"file.txt"
|
79
|
-
]
|
79
|
+
],
|
80
|
+
"bundlepaths": "example"
|
80
81
|
}
|
81
82
|
```
|
82
83
|
|
@@ -118,6 +119,7 @@
|
|
118
119
|
* `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
119
120
|
* `has_inbox` (boolean): Does this bundle have an associated inbox?
|
120
121
|
* `paths` (array): A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
|
122
|
+
* `bundlepaths` (BundlePath): A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
|
121
123
|
* `password` (string): Password for this bundle.
|
122
124
|
* `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
|
123
125
|
* `create_snapshot` (boolean): If true, create a snapshot of this bundle's contents.
|
data/docs/bundle_path.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# BundlePath
|
2
|
+
|
3
|
+
## Example BundlePath Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"recursive": true,
|
8
|
+
"path": "example"
|
9
|
+
}
|
10
|
+
```
|
11
|
+
|
12
|
+
* `recursive` (boolean): Allow access to subfolders content?
|
13
|
+
* `path` (string): The path to the resource relative to filesystem. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
@@ -347,6 +347,15 @@ module Files
|
|
347
347
|
@attributes[:paths] = value
|
348
348
|
end
|
349
349
|
|
350
|
+
# BundlePath - A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
|
351
|
+
def bundlepaths
|
352
|
+
@attributes[:bundlepaths]
|
353
|
+
end
|
354
|
+
|
355
|
+
def bundlepaths=(value)
|
356
|
+
@attributes[:bundlepaths] = value
|
357
|
+
end
|
358
|
+
|
350
359
|
# string - Password for this bundle.
|
351
360
|
def password
|
352
361
|
@attributes[:password]
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Files
|
4
|
+
class BundlePath
|
5
|
+
attr_reader :options, :attributes
|
6
|
+
|
7
|
+
def initialize(attributes = {}, options = {})
|
8
|
+
@attributes = attributes || {}
|
9
|
+
@options = options || {}
|
10
|
+
end
|
11
|
+
|
12
|
+
# boolean - Allow access to subfolders content?
|
13
|
+
def recursive
|
14
|
+
@attributes[:recursive]
|
15
|
+
end
|
16
|
+
|
17
|
+
# string - The path to the resource relative to filesystem. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
18
|
+
def path
|
19
|
+
@attributes[:path]
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/lib/files.com/version.rb
CHANGED
data/lib/files.com.rb
CHANGED
@@ -53,6 +53,7 @@ require "files.com/models/behavior"
|
|
53
53
|
require "files.com/models/bundle"
|
54
54
|
require "files.com/models/bundle_download"
|
55
55
|
require "files.com/models/bundle_notification"
|
56
|
+
require "files.com/models/bundle_path"
|
56
57
|
require "files.com/models/bundle_recipient"
|
57
58
|
require "files.com/models/bundle_registration"
|
58
59
|
require "files.com/models/clickwrap"
|
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.1.
|
4
|
+
version: 1.1.48
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -135,6 +135,7 @@ files:
|
|
135
135
|
- docs/bundle.md
|
136
136
|
- docs/bundle_download.md
|
137
137
|
- docs/bundle_notification.md
|
138
|
+
- docs/bundle_path.md
|
138
139
|
- docs/bundle_recipient.md
|
139
140
|
- docs/bundle_registration.md
|
140
141
|
- docs/clickwrap.md
|
@@ -231,6 +232,7 @@ files:
|
|
231
232
|
- lib/files.com/models/bundle.rb
|
232
233
|
- lib/files.com/models/bundle_download.rb
|
233
234
|
- lib/files.com/models/bundle_notification.rb
|
235
|
+
- lib/files.com/models/bundle_path.rb
|
234
236
|
- lib/files.com/models/bundle_recipient.rb
|
235
237
|
- lib/files.com/models/bundle_registration.rb
|
236
238
|
- lib/files.com/models/clickwrap.rb
|