View Source Craftgate.Config (Craftgate v1.0.42)

Represents a set of configuration options for Craftgate

Link to this section Summary

Link to this section Types

@type api_key() :: binary()
@type base_url() :: binary()
@type lang() :: binary()
@type request_options() :: keyword()
@type secret_key() :: binary()
@type t() :: %Craftgate.Config{
  api_key: api_key(),
  base_url: base_url(),
  lang: lang(),
  request_options: request_options(),
  secret_key: secret_key()
}

Link to this section Functions

@spec get() :: {:ok, t()} | {:error, any()}
@spec get!() :: t()