++ed by:
TYLDUM GDT DOMM IKRUGLOV POTATOGIM

5 PAUSE users
1 non-PAUSE user.

Aran Deltac
and 12 contributors

NAME

GitLab::API::v4::Mock - Mock API object for testing.

SYNOPSIS

    use GitLab::API::v4::Mock;
    
    my $api = GitLab::API::v4::Mock->new();

DESCRIPTION

This module is a subclass of GitLab::API::v4. It modifies it to mock the REST client via GitLab::API::v4::Mock::RESTClient.

This module is meant to be used for writing unit tests.

ATTRIBUTES

url

This attribute is altered from "url" in GitLab::API::v4 to default to https://example.com/api/v4 and to not be required.

rest_client_class

This attribute is altered from "rest_client_class" in GitLab::API::v4 to default to GitLab::API::v4::Mock::RESTClient.

SUPPORT

See "SUPPORT" in GitLab::API::v4.

AUTHORS

See "AUTHORS" in GitLab::API::v4.

COPYRIGHT AND LICENSE

See "COPYRIGHT AND LICENSE" in GitLab::API::v4.