Coffrify.Resources.Templates (Coffrify v0.9.0)

View Source

Transfer templates — reusable presets for expiration, password, geo, watermark.

Summary

Functions

Create a template.

Delete a template.

List templates.

Functions

create(client, opts)

@spec create(Coffrify.t(), map() | keyword()) ::
  {:ok, map()} | {:error, Exception.t()}

Create a template.

delete(client, id)

@spec delete(Coffrify.t(), String.t()) :: {:ok, map()} | {:error, Exception.t()}

Delete a template.

list(client)

@spec list(Coffrify.t()) :: {:ok, map()} | {:error, Exception.t()}

List templates.