GitLab::API::v4::WWWClient(3pm) | User Contributed Perl Documentation | GitLab::API::v4::WWWClient(3pm) |
NAME
GitLab::API::v4::WWWClient - A client that works against the GitLab web site.
SYNOPSIS
use GitLab::API::v4::WWWClient; my $client = GitLab::API::v4::WWWClient->new( url => 'https://git.example.com/', ); $client->sign_in( $username, $password ); my $res = $client->get( $path );
DESCRIPTION
This class makes it possible to interact with the GitLab web site.
REQUIRED ARGUMENTS
url
This is the base URL to your GitLab web site.
METHODS
sign_in
$client->sign_in( $username, $password );
Signs in the client given the username and password.
get
my $res = $client->get( $path );
Gets the path and returns the HTTP::Tiny response hash.
SUPPORT
See "SUPPORT" in GitLab::API::v4.
AUTHORS
See "AUTHORS" in GitLab::API::v4.
LICENSE
See "LICENSE" in GitLab::API::v4.
2023-06-13 | perl v5.36.0 |