Class: Net::IMAP::BodyTypeAttachment (Ruby 2.7.3)
Description: Class : Net::IMAP::BodyTypeAttachment - Ruby 2.7.3

### Home Classes Methods

### In Files

- net/imap.rb

### Parent

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

### Methods

- #multipart?

### Class/Module Index

Quicksearch

- Net
- Net::IMAP
- Net::IMAP::BadResponseError
- Net::IMAP::BodyTypeAttachment
- Net::IMAP::BodyTypeBasic
- Net::IMAP::BodyTypeExtension
- Net::IMAP::BodyTypeMessage
- Net::IMAP::BodyTypeMultipart
- Net::IMAP::BodyTypeText
- Net::IMAP::ByeResponseError
- Net::IMAP::CramMD5Authenticator
- Net::IMAP::DataFormatError
- Net::IMAP::DigestMD5Authenticator
- Net::IMAP::Error
- Net::IMAP::FlagCountError
- Net::IMAP::LoginAuthenticator
- Net::IMAP::NoResponseError
- Net::IMAP::NumValidator
- Net::IMAP::PlainAuthenticator
- Net::IMAP::ResponseError
- Net::IMAP::ResponseParseError

No matching classes.

# Net::IMAP::BodyTypeAttachment

`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?() click to toggle source

                   # File net/imap.rb, line 2115
    def multipart?
      return false
    end