class Postmark::TemplateEmail
- Postmark::TemplateEmail
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
postmark_structs.crConstructors
- .new(to : String, from : String, template_model : JSON::Serializable | Hash(String, String), template_id : String | Nil = nil, template_alias : String | Nil = nil, cc : String | Nil = nil, bcc : String | Nil = nil, tag : String | Nil = nil, reply_to : String | Nil = nil, headers : Array(NamedTuple(name: String, value: String)) | Nil = nil, metadata : Hash(String, String) | Nil = nil, attachments : Array(Attachement) | Nil = nil, message_stream : String | Nil = nil, inline_css : Bool | Nil = nil, track_opens : Bool | Nil = nil, track_links : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #attachments : Array(Attachement) | Nil
- #bcc : String | Nil
- #cc : String | Nil
- #from : String
- #headers : Array(NamedTuple(name: String, value: String)) | Nil
- #inline_css : Bool | Nil
- #message_stream : String | Nil
- #metadata : Hash(String, String) | Nil
- #reply_to : String | Nil
- #tag : String | Nil
- #template_alias : String | Nil
- #template_id : String | Nil
- #template_model : JSON::Serializable | Hash(String, String)
- #to : String
- #track_links : Bool | Nil
- #track_opens : Bool | Nil
- #validate
Constructor Detail
def self.new(to : String, from : String, template_model : JSON::Serializable | Hash(String, String), template_id : String | Nil = nil, template_alias : String | Nil = nil, cc : String | Nil = nil, bcc : String | Nil = nil, tag : String | Nil = nil, reply_to : String | Nil = nil, headers : Array(NamedTuple(name: String, value: String)) | Nil = nil, metadata : Hash(String, String) | Nil = nil, attachments : Array(Attachement) | Nil = nil, message_stream : String | Nil = nil, inline_css : Bool | Nil = nil, track_opens : Bool | Nil = nil, track_links : Bool | Nil = nil)
#