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.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. -
#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. - #multipart? ⇒ Boolean readonly
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.
# File 'lib/net/imap.rb', line 2061
class BodyTypeMultipart < Struct.new(:media_type, :subtype, :parts, :param, :disposition, :language, :extension)
#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.rb', line 2061
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.rb', line 2061
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.
# File 'lib/net/imap.rb', line 2061
class BodyTypeMultipart < Struct.new(:media_type, :subtype, :parts, :param, :disposition, :language, :extension)
#multipart? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'lib/net/imap.rb', line 2065
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.rb', line 2061
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.rb', line 2061
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.rb', line 2061
class BodyTypeMultipart < Struct.new(:media_type, :subtype, :parts, :param, :disposition, :language, :extension)
Instance Method Details
#media_subtype
# File 'lib/net/imap.rb', line 2072
def media_subtype $stderr.printf("warning: media_subtype is obsolete.\n") $stderr.printf(" use subtype instead.\n") return subtype end