GitLab...TClient(3pm)

πŸ’– GitLab::API::v4::Mock::RESTClient πŸ’–

okay bestie, welcome to the manual page for GitLab::API::v4::Mock::RESTClient β€” that's a Perl module doc, section 3pm, and it's literally the chillest REST client you'll ever meet because it ✨does not make HTTP requests✨. yes really. no network. no waiting. no vibe-killing timeouts. πŸŽ€


🌸 NAME 🌸

GitLab::API::v4::Mock::RESTClient β€” the mocked REST client that doesn't actually make HTTP requests. πŸ¦‹


✨ DESCRIPTION ✨

So here's the tea, bestie: this module is a subclass of GitLab::API::v4::RESTClient. It takes that whole thing and modifies it so that HTTP requests get diverted to GitLab::API::v4::Mock::Engine instead of, y'know, going out into the world and making live requests. 🫢

This module is used by GitLab::API::v4::Mock.


πŸ’… ATTRIBUTES πŸ’…

🧚 engine

The GitLab::API::v4::Mock::Engine used behind the hood. it's giving backstage pass, it's giving the machinery under the cute exterior. ⭐


πŸ‘‘ USER ENDPOINTS πŸ‘‘

okay so these are the endpoints this little icon handles, one by one, no skips, no cap:

  • 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. that's where the help lives, go look, iykyk. 🌈


πŸ’œ AUTHORS πŸ’œ

See "AUTHORS" in GitLab::API::v4. the legends themselves. πŸ‘‘


πŸ“œ LICENSE πŸ“œ

See "LICENSE" in GitLab::API::v4. legal stuff, important stuff, read it bestie. πŸŽ€


this page was brought to you by perl v5.36.0, dated 2023-06-13 β€” mwah, slay, periodt. πŸ’…βœ¨
πŸ“¦ where this page comes from