W3cubDocs

/Ruby 2.4

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 2055
def multipart?
  return false
end

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