shippo v0.1.0 Shippo.Configuration View Source

Default request configurations.

Defaults can be set in config.exs.

## Example

 # config.exs

 config :shippo, url: "http://test-url.com"

Link to this section Summary

Functions

Returns a new Configuration struct with overrides applied.

Link to this section Types

Link to this type

t()

View Source
t() :: %Shippo.Configuration{
  client: nil | module(),
  client_opts: nil | keyword(),
  json_library: nil | module(),
  token: nil | binary(),
  url: nil | binary()
}

Link to this section Functions

Link to this function

new(overrides \\ [])

View Source
new(overrides :: keyword()) :: t()

Returns a new Configuration struct with overrides applied.