plaid v1.1.2 Plaid.Utils View Source

Utility functions.

Link to this section Summary

Functions

Handles Plaid response and maps to the correct data structure

Link to this section Functions

Link to this function handle_resp(arg, schema) View Source
handle_resp(
  {:ok, HTTPoison.Response.t()} | {:error, HTTPoison.Error.t()},
  atom()
) :: {:ok, any()} | {:error, Plaid.Error.t() | HTTPoison.Error.t()}

Handles Plaid response and maps to the correct data structure.