dnsimple v0.9.2 Dnsimple.Webhooks

WebhooksService handles communication with webhook related methods of the DNSimple API.

See https://developer.dnsimple.com/v2/webhooks/

Summary

Functions

create_webhook(client, account_id, attributes, options \\ [])

Specs

create_webhook(Dnsimple.Client.t, String.t | integer, map, Keyword.t) :: Dnsimple.Response.t

Creates a new webhook in the account.

See https://developer.dnsimple.com/v2/webhooks/#create

delete_webhook(client, account_id, webhook_id, options \\ [])

Specs

delete_webhook(Dnsimple.Client.t, String.t | integer, String.t | integer, Keyword.t) :: Dnsimple.Response.t

PERMANENTLY deletes a webhook from the account.

See https://developer.dnsimple.com/v2/webhooks/#delete

get_webhook(client, account_id, webhook_id, options \\ [])

Specs

get_webhook(Dnsimple.Client.t, String.t | integer, String.t | integer, Keyword.t) :: Dnsimple.Response.t

Get a webhook.

See https://developer.dnsimple.com/v2/webhooks/#get

list_webhooks(client, account_id, options \\ [])

Lists the webhooks.

See https://developer.dnsimple.com/v2/webhooks/#list

webhook(client, account_id, webhook_id)

See Dnsimple.Webhooks.get_webhook/3.

webhook(client, account_id, webhook_id, options)

Specs

webhook(Dnsimple.Client.t, String.t | integer, String.t | integer, Keyword.t) :: Dnsimple.Response.t

See Dnsimple.Webhooks.get_webhook/4.

webhooks(client, account_id)

Specs

See Dnsimple.Webhooks.list_webhooks/2.

webhooks(client, account_id, options)

See Dnsimple.Webhooks.list_webhooks/3.