GitLab::API::v4::Mock - Mock API object for testing.
use GitLab::API::v4::Mock;
my $api = GitLab::API::v4::Mock->new();
This module is a subclass of the GitLab::API::v4 manpage. It modifies
it to mock the REST client via the GitLab::API::v4::Mock::RESTClient manpage.
This module is meant to be used for writing unit tests.
This attribute is altered from url in the GitLab::API::v4 manpage to default
to https://example.com/api/v4 and to not be required.
This attribute is altered from rest_client_class in the GitLab::API::v4 manpage
to default to the GitLab::API::v4::Mock::RESTClient manpage.
See SUPPORT in the GitLab::API::v4 manpage.
See AUTHORS in the GitLab::API::v4 manpage.
See COPYRIGHT AND LICENSE in the GitLab::API::v4 manpage.
|