nubank_api v1.1.0 NubankAPI.HTTP behaviour

Behaviour module

Link to this section Summary

Link to this section Types

Link to this type

body()
body() :: Map.t()

Link to this type

link()
link() :: atom()

Link to this type

response_body()
response_body() :: Map.t()

Link to this section Callbacks

Link to this callback

get(link, access)
get(link(), access()) :: {:ok, response_body()} | {:error, any()}

Link to this callback

post(link, access, body)
post(link(), access(), body()) :: {:ok, response_body()} | {:error, any()}