class Postmark::ServerClient

Defined in:

cr-postmark.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(token : String, address : String = "https://api.postmarkapp.com/") #

[View source]

Instance Method Detail

def deliver(email : Email | TemplateEmail) : EmailResponse #

[View source]
def deliver_batch(letters : Array(Email) | Array(TemplateEmail)) : Array(EmailResponse) #

[View source]
def deliver_email(**kwargs) : EmailResponse #

[View source]
def deliver_template(**kwargs) : EmailResponse #

[View source]
def email_of(**kwargs) : Email #

[View source]
def template_of(**kwargs) : TemplateEmail #

[View source]