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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46e2f47ea5187f68a0471e9107c9c0443625742da5d0ca5be91627fae8eb6aa0
4
- data.tar.gz: a70a7bbe411acf2021985e16dda0e2f31a2930c62dbddeccb729eaa3ea2ebadb
3
+ metadata.gz: 68203644e50f23b9f90c098e1e968e66d4a179116067b56d58bf9ea63a651029
4
+ data.tar.gz: 5e2936f5a535c1f9a78043b08701f828b186088ff991ff5bf14339a3d7670592
5
5
  SHA512:
6
- metadata.gz: 3e43755492c3e4e4e03903d136c70e060898eeb35b8921a782ba61faf3656f640127ef3ab641f8718e0afdecf214a3fb1f758d1a6a7a17b6d5d848850d5e4cba
7
- data.tar.gz: 655f8bcd1cabe833b9320196f51090418f1f1a51aa74455381512fbf24d70710e48ce5b1e643abeb595346b694aa88f3bd7f7c2e8fb2f7d817319db2182a94dc
6
+ metadata.gz: 0ea80c78edef641e0fce93f2ed926e34a628eb1b6fd58ffca28ae0b5d045095b6f7cc6a720927fcc7985b05b7ed01d0b91c60a7c79c0525c04571c8ff75121e1
7
+ data.tar.gz: 88a13bc04635526f0e75d69682dcf07e81b7d47cb3548853a769144b94b68d4238484910d861602fd9c553c3796c0e3bf01a465be5555bacbcf802f17c0ac5c2
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.632
1
+ 1.1.633
data/docs/group_user.md CHANGED
@@ -26,17 +26,17 @@
26
26
 
27
27
  ```
28
28
  Files::GroupUser.list(
29
- user_id: 1,
30
- group_id: 1
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.632"
4
+ VERSION = "1.1.633"
5
5
  end
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.632
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-03 00:00:00.000000000 Z
11
+ date: 2026-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable