struct Sendgrid::Personalization
- Sendgrid::Personalization
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
sendgrid/sendgrid_structs.crConstructors
- .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)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #bcc : Array(Address) | Nil
- #cc : Array(Address) | Nil
- #clone
- #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)
- #custom_args : Hash(String, String) | Nil
- #dynamic_template_data : Hash(String, String) | Nil
- #from : Address | Nil
- #headers : Hash(String, String) | Nil
- #send_at : Int64 | Nil
- #subject : String | Nil
- #substitutions : Hash(String, String) | Nil
- #to : Array(Address) | Nil
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)
#
Instance Method Detail
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)
#