123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::BodyTypeExtension

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/response_data.rb

Overview

Obsolete

BodyTypeExtension is not used and will be removed in an upcoming release.

BodyTypeExtension was (incorrectly) used for message/* parts (besides message/rfc822, which correctly uses BodyTypeMessage).

Net::IMAP now (correctly) parses all message types (other than message/rfc822 or message/global) as BodyTypeBasic.

Instance Attribute Summary

  • #content_id rw

    Obsolete BodyTypeExtension is not used and will be removed in an upcoming release.

  • #description rw

    Obsolete BodyTypeExtension is not used and will be removed in an upcoming release.

  • #encoding rw

    Obsolete BodyTypeExtension is not used and will be removed in an upcoming release.

  • #media_type rw

    Obsolete BodyTypeExtension is not used and will be removed in an upcoming release.

  • #multipart? ⇒ Boolean readonly
  • #params rw

    Obsolete BodyTypeExtension is not used and will be removed in an upcoming release.

  • #size rw

    Obsolete BodyTypeExtension is not used and will be removed in an upcoming release.

  • #subtype rw

    Obsolete BodyTypeExtension is not used and will be removed in an upcoming release.

Instance Attribute Details

#content_id (rw)

Obsolete

BodyTypeExtension is not used and will be removed in an upcoming release.

BodyTypeExtension was (incorrectly) used for message/* parts (besides message/rfc822, which correctly uses BodyTypeMessage).

Net::IMAP now (correctly) parses all message types (other than message/rfc822 or message/global) as BodyTypeBasic.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 1199

class BodyTypeExtension < Struct.new(:media_type, :subtype,
:params, :content_id,
:description, :encoding, :size)

#description (rw)

Obsolete

BodyTypeExtension is not used and will be removed in an upcoming release.

BodyTypeExtension was (incorrectly) used for message/* parts (besides message/rfc822, which correctly uses BodyTypeMessage).

Net::IMAP now (correctly) parses all message types (other than message/rfc822 or message/global) as BodyTypeBasic.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 1199

class BodyTypeExtension < Struct.new(:media_type, :subtype,
:params, :content_id,
:description, :encoding, :size)

#encoding (rw)

Obsolete

BodyTypeExtension is not used and will be removed in an upcoming release.

BodyTypeExtension was (incorrectly) used for message/* parts (besides message/rfc822, which correctly uses BodyTypeMessage).

Net::IMAP now (correctly) parses all message types (other than message/rfc822 or message/global) as BodyTypeBasic.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 1199

class BodyTypeExtension < Struct.new(:media_type, :subtype,
:params, :content_id,
:description, :encoding, :size)

#media_type (rw)

Obsolete

BodyTypeExtension is not used and will be removed in an upcoming release.

BodyTypeExtension was (incorrectly) used for message/* parts (besides message/rfc822, which correctly uses BodyTypeMessage).

Net::IMAP now (correctly) parses all message types (other than message/rfc822 or message/global) as BodyTypeBasic.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 1199

class BodyTypeExtension < Struct.new(:media_type, :subtype,
:params, :content_id,
:description, :encoding, :size)

#multipart?Boolean (readonly)

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 1202

def multipart?
  return false
end

#params (rw)

Obsolete

BodyTypeExtension is not used and will be removed in an upcoming release.

BodyTypeExtension was (incorrectly) used for message/* parts (besides message/rfc822, which correctly uses BodyTypeMessage).

Net::IMAP now (correctly) parses all message types (other than message/rfc822 or message/global) as BodyTypeBasic.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 1199

class BodyTypeExtension < Struct.new(:media_type, :subtype,
:params, :content_id,
:description, :encoding, :size)

#size (rw)

Obsolete

BodyTypeExtension is not used and will be removed in an upcoming release.

BodyTypeExtension was (incorrectly) used for message/* parts (besides message/rfc822, which correctly uses BodyTypeMessage).

Net::IMAP now (correctly) parses all message types (other than message/rfc822 or message/global) as BodyTypeBasic.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 1199

class BodyTypeExtension < Struct.new(:media_type, :subtype,
:params, :content_id,
:description, :encoding, :size)

#subtype (rw)

Obsolete

BodyTypeExtension is not used and will be removed in an upcoming release.

BodyTypeExtension was (incorrectly) used for message/* parts (besides message/rfc822, which correctly uses BodyTypeMessage).

Net::IMAP now (correctly) parses all message types (other than message/rfc822 or message/global) as BodyTypeBasic.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 1199

class BodyTypeExtension < Struct.new(:media_type, :subtype,
:params, :content_id,
:description, :encoding, :size)