class Net::IMAP::BodyTypeMultipart
Net::IMAP::BodyTypeMultipart represents body structures of messages and message parts, when Content-Type is multipart/*.
Public Instance Methods
Source
# File lib/net/imap/response_data.rb, line 1151
Returns a Net::IMAP::ContentDisposition object giving the content disposition.
Source
# File lib/net/imap/response_data.rb, line 1166
Returns extension data as an array of numbers strings, and nested arrays (of numbers, strings, etc).
Source
# File lib/net/imap/response_data.rb, line 1158
Returns a string or an array of strings giving the body language value as defined in [LANGUAGE-TAGS].
Source
# File lib/net/imap/response_data.rb, line 1184 def media_subtype warn("media_subtype is obsolete, use subtype instead.\n", uplevel: 1, category: :deprecated) return subtype end
Obsolete: use subtype instead. Calling this will generate a warning message to stderr, then return the value of subtype.
Source
# File lib/net/imap/response_data.rb, line 1124
BodyTypeMultipart is only used with multipart/* media types.
Source
# File lib/net/imap/response_data.rb, line 1176 def multipart? return true end
BodyTypeMultipart is used for multipart MIME parts.
Source
# File lib/net/imap/response_data.rb, line 1144
Returns a hash that represents parameters as defined in [MIME-IMB].
Source
# File lib/net/imap/response_data.rb, line 1137
Returns an array with a BodyStructure object for each part contained in this part.
Source
# File lib/net/imap/response_data.rb, line 1130
Returns the content subtype name as defined in [MIME-IMB].