You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module uses [Log::Any](https://metacpan.org/pod/Log::Any) and produces some debug messages here
77
+
This module uses [Log::Any](https://metacpan.org/pod/Log%3A%3AAny) and produces some debug messages here
78
78
and there, but the most useful bits are the info messages produced
79
79
just before each API call.
80
80
@@ -121,14 +121,14 @@ See [https://docs.gitlab.com/ce/api/#sudo](https://docs.gitlab.com/ce/api/#sudo)
121
121
122
122
## rest\_client
123
123
124
-
An instance of [GitLab::API::v4::RESTClient](https://metacpan.org/pod/GitLab::API::v4::RESTClient) (or whatever ["rest\_client\_class"](#rest_client_class)
124
+
An instance of [GitLab::API::v4::RESTClient](https://metacpan.org/pod/GitLab%3A%3AAPI%3A%3Av4%3A%3ARESTClient) (or whatever ["rest\_client\_class"](#rest_client_class)
125
125
is set to). Typically you will not be setting this as it defaults to a new
126
126
instance and customization should not be necessary.
127
127
128
128
## rest\_client\_class
129
129
130
130
The class to use when constructing the ["rest\_client"](#rest_client).
131
-
Defaults to [GitLab::API::v4::RESTClient](https://metacpan.org/pod/GitLab::API::v4::RESTClient).
131
+
Defaults to [GitLab::API::v4::RESTClient](https://metacpan.org/pod/GitLab%3A%3AAPI%3A%3Av4%3A%3ARESTClient).
132
132
133
133
# UTILITY METHODS
134
134
@@ -155,7 +155,7 @@ my $all_open_issues = $api->paginator(
155
155
```
156
156
157
157
Given a method who supports the `page` and `per_page` parameters,
158
-
and returns an array ref, this will return a [GitLab::API::v4::Paginator](https://metacpan.org/pod/GitLab::API::v4::Paginator)
158
+
and returns an array ref, this will return a [GitLab::API::v4::Paginator](https://metacpan.org/pod/GitLab%3A%3AAPI%3A%3Av4%3A%3APaginator)
159
159
object that will allow you to walk the records one page or one record
160
160
at a time.
161
161
@@ -165,7 +165,7 @@ at a time.
165
165
$api->sudo('fred')->create_issue(...);
166
166
```
167
167
168
-
Returns a new instance of [GitLab::API::v4](https://metacpan.org/pod/GitLab::API::v4) with the ["sudo\_user"](#sudo_user) argument
168
+
Returns a new instance of [GitLab::API::v4](https://metacpan.org/pod/GitLab%3A%3AAPI%3A%3Av4) with the ["sudo\_user"](#sudo_user) argument
169
169
set.
170
170
171
171
See [https://docs.gitlab.com/ce/api/#sudo](https://docs.gitlab.com/ce/api/#sudo).
@@ -5390,6 +5390,17 @@ See [https://docs.gitlab.com/ce/api/users.html](https://docs.gitlab.com/ce/api/u
5390
5390
5391
5391
Sends a `GET` request to `user/activities` and returns the decoded response content.
5392
5392
5393
+
- user\_memberships
5394
+
5395
+
```perl
5396
+
my $memberships = $api->user_memberships(
5397
+
$user_id,
5398
+
\%params,
5399
+
);
5400
+
```
5401
+
5402
+
Sends a `GET` request to `users/:user_id/memberships` and returns the decoded response content.
5403
+
5393
5404
## Validate the .gitlab-ci.yml
5394
5405
5395
5406
See [https://docs.gitlab.com/ce/api/lint.html](https://docs.gitlab.com/ce/api/lint.html).
0 commit comments