Class: Net::IMAP::BodyTypeExtension

Inherits:
Struct
  • Object
show all
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 collapse

Instance Method Summary collapse

Instance Attribute Details

#content_idObject

Returns the value of attribute content_id

Returns:

  • (Object)

    the current value of content_id



1140
1141
1142
# File 'lib/net/imap/response_data.rb', line 1140

def content_id
  @content_id
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



1140
1141
1142
# File 'lib/net/imap/response_data.rb', line 1140

def description
  @description
end

#encodingObject

Returns the value of attribute encoding

Returns:

  • (Object)

    the current value of encoding



1140
1141
1142
# File 'lib/net/imap/response_data.rb', line 1140

def encoding
  @encoding
end

#media_typeObject

Returns the value of attribute media_type

Returns:

  • (Object)

    the current value of media_type



1140
1141
1142
# File 'lib/net/imap/response_data.rb', line 1140

def media_type
  @media_type
end

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



1140
1141
1142
# File 'lib/net/imap/response_data.rb', line 1140

def params
  @params
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



1140
1141
1142
# File 'lib/net/imap/response_data.rb', line 1140

def size
  @size
end

#subtypeObject

Returns the value of attribute subtype

Returns:

  • (Object)

    the current value of subtype



1140
1141
1142
# File 'lib/net/imap/response_data.rb', line 1140

def subtype
  @subtype
end

Instance Method Details

#multipart?Boolean

Returns:

  • (Boolean)


1143
1144
1145
# File 'lib/net/imap/response_data.rb', line 1143

def multipart?
  return false
end