Class: MIME::Multipart::Related
- Inherits:
-
MIME::Multipart
- Object
- MIME::Media
- CompositeMedia
- MIME::Multipart
- MIME::Multipart::Related
- Defined in:
- lib/mime/composite_media.rb
Overview
The Related subtype aggregates multiple related entities. The message consists of a root (the first entity) which references subsequent inline entities. Message entities should be referenced by their Content-ID header. The syntax of a reference is unspecified and is instead dictated by the encoding or protocol used in the entity.
RFC consulted during implementation:
-
RFC-2387 The MIME Multipart/Related Content-type
Instance Attribute Summary
Attributes inherited from CompositeMedia
Attributes inherited from MIME::Media
Attributes included from Headers::MIME
#description, #disposition, #id, #mime_version, #transfer_encoding, #type
Instance Method Summary collapse
-
#initialize ⇒ Related
constructor
Returns a Multipart::Related object with a content type of multipart/related.
Methods inherited from CompositeMedia
Methods inherited from MIME::Media
Constructor Details
#initialize ⇒ Related
Returns a Multipart::Related object with a content type of multipart/related.
224 225 226 |
# File 'lib/mime/composite_media.rb', line 224 def initialize super('related') end |