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
. -
#location
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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :extension)
#location (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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :extension)
#multipart? ⇒ Boolean
(readonly)
BodyTypeMessage
is not used for multipart MIME parts.
# File 'lib/net/imap/response_data.rb', line 1032
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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :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 1007
class BodyTypeMessage < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :envelope, :body, :lines, :md5, :disposition, :language, :location, :extension)
Instance Method Details
#media_subtype
# File 'lib/net/imap/response_data.rb', line 1039
def media_subtype warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1) return subtype end