files.com 1.1.120 → 1.1.121
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/file.md +0 -2
- data/docs/folder.md +0 -1
- data/lib/files.com/models/file.rb +0 -4
- data/lib/files.com/models/folder.rb +0 -2
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dce63e3623a456f294fcc1ade271ecd32637c0eac3c143bb26cd88c5522132fa
|
4
|
+
data.tar.gz: 239ce771db645f073d483cd935f7ffcae24682202953077ee1b7131b60f764c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83e908df6f5dfb4d3ed6c86b3eef92bc6b2186fb33f323e54228c38802f5f3c334dd7cbd8a7c1347676966b07caaa6eb3b109974f3421bda00a8de506492a38b
|
7
|
+
data.tar.gz: 40bbd944a1142e26ac288a575350601dd0869441b48692ce6e6ff7b35cd2b6693ae64d387fcc9fc3da6456480c0e5a5528405c778787e43363e652b890d22917
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.121
|
data/docs/file.md
CHANGED
@@ -113,7 +113,6 @@ Files::File.download(path,
|
|
113
113
|
* `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
114
114
|
* `with_previews` (boolean): Include file preview information?
|
115
115
|
* `with_priority_color` (boolean): Include file priority color information?
|
116
|
-
* `point_in_time` (string): Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
|
117
116
|
|
118
117
|
|
119
118
|
---
|
@@ -292,7 +291,6 @@ file.download(
|
|
292
291
|
* `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
293
292
|
* `with_previews` (boolean): Include file preview information?
|
294
293
|
* `with_priority_color` (boolean): Include file priority color information?
|
295
|
-
* `point_in_time` (string): Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
|
296
294
|
|
297
295
|
|
298
296
|
---
|
data/docs/folder.md
CHANGED
@@ -113,7 +113,6 @@ Files::Folder.list_for(path,
|
|
113
113
|
* `search_all` (boolean): Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the UI. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
114
114
|
* `with_previews` (boolean): Include file previews?
|
115
115
|
* `with_priority_color` (boolean): Include file priority color information?
|
116
|
-
* `point_in_time` (string): Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
|
117
116
|
|
118
117
|
|
119
118
|
---
|
@@ -947,7 +947,6 @@ module Files
|
|
947
947
|
# preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
948
948
|
# with_previews - boolean - Include file preview information?
|
949
949
|
# with_priority_color - boolean - Include file priority color information?
|
950
|
-
# point_in_time - string - Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
|
951
950
|
def download(params = {})
|
952
951
|
params ||= {}
|
953
952
|
params[:path] = @attributes[:path]
|
@@ -955,7 +954,6 @@ module Files
|
|
955
954
|
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
956
955
|
raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
|
957
956
|
raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
|
958
|
-
raise InvalidParameterError.new("Bad parameter: point_in_time must be an String") if params[:point_in_time] and !params[:point_in_time].is_a?(String)
|
959
957
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
960
958
|
|
961
959
|
Api.send_request("/files/#{@attributes[:path]}", :get, params, @options)
|
@@ -1067,14 +1065,12 @@ module Files
|
|
1067
1065
|
# preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
1068
1066
|
# with_previews - boolean - Include file preview information?
|
1069
1067
|
# with_priority_color - boolean - Include file priority color information?
|
1070
|
-
# point_in_time - string - Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
|
1071
1068
|
def self.download(path, params = {}, options = {})
|
1072
1069
|
params ||= {}
|
1073
1070
|
params[:path] = path
|
1074
1071
|
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
1075
1072
|
raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
|
1076
1073
|
raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
|
1077
|
-
raise InvalidParameterError.new("Bad parameter: point_in_time must be an String") if params[:point_in_time] and !params[:point_in_time].is_a?(String)
|
1078
1074
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
1079
1075
|
|
1080
1076
|
response, options = Api.send_request("/files/#{params[:path]}", :get, params, options)
|
@@ -469,7 +469,6 @@ module Files
|
|
469
469
|
# search_all - boolean - Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the UI. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
470
470
|
# with_previews - boolean - Include file previews?
|
471
471
|
# with_priority_color - boolean - Include file priority color information?
|
472
|
-
# point_in_time - string - Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
|
473
472
|
def self.list_for(path, params = {}, options = {})
|
474
473
|
params ||= {}
|
475
474
|
params[:path] = path
|
@@ -480,7 +479,6 @@ module Files
|
|
480
479
|
raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
|
481
480
|
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
482
481
|
raise InvalidParameterError.new("Bad parameter: search must be an String") if params[:search] and !params[:search].is_a?(String)
|
483
|
-
raise InvalidParameterError.new("Bad parameter: point_in_time must be an String") if params[:point_in_time] and !params[:point_in_time].is_a?(String)
|
484
482
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
485
483
|
|
486
484
|
List.new(File, params) do
|
data/lib/files.com/version.rb
CHANGED