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