Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 749 Bytes

File metadata and controls

24 lines (13 loc) · 749 Bytes

ApiClientFun

Welcome!

This is a basic ruby gem scaffold to create a client for call to an existing API endpoint. You can use this scaffold or build one of your choosing.

The API you will need to call is located at: https://clarity-api-mock-5898b9e082dd.herokuapp.com/api/

You are tasked with creating a method that takes a user's name and returns their profile. This example scaffold is a ruby gem.

The api has two endpoints, responds with JSON, and is unauthenticated.

  1. https://clarity-api-mock-5898b9e082dd.herokuapp.com/api/users

Returns a list of users.

  1. https://clarity-api-mock-5898b9e082dd.herokuapp.com/api/users/{id}

Returns a specific user.

Zip up your code and send it along to the email instructed.

Have Fun!