HookSniff.Templates (hooksniff v1.2.0)

Webhook templates.

Summary

Functions

Get a template

List templates

Functions

apply(client, id, params \\ %{})

@spec apply(HookSniff.t(), String.t(), map()) :: {:ok, map()} | {:error, term()}

Apply a template

get(client, id)

@spec get(HookSniff.t(), String.t()) :: {:ok, map()} | {:error, term()}

Get a template

list(client)

@spec list(HookSniff.t()) :: {:ok, map()} | {:error, term()}

List templates