PayWay v0.1.0 PayWay.Options
Options for configuring and connecting to PayWay.
Link to this section Summary
Functions
Assigns default options
Retrieves the options from the agent
Stores the options in an agent
Link to this section Functions
Assigns default options.
Examples
iex> Options.assign_defaults([]) |> Keyword.get(:api_endpoint)
"https://api.payway.com.au/rest/v1"
Link to this function
retrieve()
Retrieves the options from the agent.
Stores the options in an agent.