GitLab::API::v4::Mock::RESTClient - Mocked REST client that doesn't actually make HTTP requests.
Contents
Attributes
engine
The GitLab::API::v4::Mock::Engine used behind the hood.
Description
This module is a subclass of GitLab::API::v4::RESTClient. It modifies it to divert HTTP requests to
GitLab::API::v4::Mock::Engine rather than making live requests.
This module is used by GitLab::API::v4::Mock.
License
See "LICENSE" in GitLab::API::v4.
perl v5.36.0 2023-06-13 GitLab::API::v4::Mock::RESTClient(3pm)
Name
GitLab::API::v4::Mock::RESTClient - Mocked REST client that doesn't actually make HTTP requests.
Support
See "SUPPORT" in GitLab::API::v4.
User Endpoints
GETusers
Handles "users" in GitLab::API::v4.
GETuser/:id
Handles "user" in GitLab::API::v4.
POSTusers
Handles "create_user" in GitLab::API::v4.
PUTuser/:id
Handles "edit_user" in GitLab::API::v4.
DELETEuser/:id
Handles "delete_user" in GitLab::API::v4.
