View Source WorkOS.Client.TeslaClient (WorkOS SDK for Elixir v1.1.0)

Tesla client for WorkOS. This is the default HTTP client used.

Summary

Functions

Returns a new Tesla.Client, configured for calling the WorkOS API.

Sends a request to a WorkOS API endpoint, given list of request opts.

Functions

Link to this function

new(client, access_token)

View Source
@spec new(WorkOS.Client.t(), String.t()) :: Tesla.Client.t()

Returns a new Tesla.Client, configured for calling the WorkOS API.

Sends a request to a WorkOS API endpoint, given list of request opts.