Mollie.Client (mollie v0.7.2)

The Client module sets up the endpoint and authorization used in the Mollie API. Every API needs a client.

Link to this section Summary

Link to this section Types

Specs

auth() :: %{api_key: binary()} | %{username: binary(), password: binary()}

Specs

t() :: %Mollie.Client{auth: auth() | nil, endpoint: binary(), options: list()}

Link to this section Functions

Specs

new() :: t()

Specs

new(binary()) :: t()
new(auth()) :: t()
Link to this function

new(auth, endpoint)

Specs

new(auth(), binary() | list()) :: t()