Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.05 KB

File metadata and controls

34 lines (28 loc) · 1.05 KB

ElasticEmail::WebhookCreatePayload

Properties

Name Type Description Notes
name String Filename
url String URL of notification.
notify_once_per_email Boolean [optional]
notification_for_sent Boolean [optional]
notification_for_opened Boolean [optional]
notification_for_clicked Boolean [optional]
notification_for_unsubscribed Boolean [optional]
notification_for_abuse_report Boolean [optional]
notification_for_error Boolean [optional]

Example

require 'ElasticEmail'

instance = ElasticEmail::WebhookCreatePayload.new(
  name: attachment.txt,
  url: http://address.for.notification.com,
  notify_once_per_email: null,
  notification_for_sent: null,
  notification_for_opened: null,
  notification_for_clicked: null,
  notification_for_unsubscribed: null,
  notification_for_abuse_report: null,
  notification_for_error: null
)