files.com 1.0.201 → 1.0.202
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/inbox_registration.md +1 -1
- data/lib/files.com/models/inbox_registration.rb +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 240a6c056c1b310e0b6f4330117431670a03a2c7e72b9b034bf4e4d9b29b4118
|
4
|
+
data.tar.gz: 4f6bd2e27ca0b9826a878d1b179f90e4c2e646b78647f539518b111f7fe27c3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57b0ec1859a56969c3d7f37e249eadfa0bec69a7a4e9c2bc872af49b12743c9ffffa9380d1ef6b2ea04077a67260d9147f7bf315b836c9c8bc42482f8621ef8c
|
7
|
+
data.tar.gz: 53d45d0726ac6453e25532e738656de9dd5f87600241725714a29ccaee3b1938fea4671ac55cd8232de559987b830d42de505ddf3ce6b2dea408e7f1bae8d559
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.202
|
data/docs/inbox_registration.md
CHANGED
@@ -38,4 +38,4 @@ Files::InboxRegistration.list(
|
|
38
38
|
|
39
39
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
40
40
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
41
|
-
* `folder_behavior_id` (int64):
|
41
|
+
* `folder_behavior_id` (int64): ID of the associated Inbox.
|
@@ -47,12 +47,11 @@ module Files
|
|
47
47
|
# Parameters:
|
48
48
|
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
49
49
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
50
|
-
# folder_behavior_id
|
50
|
+
# folder_behavior_id - int64 - ID of the associated Inbox.
|
51
51
|
def self.list(params = {}, options = {})
|
52
52
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
53
53
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
54
54
|
raise InvalidParameterError.new("Bad parameter: folder_behavior_id must be an Integer") if params.dig(:folder_behavior_id) and !params.dig(:folder_behavior_id).is_a?(Integer)
|
55
|
-
raise MissingParameterError.new("Parameter missing: folder_behavior_id") unless params.dig(:folder_behavior_id)
|
56
55
|
|
57
56
|
List.new(InboxRegistration, params) do
|
58
57
|
Api.send_request("/inbox_registrations", :get, params, options)
|
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.
|
4
|
+
version: 1.0.202
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|