HookSniff.Integrations (hooksniff v1.2.0)

Integration management.

Summary

Functions

Create an integration

Delete an integration

Get an integration

List integrations

Test an integration

Update an integration

Functions

create(client, params)

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

Create an integration

delete(client, id)

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

Delete an integration

get(client, id)

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

Get an integration

list(client)

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

List integrations

test_integration(client, id)

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

Test an integration

update(client, id, params)

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

Update an integration