logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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.

Authors

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

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.

License

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

perl v5.36.0                                       2023-06-13                         GitLab::API::v4::Mock(3pm)

Name

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

Support

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

Synopsis

           use GitLab::API::v4::Mock;

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

See Also