123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::BodyTypeAttachment

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/net/imap.rb

Overview

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

  • #media_type rw

    BodyTypeAttachment represents attachment body structures of messages.

  • #multipart? ⇒ Boolean readonly
  • #param rw

    BodyTypeAttachment represents attachment body structures of messages.

  • #subtype rw

    BodyTypeAttachment represents attachment body structures of messages.

Instance Attribute Details

#media_type (rw)

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.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2114

class BodyTypeAttachment < Struct.new(:media_type, :subtype,
:param)

#multipart?Boolean (readonly)

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2116

def multipart?
  return false
end

#param (rw)

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.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2114

class BodyTypeAttachment < Struct.new(:media_type, :subtype,
:param)

#subtype (rw)

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.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 2114

class BodyTypeAttachment < Struct.new(:media_type, :subtype,
:param)