DetoxifySh. Client
(DetoxifySh v0.1.0)
Copy Markdown
A configured client, made by DetoxifySh.new/1. It is plain data: keep one in your
application's configuration or a module attribute and share it between processes.
Its inspected form leaves out the API key, so logging a client cannot leak it.
Summary
Types
@type t() :: %DetoxifySh.Client{ api_key: String.t() | nil, base_url: String.t(), cache: atom() | nil, max_retries: non_neg_integer(), req_options: keyword(), sleep: (non_neg_integer() -> any()), timeout: pos_integer() }