class Athena::MIME::Header::Identification
Overview
Represents an ID MIME Header for something like message-id
or content-id
(one or more addresses).
Defined in:
header/identification.crConstructors
Instance Method Summary
-
#body : Array(String)
Returns the body of this header.
-
#body=(body : String | Array(String))
:inherit:
-
#id : String | Nil
Returns the ID used in the value of this header.
-
#id=(id : String | Array(String)) : Nil
Sets the ID used in the value of this header.
- #ids : Array(String)
-
#ids=(ids : Array(String)) : Nil
Sets a collection of IDs to use in the value of this header.
- #ids_as_addresses : Array(AMIME::Address)
Instance methods inherited from class Athena::MIME::Header::Abstract(Array(String))
body : T(String)
body,
body=(body : T(String))
body=,
charset : String
charset,
charset=(charset : String)
charset=,
clone
clone,
lang : String | Nil
lang,
lang=(lang : String | Nil)
lang=,
max_line_length : Int32
max_line_length,
max_line_length=(max_line_length : Int32)
max_line_length=,
name : String
name
Constructor methods inherited from class Athena::MIME::Header::Abstract(Array(String))
new(name : String)
new
Instance methods inherited from module Athena::MIME::Header::Interface
body
body,
body=(body)
body=,
body_to_s : String
body_to_s,
max_line_length : Int32
max_line_length,
max_line_length=(max_line_length : Int32)
max_line_length=,
name : String
name,
to_s(io : IO) : Nil
to_s
Constructor Detail
Instance Method Detail
def id : String | Nil
#
Returns the ID used in the value of this header. If multiple IDs are set, only the first is returned.