Skip to content

Files

Latest commit

author
Elasticemail
Nov 10, 2021
e87729e · Nov 10, 2021

History

History
28 lines (22 loc) · 856 Bytes

Template.md

File metadata and controls

28 lines (22 loc) · 856 Bytes

ElasticEmail::Template

Properties

Name Type Description Notes
template_type TemplateType [optional][default to 'RawHTML']
name String Template name [optional]
date_added Time Date of creation in YYYY-MM-DDThh:ii:ss format [optional]
subject String Default subject of email. [optional]
body Array<BodyPart> Email content of this template [optional]
template_scope TemplateScope [optional][default to 'Personal']

Example

require 'ElasticEmail'

instance = ElasticEmail::Template.new(
  template_type: null,
  name: null,
  date_added: null,
  subject: Hello!,
  body: null,
  template_scope: null
)