plaid v1.8.0 Plaid.Utils View Source
Utility functions.
Link to this section Summary
Functions
Handles Plaid response and maps to the correct data structure.
Maps an endpoint's response to the corresponding internal data structure.
Link to this section Types
Link to this section Functions
Link to this function
handle_resp(arg, endpoint)
View Sourcehandle_resp( {:ok, HTTPoison.Response.t()} | {:error, HTTPoison.Error.t()}, endpoint() ) :: {:ok, any()} | {:error, Plaid.Error.t() | HTTPoison.Error.t()}
Handles Plaid response and maps to the correct data structure.
Maps an endpoint's response to the corresponding internal data structure.