Class: Net::IMAP::BodyTypeAttachment

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/imap/response_data.rb

Overview

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#media_typeObject

Returns the value of attribute media_type

Returns:

  • (Object)

    the current value of media_type



471
472
473
# File 'lib/net/imap/response_data.rb', line 471

def media_type
  @media_type
end

#paramObject

Returns the value of attribute param

Returns:

  • (Object)

    the current value of param



471
472
473
# File 'lib/net/imap/response_data.rb', line 471

def param
  @param
end

#subtypeObject

Returns the value of attribute subtype

Returns:

  • (Object)

    the current value of subtype



471
472
473
# File 'lib/net/imap/response_data.rb', line 471

def subtype
  @subtype
end

Instance Method Details

#multipart?Boolean

Returns:

  • (Boolean)


473
474
475
# File 'lib/net/imap/response_data.rb', line 473

def multipart?
  return false
end