Plaid.Client (plaid v3.0.0) View Source

Functions to build a Tesla client for handling HTTP requests.

Link to this section Summary

Functions

Creates a new Tesla client.

Link to this section Functions

Specs

new(map()) :: Tesla.Client.t()

Creates a new Tesla client.

Optional config argument sets the following values at runtime:

Example

config = %{
  root_uri: "https://sandbox.plaid.com/",
  client_id: "my-client-id",
  secret: "shhhh",
  adapter: Tesla.Adapter.Httpc,
  middleware: [Tesla.Middleware.Logger],
  http_options: [recv_timeout: 10_000]
}

client = Client.new(config)