Class: Net::IMAP::BodyTypeMultipart
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Struct
|
|
Instance Chain:
self,
Struct
|
|
Inherits: |
Struct
|
Defined in: | lib/net/imap/response_data.rb |
Overview
BodyTypeMultipart
represents multipart body structures of messages.
Fields:
- media_type
-
Returns the content media type name as defined in [MIME-IMB].
- subtype
-
Returns the content subtype name as defined in [MIME-IMB].
- parts
-
Returns multiple parts.
- param
-
Returns a hash that represents parameters as defined in [MIME-IMB].
- disposition
-
Returns a
ContentDisposition
object giving the content disposition. - language
-
Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].
- extension
-
Returns extension data.
- multipart?
-
Returns true.
Instance Attribute Summary
-
#disposition
rw
BodyTypeMultipart
represents multipart body structures of messages. -
#extension
rw
BodyTypeMultipart
represents multipart body structures of messages. -
#language
rw
BodyTypeMultipart
represents multipart body structures of messages. -
#media_type
rw
BodyTypeMultipart
represents multipart body structures of messages. - #multipart? ⇒ Boolean readonly
-
#param
rw
BodyTypeMultipart
represents multipart body structures of messages. -
#parts
rw
BodyTypeMultipart
represents multipart body structures of messages. -
#subtype
rw
BodyTypeMultipart
represents multipart body structures of messages.
Instance Method Summary
-
#media_subtype
Obsolete: use #subtype instead.
Instance Attribute Details
#disposition (rw)
BodyTypeMultipart
represents multipart body structures of messages.
Fields:
- media_type
-
Returns the content media type name as defined in [MIME-IMB].
- subtype
-
Returns the content subtype name as defined in [MIME-IMB].
- parts
-
Returns multiple parts.
- param
-
Returns a hash that represents parameters as defined in [MIME-IMB].
- disposition
-
Returns a
ContentDisposition
object giving the content disposition. - language
-
Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].
- extension
-
Returns extension data.
- multipart?
-
Returns true.
#extension (rw)
BodyTypeMultipart
represents multipart body structures of messages.
Fields:
- media_type
-
Returns the content media type name as defined in [MIME-IMB].
- subtype
-
Returns the content subtype name as defined in [MIME-IMB].
- parts
-
Returns multiple parts.
- param
-
Returns a hash that represents parameters as defined in [MIME-IMB].
- disposition
-
Returns a
ContentDisposition
object giving the content disposition. - language
-
Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].
- extension
-
Returns extension data.
- multipart?
-
Returns true.
# File 'lib/net/imap/response_data.rb', line 501
class BodyTypeMultipart < Struct.new(:media_type, :subtype, :parts, :param, :disposition, :language, :extension)
#language (rw)
BodyTypeMultipart
represents multipart body structures of messages.
Fields:
- media_type
-
Returns the content media type name as defined in [MIME-IMB].
- subtype
-
Returns the content subtype name as defined in [MIME-IMB].
- parts
-
Returns multiple parts.
- param
-
Returns a hash that represents parameters as defined in [MIME-IMB].
- disposition
-
Returns a
ContentDisposition
object giving the content disposition. - language
-
Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].
- extension
-
Returns extension data.
- multipart?
-
Returns true.
# File 'lib/net/imap/response_data.rb', line 501
class BodyTypeMultipart < Struct.new(:media_type, :subtype, :parts, :param, :disposition, :language, :extension)
#media_type (rw)
BodyTypeMultipart
represents multipart body structures of messages.
Fields:
- media_type
-
Returns the content media type name as defined in [MIME-IMB].
- subtype
-
Returns the content subtype name as defined in [MIME-IMB].
- parts
-
Returns multiple parts.
- param
-
Returns a hash that represents parameters as defined in [MIME-IMB].
- disposition
-
Returns a
ContentDisposition
object giving the content disposition. - language
-
Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].
- extension
-
Returns extension data.
- multipart?
-
Returns true.
#multipart? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'lib/net/imap/response_data.rb', line 505
def multipart? return true end
#param (rw)
BodyTypeMultipart
represents multipart body structures of messages.
Fields:
- media_type
-
Returns the content media type name as defined in [MIME-IMB].
- subtype
-
Returns the content subtype name as defined in [MIME-IMB].
- parts
-
Returns multiple parts.
- param
-
Returns a hash that represents parameters as defined in [MIME-IMB].
- disposition
-
Returns a
ContentDisposition
object giving the content disposition. - language
-
Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].
- extension
-
Returns extension data.
- multipart?
-
Returns true.
# File 'lib/net/imap/response_data.rb', line 501
class BodyTypeMultipart < Struct.new(:media_type, :subtype, :parts, :param, :disposition, :language, :extension)
#parts (rw)
BodyTypeMultipart
represents multipart body structures of messages.
Fields:
- media_type
-
Returns the content media type name as defined in [MIME-IMB].
- subtype
-
Returns the content subtype name as defined in [MIME-IMB].
- parts
-
Returns multiple parts.
- param
-
Returns a hash that represents parameters as defined in [MIME-IMB].
- disposition
-
Returns a
ContentDisposition
object giving the content disposition. - language
-
Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].
- extension
-
Returns extension data.
- multipart?
-
Returns true.
# File 'lib/net/imap/response_data.rb', line 501
class BodyTypeMultipart < Struct.new(:media_type, :subtype, :parts, :param, :disposition, :language, :extension)
#subtype (rw)
BodyTypeMultipart
represents multipart body structures of messages.
Fields:
- media_type
-
Returns the content media type name as defined in [MIME-IMB].
- subtype
-
Returns the content subtype name as defined in [MIME-IMB].
- parts
-
Returns multiple parts.
- param
-
Returns a hash that represents parameters as defined in [MIME-IMB].
- disposition
-
Returns a
ContentDisposition
object giving the content disposition. - language
-
Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].
- extension
-
Returns extension data.
- multipart?
-
Returns true.
# File 'lib/net/imap/response_data.rb', line 501
class BodyTypeMultipart < Struct.new(:media_type, :subtype, :parts, :param, :disposition, :language, :extension)
Instance Method Details
#media_subtype
# File 'lib/net/imap/response_data.rb', line 512
def media_subtype warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1) return subtype end