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
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
. -
#description
rw
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
. -
#disposition
rw
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
. -
#encoding
rw
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
. -
#extension
rw
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
. -
#language
rw
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
. -
#lines
rw
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
. -
#md5
rw
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
. -
#media_type
rw
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
. -
#multipart? ⇒ Boolean
readonly
BodyTypeText
is not used for multipart MIME parts. -
#param
rw
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
. -
#size
rw
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
. -
#subtype
rw
BodyTypeText
represents the body structures of messages and message parts, whenContent-Type
istext/*
.
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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :extension)
#multipart? ⇒ Boolean
(readonly)
BodyTypeText
is not used for multipart MIME parts.
# File 'lib/net/imap/response_data.rb', line 1065
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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :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 1047
class BodyTypeText < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :lines, :md5, :disposition, :language, :extension)
Instance Method Details
#media_subtype
# File 'lib/net/imap/response_data.rb', line 1072
def media_subtype warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1) return subtype end