class

Athena::MIME::Part::AbstractMultipart

Inherits Athena::MIME::Part::Abstract < Reference < Object

Base type of all multipart based parts.

Constructors

new(parts : Enumerable(AMIME::Part::Abstract) = [] of AMIME::Part::Abstract)
Source
new(*parts : AMIME::Part::Abstract) : self
Source

Instance methods

media_type

Returns the media type of this part. E.g. application within application/pdf.

Source
parts

Returns the parts that make up this multipart part.

Source
prepared_headers

Returns a cloned AMIME::Header::Collection consisting of a final representation of the headers associated with this message. I.e. Ensures the message's headers include the required ones.

Source