class Mail::ContentTypeField

Defined in:

mail/fields/content_type_field.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor methods inherited from class Mail::NamedStructuredField

new(value = nil, charset = nil) new

Instance methods inherited from class Mail::CommonField

charset : String | Nil charset, charset=(charset : String | Nil) charset=, decoded decoded, default default, do_decode do_decode, do_encode do_encode, element element, element=(element) element=, encoded encoded, errors : Array(Array(Mail::Field::ParseError | String)) errors, errors=(errors : Array(Array(String | Field::ParseError))) errors=, main_type main_type, mime_type mime_type, name : String | Nil name, name=(name : String | Nil) name=, parameters parameters, parse parse, responsible_for?(field_name) responsible_for?, singular? singular?, to_s to_s, value : String | Nil value, value=(value) value=

Constructor methods inherited from class Mail::CommonField

new(value = nil, charset = nil) new

Class methods inherited from class Mail::CommonField

parse(*args) parse, singular? singular?

Constructor Detail

def self.new(value = nil, charset = nil) #

[View source]

Class Method Detail

def self.field_name : String #

[View source]
def self.generate_boundary #

[View source]
def self.singular? #

[View source]
def self.with_boundary(type) #

[View source]

Instance Method Detail

def attempt_to_clean #

[View source]
def content_type #

[View source]
def decoded #

[View source]
def default #

[View source]
def element #

[View source]
def encoded #

TODO Fix encoded and decoded...


[View source]
def filename #

[View source]
def main_type #

[View source]
def mime_type #

[View source]
def parameters #

[View source]
def parameters=(parameters : Mail::ParameterHash) #

[View source]
def stringify(params) #

TODO Fix param_encoding...


[View source]
def sub_type #

[View source]
def value #

[View source]