class Postmark::TemplateEmail

Included Modules

Defined in:

postmark_structs.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

Instance Method Detail

def attachments : Array(Attachement) | Nil #

def bcc : String | Nil #

def cc : String | Nil #

def from : String #

def headers : Array(NamedTuple(name: String, value: String)) | Nil #

def inline_css : Bool | Nil #

def message_stream : String | Nil #

def metadata : Hash(String, String) | Nil #

def reply_to : String | Nil #

def tag : String | Nil #

def template_alias : String | Nil #

def template_id : String | Nil #

def template_model : JSON::Serializable | Hash(String, String) #

def to : String #

def track_links : Bool | Nil #

def track_opens : Bool | Nil #

def validate #

[View source]