yodlee v0.1.2 Yodlee.Utils View Source

Utility functions.

Link to this section Summary

Functions

Handles Yodlee response and maps to the correct data structure

Converts Yodlee camel case keys to Elixir friendly snake case

Link to this section Functions

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

Handles Yodlee response and maps to the correct data structure.

Link to this function normalize_keys(map) View Source
normalize_keys(map()) :: map()

Converts Yodlee camel case keys to Elixir friendly snake case.