Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1017 Bytes

WebhookPost.md

File metadata and controls

30 lines (24 loc) · 1017 Bytes

LaunchDarklyApi::WebhookPost

Properties

Name Type Description Notes
name String A human-readable name for your webhook [optional]
url String The URL of the remote webhook
secret String If sign is true, and the secret attribute is omitted, LaunchDarkly automatically generates a secret for you. [optional]
statements Array<StatementPost> [optional]
sign Boolean If sign is false, the webhook does not include a signature header, and the secret can be omitted.
on Boolean Whether or not this webhook is enabled.
tags Array<String> List of tags for this webhook [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::WebhookPost.new(
  name: Example hook,
  url: http://www.example.com,
  secret: frobozz,
  statements: null,
  sign: true,
  on: true,
  tags: []
)