dnsimple v0.9.0 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

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

Specs

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

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

Lists the webhooks.

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