abstract class Athena::MIME::Part::Abstract
- Athena::MIME::Part::Abstract
- Reference
- Object
Overview
Base type of all parts that provides common utilities and abstractions.
Direct Known Subclasses
Defined in:
part/abstract.crInstance Method Summary
-
#body_to_s : String
Returns a string representation of the body of this part, excluding any headers.
-
#headers : AMIME::Header::Collection
Returns the headers associated with this part.
-
#media_sub_type : String
Returns the media sub-type of this part.
-
#media_type : String
Returns the media type of this part.
-
#prepared_headers : AMIME::Header::Collection
Returns a cloned
AMIME::Header::Collection
consisting of a final representation of the headers associated with this message.
Instance Method Detail
Returns a string representation of the body of this part, excluding any headers.
Returns the media sub-type of this part.
E.g. pdf
within application/pdf
.
Returns the media type of this part.
E.g. application
within application/pdf
.
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.