struct Sendgrid::Personalization

Included Modules

Defined in:

sendgrid/sendgrid_structs.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(from : Address | Nil = nil, to : Array(Address) | Nil = nil, cc : Array(Address) | Nil = nil, bcc : Array(Address) | Nil = nil, subject : String | Nil = nil, headers : Hash(String, String) | Nil = nil, substitutions : Hash(String, String) | Nil = nil, dynamic_template_data : Hash(String, String) | Nil = nil, custom_args : Hash(String, String) | Nil = nil, send_at : Int64 | Nil = nil) #

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

[View source]

Instance Method Detail

def bcc : Array(Address) | Nil #

def cc : Array(Address) | Nil #

def clone #

[View source]
def copy_with(from _from = @from, to _to = @to, cc _cc = @cc, bcc _bcc = @bcc, subject _subject = @subject, headers _headers = @headers, substitutions _substitutions = @substitutions, dynamic_template_data _dynamic_template_data = @dynamic_template_data, custom_args _custom_args = @custom_args, send_at _send_at = @send_at) #

[View source]
def custom_args : Hash(String, String) | Nil #

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

def from : Address | Nil #

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

def send_at : Int64 | Nil #

def subject : String | Nil #

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

def to : Array(Address) | Nil #