Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 647 Bytes

File metadata and controls

22 lines (16 loc) · 647 Bytes

ElasticEmail::ListPayload

Properties

Name Type Description Notes
list_name String Name of your list.
allow_unsubscribe Boolean True: Allow unsubscribing from this list. Otherwise, false [optional]
emails Array<String> Comma delimited list of existing contact emails that should be added to this list. Leave empty for all contacts [optional]

Example

require 'ElasticEmail'

instance = ElasticEmail::ListPayload.new(
  list_name: My List 1,
  allow_unsubscribe: false,
  emails: [&quot;john.doe@sample.com&quot;]
)