View Source IncidentIo.Client (IncidentIo v0.1.0)

Creates a HTTP client for interacting with the Incident.io API.

Summary

Types

@type auth() :: %{api_key: binary()}
@type t() :: %IncidentIo.Client{auth: auth() | nil, endpoint: binary()}

Functions

@spec new() :: t()
@spec new(binary()) :: t()
@spec new(map()) :: t()
@spec new(map(), binary()) :: t()
@spec new(auth(), binary()) :: t()