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::RESTClient - Mocked REST client that doesn't actually make HTTP requests.

Attributes

engine
       The GitLab::API::v4::Mock::Engine used behind the hood.

Authors

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

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.

See Also