class Athena::MIME::Part::Multipart::Related

Overview

Represents a related part.

Defined in:

part/multipart/related.cr

Constructors

Instance Method Summary

Instance methods inherited from class Athena::MIME::Part::AbstractMultipart

media_type : String media_type, parts : Array(Athena::MIME::Part::Abstract) parts, prepared_headers : AMIME::Header::Collection prepared_headers

Constructor methods inherited from class Athena::MIME::Part::AbstractMultipart

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

Instance methods inherited from class Athena::MIME::Part::Abstract

body_to_s : String body_to_s, headers : AMIME::Header::Collection headers, media_sub_type : String media_sub_type, media_type : String media_type, prepared_headers : AMIME::Header::Collection prepared_headers

Constructor Detail

def self.new(main_part : AMIME::Part::Abstract, parts : Enumerable(AMIME::Part::Abstract)) #

[View source]

Instance Method Detail

def media_sub_type : String #

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


[View source]
def parts : Array(AMIME::Part::Abstract) #

Returns the parts that make up this multipart part.


[View source]