Name | Type | Description | Notes |
---|---|---|---|
name | String | Segment name | |
rule | String | SQL-like rule to determine which Contacts belong to this Segment. Help for building a segment rule can be found here: https://help.elasticemail.com/en/articles/5162182-segment-rules |
require 'ElasticEmail'
instance = ElasticEmail::SegmentPayload.new(
name: null,
rule: null
)