Commit 04fcb0d6 authored by Roman Lacko's avatar Roman Lacko
Browse files

Update GitLab.md

parent 18dac9f9
......@@ -26,7 +26,7 @@ Import with `:group_visibility` tag.
| ----: | ---------------------- |
| 10 | `GROUP_PRIVATE` |
| 20 | `GROUP_INTERNAL` |
| 30 | ` GROUP_PUBLIC` |
| 30 | `GROUP_PUBLIC` |
### Member access
......@@ -40,6 +40,16 @@ Import with `:member_access` tag.
| 40 | `MEMBER_MASTER` |
| 50 | `MEMBER_OWNER` |
### Project visibility
Import with `:project_visibility` tag.
| code | constant |
| ----: | ---------------------- |
| 0 | `PROJECT_PRIVATE` |
| 10 | `PROJECT_INTERNAL` |
| 20 | `PROJECT_PUBLIC` |
## Utilities
Import with `:utils` tag.
......@@ -62,28 +72,41 @@ Import with `:utils` tag.
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_.
- `project_visibility_name()`
```{.pl}
$name = GitLab::project_visibility_name($code)
```
Translates a Project Visibility code to its string representation, i.e. _Privat_, _Internal_ and _Public_.
If the parameter does not represent a valid GitLab Project Visibility code, returns _Invalid_.
# AUTHOR
Roman Lacko <[xlacko1@fi.muni.cz](https://metacpan.org/pod/xlacko1@fi.muni.cz)>
# SEE ALSO
- [GitLab::API::v3](https://metacpan.org/pod/GitLab::API::v3)
- [`GitLab::API::v3`](https://metacpan.org/pod/GitLab::API::v3)
Complete GitLab API v3 implementation with CLI support.
- [GitLab::API](pod-GitLab-API.md)
- [`GitLab::API`](GitLab-API.md)
implementation of the [GitLab API](http://docs.gitlab.com/ce/api/) client.
- [GitLab::Groups](pod-GitLab-Groups.md)
- [`GitLab::Groups`](GitLab-Groups.md)
[GitLab Groups](http://docs.gitlab.com/ce/api/groups.html) methods.
- [GitLab::Namespaces](pod-GitLab-Namespaces.md)
- [`GitLab::Namespaces`](GitLab-Namespaces.md)
[GitLab Namespaces](http://docs.gitlab.com/ce/api/namespaces.html) methods.
- [GitLab::Users](pod-GitLab-Users.md)
- [`GitLab::Projects`](GitLab-Projects.md)
[GitLab Projects](http://docs.gitlab.com/ce/api/namespaces.html) methods.
- [`GitLab::Users`](GitLab-Users.md)
[GitLab Users](http://docs.gitlab.com/ce/api/users.html) methods.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment