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
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#content_id
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#description
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#disposition
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#encoding
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#envelope
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#extension
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#language
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#lines
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#location
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#md5
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#media_type
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#multipart? ⇒ Boolean
readonly
BodyTypeMessageis not used for multipart MIME parts. -
#param
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#size
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/global. -
#subtype
rw
BodyTypeMessagerepresents the body structures of messages and message parts, whenContent-Typeismessage/rfc822ormessage/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 980
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 980
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 980
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 980
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 980
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 980
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 980
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 980
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 980
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 980
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 980
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 980
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 1005
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 980
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 980
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 980
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 1012
def media_subtype warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1) return subtype end