GitLab::API::v4::Mock::RESTClient(3pm)

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.

  1. 11
  2. 12
  3. 13

Authors

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

License

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

From libgitlab-api-v4-perl 0.27-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.