Class: MIME::MultipartMedia::Related
- Inherits:
-
MIME::MultipartMedia
- Object
- MIME::MediaType
- CompositeMediaType
- MIME::MultipartMedia
- MIME::MultipartMedia::Related
- Defined in:
- lib/mime/composite_media_type.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 MIME::MediaType
Attributes included from Headers::MIME
#content_description, #content_disposition, #content_id, #content_transfer_encoding, #content_type, #mime_version
Instance Method Summary collapse
-
#initialize ⇒ Related
constructor
Returns a MultipartMedia::Related object with a content type of multipart/related.
Methods inherited from MIME::MultipartMedia
Methods inherited from CompositeMediaType
#add_entity, #attach_entity, #inline_entity
Methods inherited from MIME::MediaType
Constructor Details
#initialize ⇒ Related
Returns a MultipartMedia::Related object with a content type of multipart/related.
163 164 165 |
# File 'lib/mime/composite_media_type.rb', line 163 def initialize super("multipart/related; boundary=#{boundary}") end |