Loading pod-GitLab.md +30 −20 Original line number Original line Diff line number Diff line # NAME # NAME GitLab - convenience wrapper for GitLab::API that provides useful constants GitLab - convenience wrapper for [GitLab::API](pod-GitLab-api.md) that provides useful constants # SYNOPSIS # SYNOPSIS ```{.pl} use GitLab qw(:utils); use GitLab qw(:utils); my $gitlab = GitLab::API->new(...); my $gitlab = GitLab::API->new(...); my $users = $gitlab->users(); my $users = $gitlab->users(); ``` # DESCRIPTION # DESCRIPTION Loading @@ -20,34 +22,42 @@ for explanation. Import with `:group_visibility` tag. Import with `:group_visibility` tag. 10 GROUP_PRIVATE | code | constant | 20 GROUP_INTERNAL | ----: | ---------------------- | 30 GROUP_PUBLIC | 10 | `GROUP_PRIVATE` | | 20 | `GROUP_INTERNAL` | | 30 | ` GROUP_PUBLIC` | ### Member access ### Member access Import with `:member_access` tag. Import with `:member_access` tag. 10 MEMBER_GUEST | code | constant | 20 MEMBER_REPORTER | ----: | ---------------------- | 30 MEMBER_DEVELOPER | 10 | `MEMBER_GUEST` | 40 MEMBER_MASTER | 20 | `MEMBER_REPORTER` | 50 MEMBER_OWNER | 30 | `MEMBER_DEVELOPER` | | 40 | `MEMBER_MASTER` | | 50 | `MEMBER_OWNER` | ## Utilities ## Utilities Import with `:utils` tag. Import with `:utils` tag. - group\_visibility\_name() - `group_visibility_name()` ```{.pl} $name = GitLab::group_visibility_name($code) $name = GitLab::group_visibility_name($code) ``` Translates a Group Visibility code to its string representation, i.e. _Private_, _Internal_ or _Public_. Translates a Group Visibility code to its string representation, i.e. _Private_, _Internal_ or _Public_. If the parameter does not represent a valid GitLab Group Visibility code, returns _Invalid_. If the parameter does not represent a valid GitLab Group Visibility code, returns _Invalid_. - member\_access\_name() - `member_access_name()` ```{.pl} $name = GitLab::member_access_name($code); $name = GitLab::member_access_name($code); ``` Translates a Member Access code to its string representation, i.e. _Guest_, _Reporter_, _Developer_, _Master_ and _Owner_. Translates a Member Access code to its string representation, i.e. _Guest_, _Reporter_, _Developer_, _Master_ and _Owner_. If the parameter does not represent a valid GitLab Member Access code, returns _Invalid_. If the parameter does not represent a valid GitLab Member Access code, returns _Invalid_. Loading @@ -62,18 +72,18 @@ Roman Lacko <[xlacko1@fi.muni.cz](https://metacpan.org/pod/xlacko1@fi.muni.cz)> Complete GitLab API v3 implementation with CLI support. Complete GitLab API v3 implementation with CLI support. - [GitLab::API](https://metacpan.org/pod/GitLab::API) - [GitLab::API](pod-GitLab-API.md) implementation of the [GitLab API](http://docs.gitlab.com/ce/api/) client. implementation of the [GitLab API](http://docs.gitlab.com/ce/api/) client. - [GitLab::Groups](https://metacpan.org/pod/GitLab::Groups) - [GitLab::Groups](pod-GitLab-Groups.md) [GitLab Groups](http://docs.gitlab.com/ce/api/groups.html) methods. [GitLab Groups](http://docs.gitlab.com/ce/api/groups.html) methods. - [GitLab::Namespaces](https://metacpan.org/pod/GitLab::Namespaces) - [GitLab::Namespaces](pod-GitLab-Namespaces.md) [GitLab Namespaces](http://docs.gitlab.com/ce/api/namespaces.html) methods. [GitLab Namespaces](http://docs.gitlab.com/ce/api/namespaces.html) methods. - [GitLab::Users](https://metacpan.org/pod/GitLab::Users) - [GitLab::Users](pod-GitLab-Users.md) [GitLab Users](http://docs.gitlab.com/ce/api/users.html) methods. [GitLab Users](http://docs.gitlab.com/ce/api/users.html) methods. Loading
pod-GitLab.md +30 −20 Original line number Original line Diff line number Diff line # NAME # NAME GitLab - convenience wrapper for GitLab::API that provides useful constants GitLab - convenience wrapper for [GitLab::API](pod-GitLab-api.md) that provides useful constants # SYNOPSIS # SYNOPSIS ```{.pl} use GitLab qw(:utils); use GitLab qw(:utils); my $gitlab = GitLab::API->new(...); my $gitlab = GitLab::API->new(...); my $users = $gitlab->users(); my $users = $gitlab->users(); ``` # DESCRIPTION # DESCRIPTION Loading @@ -20,34 +22,42 @@ for explanation. Import with `:group_visibility` tag. Import with `:group_visibility` tag. 10 GROUP_PRIVATE | code | constant | 20 GROUP_INTERNAL | ----: | ---------------------- | 30 GROUP_PUBLIC | 10 | `GROUP_PRIVATE` | | 20 | `GROUP_INTERNAL` | | 30 | ` GROUP_PUBLIC` | ### Member access ### Member access Import with `:member_access` tag. Import with `:member_access` tag. 10 MEMBER_GUEST | code | constant | 20 MEMBER_REPORTER | ----: | ---------------------- | 30 MEMBER_DEVELOPER | 10 | `MEMBER_GUEST` | 40 MEMBER_MASTER | 20 | `MEMBER_REPORTER` | 50 MEMBER_OWNER | 30 | `MEMBER_DEVELOPER` | | 40 | `MEMBER_MASTER` | | 50 | `MEMBER_OWNER` | ## Utilities ## Utilities Import with `:utils` tag. Import with `:utils` tag. - group\_visibility\_name() - `group_visibility_name()` ```{.pl} $name = GitLab::group_visibility_name($code) $name = GitLab::group_visibility_name($code) ``` Translates a Group Visibility code to its string representation, i.e. _Private_, _Internal_ or _Public_. Translates a Group Visibility code to its string representation, i.e. _Private_, _Internal_ or _Public_. If the parameter does not represent a valid GitLab Group Visibility code, returns _Invalid_. If the parameter does not represent a valid GitLab Group Visibility code, returns _Invalid_. - member\_access\_name() - `member_access_name()` ```{.pl} $name = GitLab::member_access_name($code); $name = GitLab::member_access_name($code); ``` Translates a Member Access code to its string representation, i.e. _Guest_, _Reporter_, _Developer_, _Master_ and _Owner_. Translates a Member Access code to its string representation, i.e. _Guest_, _Reporter_, _Developer_, _Master_ and _Owner_. If the parameter does not represent a valid GitLab Member Access code, returns _Invalid_. If the parameter does not represent a valid GitLab Member Access code, returns _Invalid_. Loading @@ -62,18 +72,18 @@ Roman Lacko <[xlacko1@fi.muni.cz](https://metacpan.org/pod/xlacko1@fi.muni.cz)> Complete GitLab API v3 implementation with CLI support. Complete GitLab API v3 implementation with CLI support. - [GitLab::API](https://metacpan.org/pod/GitLab::API) - [GitLab::API](pod-GitLab-API.md) implementation of the [GitLab API](http://docs.gitlab.com/ce/api/) client. implementation of the [GitLab API](http://docs.gitlab.com/ce/api/) client. - [GitLab::Groups](https://metacpan.org/pod/GitLab::Groups) - [GitLab::Groups](pod-GitLab-Groups.md) [GitLab Groups](http://docs.gitlab.com/ce/api/groups.html) methods. [GitLab Groups](http://docs.gitlab.com/ce/api/groups.html) methods. - [GitLab::Namespaces](https://metacpan.org/pod/GitLab::Namespaces) - [GitLab::Namespaces](pod-GitLab-Namespaces.md) [GitLab Namespaces](http://docs.gitlab.com/ce/api/namespaces.html) methods. [GitLab Namespaces](http://docs.gitlab.com/ce/api/namespaces.html) methods. - [GitLab::Users](https://metacpan.org/pod/GitLab::Users) - [GitLab::Users](pod-GitLab-Users.md) [GitLab Users](http://docs.gitlab.com/ce/api/users.html) methods. [GitLab Users](http://docs.gitlab.com/ce/api/users.html) methods.