Class: Net::IMAP::BodyTypeText
| 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
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
Instance Attribute Summary
-
#content_id
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#description
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#disposition
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#encoding
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#extension
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#language
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#lines
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#location
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#md5
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#media_type
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#multipart? ⇒ Boolean
readonly
BodyTypeTextis not used for multipart MIME parts. -
#param
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#size
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*. -
#subtype
rw
BodyTypeTextrepresents the body structures of messages and message parts, whenContent-Typeistext/*.
Instance Method Summary
-
#media_subtype
Obsolete: use #subtype instead.
Instance Attribute Details
#content_id (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#description (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#disposition (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#encoding (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#extension (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#language (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#lines (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#location (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#md5 (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#media_type (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#multipart? ⇒ Boolean (readonly)
BodyTypeText is not used for multipart MIME parts.
# File 'lib/net/imap/response_data.rb', line 953
def multipart? return false end
#param (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#size (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
#subtype (rw)
BodyTypeText represents the body structures of messages and message parts, when Content-Type is text/*.
BodyTypeText contains all of the fields of BodyTypeBasic. See BodyTypeBasic for documentation of the following:
# File 'lib/net/imap/response_data.rb', line 934
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :location, :extension)
Instance Method Details
#media_subtype
# File 'lib/net/imap/response_data.rb', line 960
def media_subtype warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1, category: :deprecated) return subtype end