ElasticEmail::WebhookCreatePayload
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]
enable_signing
Boolean
Sign every request with HMAC-SHA256. Can be set only when the webhook is created. Default: false.
[optional]
delivery_method
WebhookDeliveryMethod
[optional][default to 'Get']
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 ,
enable_signing : null ,
delivery_method : null
)