struct Sendgrid::Attachment

Included Modules

Defined in:

sendgrid/sendgrid_structs.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(content : String, type : String, filename : String | Nil = nil, disposition : String | Nil = nil, content_id : String | Nil = nil) #

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

[View source]

Instance Method Detail

def clone #

[View source]
def content : String #

def content_id : String | Nil #

def copy_with(content _content = @content, type _type = @type, filename _filename = @filename, disposition _disposition = @disposition, content_id _content_id = @content_id) #

[View source]
def disposition : String | Nil #

def filename : String | Nil #

def type : String #