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