W3cubDocs

/Ruby 3

class Net::IMAP::BodyTypeAttachment

Parent:
Struct.new(:media_type, :subtype, :param)

Net::IMAP::BodyTypeAttachment represents attachment body structures of messages.

Fields:

media_type

Returns the content media type name.

subtype

Returns nil.

param

Returns a hash that represents parameters.

multipart?

Returns false.

Public Instance Methods

multipart?() Show source
# File lib/net/imap.rb, line 2117
def multipart?
  return false
end

Ruby Core © 1993–2020 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.