Class: Net::IMAP::BodyTypeBasic
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
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
Instance Attribute Summary
-
#content_id
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
. -
#description
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
. -
#disposition
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
. -
#encoding
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
. -
#extension
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
. -
#language
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
. -
#location
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
. -
#md5
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
. -
#media_type
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
. -
#multipart? ⇒ Boolean
readonly
BodyTypeBasic
is not used for multipart MIME parts. -
#param
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
. -
#size
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
. -
#subtype
rw
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have aContent-Type
that is handled byBodyTypeText
,BodyTypeMessage
, orBodyTypeMultipart
.
Instance Method Summary
Instance Attribute Details
#content_id (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
#description (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
#disposition (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
#encoding (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
#extension (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
#language (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
#location (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
#md5 (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
#media_type (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
#multipart? ⇒ Boolean
(readonly)
BodyTypeBasic
is not used for multipart MIME parts.
# File 'lib/net/imap/response_data.rb', line 927
def multipart? return false end
#param (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
#size (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
#subtype (rw)
BodyTypeBasic
represents basic body structures of messages and message parts, unless they have a Content-Type
that is handled by BodyTypeText
, BodyTypeMessage
, or BodyTypeMultipart
.
See [IMAP4rev1] §7.4.2 and [IMAP4rev2] §7.5.2 for full description of all BODYSTRUCTURE
fields, and also Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs.
# File 'lib/net/imap/response_data.rb', line 825
class BodyTypeBasic < Struct.new(:media_type, :subtype, :param, :content_id, :description, :encoding, :size, :md5, :disposition, :language, :location, :extension)
Instance Method Details
#media_subtype ⇒ subtype
# File 'lib/net/imap/response_data.rb', line 941
def media_subtype warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1, category: :deprecated) return subtype end