files.com 1.1.425 → 1.1.426
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/bundle.md +4 -0
- data/lib/files.com/models/bundle.rb +4 -0
- 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: deb5cfa450dd6091f1cac32fa2968ee1496e3e9c9a633b3ded728b2fb08106c2
|
|
4
|
+
data.tar.gz: 79afabe81f376f94b69c6f8ed7f04ecd5aa10f89558a98aebe9392e2b61df413
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32fe5f53e92790f7d38f102e83d531212c8b4cfd783767300f0a1b96daa1a44f8c13f57fe671df79b91a1d6fe128f4c64d4818cea48f020a1d5a90d457ee4868
|
|
7
|
+
data.tar.gz: f7ab73d8e7c20b68e948b5c6dea8e264585c8e232a8b6fa034f6e694fc54094b84f6e6ecd27f88ea95018e9e3eef5268d190b0d5fe22211cf906a7aaddde9517
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.426
|
data/docs/bundle.md
CHANGED
|
@@ -286,6 +286,7 @@ Files::Bundle.update(id,
|
|
|
286
286
|
start_access_on_date: "2000-01-01T01:00:00Z",
|
|
287
287
|
skip_email: true,
|
|
288
288
|
skip_name: true,
|
|
289
|
+
user_id: 1,
|
|
289
290
|
watermark_attachment_delete: false
|
|
290
291
|
)
|
|
291
292
|
```
|
|
@@ -316,6 +317,7 @@ Files::Bundle.update(id,
|
|
|
316
317
|
* `start_access_on_date` (string): Date when share will start to be accessible. If `nil` access granted right after create.
|
|
317
318
|
* `skip_email` (boolean): BundleRegistrations can be saved without providing email?
|
|
318
319
|
* `skip_name` (boolean): BundleRegistrations can be saved without providing name?
|
|
320
|
+
* `user_id` (int64): The owning user id. Only site admins can set this.
|
|
319
321
|
* `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
|
|
320
322
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
|
321
323
|
|
|
@@ -386,6 +388,7 @@ bundle.update(
|
|
|
386
388
|
start_access_on_date: "2000-01-01T01:00:00Z",
|
|
387
389
|
skip_email: true,
|
|
388
390
|
skip_name: true,
|
|
391
|
+
user_id: 1,
|
|
389
392
|
watermark_attachment_delete: false
|
|
390
393
|
)
|
|
391
394
|
```
|
|
@@ -416,6 +419,7 @@ bundle.update(
|
|
|
416
419
|
* `start_access_on_date` (string): Date when share will start to be accessible. If `nil` access granted right after create.
|
|
417
420
|
* `skip_email` (boolean): BundleRegistrations can be saved without providing email?
|
|
418
421
|
* `skip_name` (boolean): BundleRegistrations can be saved without providing name?
|
|
422
|
+
* `user_id` (int64): The owning user id. Only site admins can set this.
|
|
419
423
|
* `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
|
|
420
424
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
|
421
425
|
|
|
@@ -462,6 +462,7 @@ module Files
|
|
|
462
462
|
# start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
|
|
463
463
|
# skip_email - boolean - BundleRegistrations can be saved without providing email?
|
|
464
464
|
# skip_name - boolean - BundleRegistrations can be saved without providing name?
|
|
465
|
+
# user_id - int64 - The owning user id. Only site admins can set this.
|
|
465
466
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
|
466
467
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
|
467
468
|
def update(params = {})
|
|
@@ -483,6 +484,7 @@ module Files
|
|
|
483
484
|
raise InvalidParameterError.new("Bad parameter: path_template_time_zone must be an String") if params[:path_template_time_zone] and !params[:path_template_time_zone].is_a?(String)
|
|
484
485
|
raise InvalidParameterError.new("Bad parameter: permissions must be an String") if params[:permissions] and !params[:permissions].is_a?(String)
|
|
485
486
|
raise InvalidParameterError.new("Bad parameter: start_access_on_date must be an String") if params[:start_access_on_date] and !params[:start_access_on_date].is_a?(String)
|
|
487
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
486
488
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
487
489
|
|
|
488
490
|
Api.send_request("/bundles/#{@attributes[:id]}", :patch, params, @options)
|
|
@@ -655,6 +657,7 @@ module Files
|
|
|
655
657
|
# start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
|
|
656
658
|
# skip_email - boolean - BundleRegistrations can be saved without providing email?
|
|
657
659
|
# skip_name - boolean - BundleRegistrations can be saved without providing name?
|
|
660
|
+
# user_id - int64 - The owning user id. Only site admins can set this.
|
|
658
661
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
|
659
662
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
|
660
663
|
def self.update(id, params = {}, options = {})
|
|
@@ -675,6 +678,7 @@ module Files
|
|
|
675
678
|
raise InvalidParameterError.new("Bad parameter: path_template_time_zone must be an String") if params[:path_template_time_zone] and !params[:path_template_time_zone].is_a?(String)
|
|
676
679
|
raise InvalidParameterError.new("Bad parameter: permissions must be an String") if params[:permissions] and !params[:permissions].is_a?(String)
|
|
677
680
|
raise InvalidParameterError.new("Bad parameter: start_access_on_date must be an String") if params[:start_access_on_date] and !params[:start_access_on_date].is_a?(String)
|
|
681
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
678
682
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
679
683
|
|
|
680
684
|
response, options = Api.send_request("/bundles/#{params[:id]}", :patch, params, options)
|
data/lib/files.com/version.rb
CHANGED