files.com 1.1.632 → 1.1.633
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/group_user.md +3 -3
- data/lib/files.com/models/group_user.rb +2 -2
- data/lib/files.com/version.rb +1 -1
- 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: 68203644e50f23b9f90c098e1e968e66d4a179116067b56d58bf9ea63a651029
|
|
4
|
+
data.tar.gz: 5e2936f5a535c1f9a78043b08701f828b186088ff991ff5bf14339a3d7670592
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ea80c78edef641e0fce93f2ed926e34a628eb1b6fd58ffca28ae0b5d045095b6f7cc6a720927fcc7985b05b7ed01d0b91c60a7c79c0525c04571c8ff75121e1
|
|
7
|
+
data.tar.gz: 88a13bc04635526f0e75d69682dcf07e81b7d47cb3548853a769144b94b68d4238484910d861602fd9c553c3796c0e3bf01a465be5555bacbcf802f17c0ac5c2
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.633
|
data/docs/group_user.md
CHANGED
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
|
|
27
27
|
```
|
|
28
28
|
Files::GroupUser.list(
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
group_id: 1,
|
|
30
|
+
user_id: 1
|
|
31
31
|
)
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
### Parameters
|
|
35
35
|
|
|
36
|
-
* `user_id` (int64): User ID. If provided, will return group_users of this user.
|
|
37
36
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
38
37
|
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
39
38
|
* `group_id` (int64): Group ID. If provided, will return group_users of this group.
|
|
39
|
+
* `user_id` (int64): User ID. If provided, will return group_users of this user.
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
---
|
|
@@ -115,15 +115,15 @@ module Files
|
|
|
115
115
|
end
|
|
116
116
|
|
|
117
117
|
# Parameters:
|
|
118
|
-
# user_id - int64 - User ID. If provided, will return group_users of this user.
|
|
119
118
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
120
119
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
121
120
|
# group_id - int64 - Group ID. If provided, will return group_users of this group.
|
|
121
|
+
# user_id - int64 - User ID. If provided, will return group_users of this user.
|
|
122
122
|
def self.list(params = {}, options = {})
|
|
123
|
-
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
124
123
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
125
124
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
126
125
|
raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
|
|
126
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
127
127
|
|
|
128
128
|
List.new(GroupUser, params) do
|
|
129
129
|
Api.send_request("/group_users", :get, params, options)
|
data/lib/files.com/version.rb
CHANGED
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.633
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|