GitLab::API::v4::Mock::RESTClient3pm
Mocked rest client that doesn't actually make http requests.
Overview
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.
Attributes
engine
The GitLab::API::v4::Mock::Engine used behind the hood.
User endpoints
GET users
Handles "users" in GitLab::API::v4.
GET user/:id
Handles "user" in GitLab::API::v4.
POST users
Handles "create_user" in GitLab::API::v4.
PUT user/:id
Handles "edit_user" in GitLab::API::v4.
DELETE user/:id
Handles "delete_user" in GitLab::API::v4.
Support
See "SUPPORT" in GitLab::API::v4.
Releases
3 releases since Debian 11 (Bullseye); the text changed 2 times.