Duffel.Stays.Brands (Duffel v0.1.0)

Copy Markdown View Source

Look up accommodation brand reference data.

See the Duffel documentation.

Summary

Functions

Retrieves a single brand by ID.

Lists accommodation brands. Not paginated.

Functions

get(client, id)

@spec get(Duffel.Client.t(), String.t()) :: {:ok, map()} | {:error, Duffel.Error.t()}

Retrieves a single brand by ID.

list(client)

@spec list(Duffel.Client.t()) :: {:ok, [map()]} | {:error, Duffel.Error.t()}

Lists accommodation brands. Not paginated.