struct Sendgrid::Attachment
- Sendgrid::Attachment
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
sendgrid/sendgrid_structs.crConstructors
- .new(content : String, type : String, filename : String | Nil = nil, disposition : String | Nil = nil, content_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #content : String
- #content_id : String | Nil
- #copy_with(content _content = @content, type _type = @type, filename _filename = @filename, disposition _disposition = @disposition, content_id _content_id = @content_id)
- #disposition : String | Nil
- #filename : String | Nil
- #type : String
Constructor Detail
def self.new(content : String, type : String, filename : String | Nil = nil, disposition : String | Nil = nil, content_id : String | Nil = nil)
#
Instance Method Detail
def copy_with(content _content = @content, type _type = @type, filename _filename = @filename, disposition _disposition = @disposition, content_id _content_id = @content_id)
#