ExDoppler.Webhook (ExDoppler v1.0.0)

View Source

Module describing a Webhook

Fields

  • authentication - See ExDoppler.WebhookAuth
  • can_manage - Token in use can manage this webhook (e.g true)
  • enabled - Whether webhook is enabled (e.g true)
  • enabled_configs - List of configs for which the webhook is active (e.g ["dev", "github"])
  • has_secret - See https://docs.doppler.com/docs/webhooks#verify-webhook-with-request-signing (e.g false)
  • id - Unique ID for webhook, (e.g "00000000-0000-0000-0000-000000000000")
  • name - Human readable name for webhook (e.g "my-new-webhook")
  • url - Webhook's URL (e.g "https://httpbin.org/post")

๐Ÿ“– Resources

Summary

Functions

Creates a Webhook from a map

Functions

build(webhook)

Creates a Webhook from a map

๐Ÿท๏ธ Params

  • webhook: Map of fields to turn into a Webhook

โคต๏ธ Returns

โœ… On Success

  %ExDoppler.Webhook{...}

โŒ On Failure

  raise Error