Class: Net::IMAP::BodyTypeMessage
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Struct
|
|
Instance Chain:
self,
BodyStructure ,
Struct
|
|
Inherits: |
Struct
|
Defined in: | lib/net/imap/response_data.rb |
Overview
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
Instance Attribute Summary
-
#body
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#content_id
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#description
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#disposition
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#encoding
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#envelope
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#extension
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#language
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#lines
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#md5
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#media_type
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#multipart? ⇒ Boolean
readonly
BodyTypeMessage
is not used for multipart MIME parts. -
#param
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#size
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
. -
#subtype
rw
BodyTypeMessage
represents the body structures of messages and message parts, whenContent-Type
ismessage/rfc822
ormessage/global
.
Instance Method Summary
-
#media_subtype
Obsolete: use #subtype instead.
Instance Attribute Details
#body (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#content_id (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#description (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#disposition (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#encoding (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#envelope (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#extension (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#language (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#lines (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#md5 (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#media_type (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#multipart? ⇒ Boolean
(readonly)
BodyTypeMessage
is not used for multipart MIME parts.
# File 'lib/net/imap/response_data.rb', line 1116
def multipart? return false end
#param (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#size (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
#subtype (rw)
BodyTypeMessage
represents the body structures of messages and message parts, when Content-Type
is message/rfc822
or message/global
.
BodyTypeMessage
contains all of the fields of BodyTypeBasic
. See BodyTypeBasic
for documentation of the following fields:
# File 'lib/net/imap/response_data.rb', line 1092
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :extension)
Instance Method Details
#media_subtype
# File 'lib/net/imap/response_data.rb', line 1123
def media_subtype warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1) return subtype end