Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 615 Bytes

File metadata and controls

20 lines (14 loc) · 615 Bytes

ElasticEmail::EmailsPayload

Properties

Name Type Description Notes
rule String SQL-like rule. Sending 'All' as a value loads all resources of the given type. Help for building a segment rule can be found here: https://help.elasticemail.com/en/articles/5162182-segment-rules [optional]
emails Array<String> Comma delimited list of contact emails [optional]

Example

require 'ElasticEmail'

instance = ElasticEmail::EmailsPayload.new(
  rule: null,
  emails: [&quot;john.doe@sample.com&quot;]
)