class

MailCatcher::Mail::MessagePart

Inherits Reference < Object

In-memory data structure for a message part

Constructors

new(id : Int64, message_id : Int64, cid : String | Nil, type : String | Nil, is_attachment : Bool, filename : String | Nil, charset : String | Nil, body : Bytes, size : Int64, created_at : Time)
Source

Instance methods

body
Source
body=(body : Bytes)
Source
charset
Source
charset=(charset : String | Nil)
Source
cid=(cid : String | Nil)
Source
created_at
Source
created_at=(created_at : Time)
Source
filename
Source
filename=(filename : String | Nil)
Source
id=(id : Int64)
Source
is_attachment
Source
is_attachment=(is_attachment : Bool)
Source
message_id
Source
message_id=(message_id : Int64)
Source
size
Source
size=(size : Int64)
Source
type
Source
type=(type : String | Nil)
Source