IncidentIo.Client (IncidentIo v0.1.1)

View Source

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

Summary

Types

auth()

@type auth() :: %{api_key: binary()}

t()

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

Functions

new()

@spec new() :: t()

new(endpoint)

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

new(auth, endpoint)

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