Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 593 Bytes

BodyPart.md

File metadata and controls

22 lines (16 loc) · 593 Bytes

ElasticEmail::BodyPart

Properties

Name Type Description Notes
content_type BodyContentType [default to 'HTML']
content String Actual content of the body part [optional]
charset String Text value of charset encoding for example: iso-8859-1, windows-1251, utf-8, us-ascii, windows-1250 and more... [optional]

Example

require 'ElasticEmail'

instance = ElasticEmail::BodyPart.new(
  content_type: null,
  content: null,
  charset: null
)