Class: Net::IMAP::BodyTypeExtension
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::BodyTypeExtension
- 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 (besidesmessage/rfc822
, which correctly uses BodyTypeMessage).Net::IMAP now (correctly) parses all message types (other than
message/rfc822
ormessage/global
) as BodyTypeBasic.
Instance Attribute Summary collapse
-
#content_id ⇒ Object
Returns the value of attribute content_id.
-
#description ⇒ Object
Returns the value of attribute description.
-
#encoding ⇒ Object
Returns the value of attribute encoding.
-
#media_type ⇒ Object
Returns the value of attribute media_type.
-
#params ⇒ Object
Returns the value of attribute params.
-
#size ⇒ Object
Returns the value of attribute size.
-
#subtype ⇒ Object
Returns the value of attribute subtype.
Instance Method Summary collapse
Instance Attribute Details
#content_id ⇒ Object
Returns the value of attribute content_id
1140 1141 1142 |
# File 'lib/net/imap/response_data.rb', line 1140 def content_id @content_id end |
#description ⇒ Object
Returns the value of attribute description
1140 1141 1142 |
# File 'lib/net/imap/response_data.rb', line 1140 def description @description end |
#encoding ⇒ Object
Returns the value of attribute encoding
1140 1141 1142 |
# File 'lib/net/imap/response_data.rb', line 1140 def encoding @encoding end |
#media_type ⇒ Object
Returns the value of attribute media_type
1140 1141 1142 |
# File 'lib/net/imap/response_data.rb', line 1140 def media_type @media_type end |
#params ⇒ Object
Returns the value of attribute params
1140 1141 1142 |
# File 'lib/net/imap/response_data.rb', line 1140 def params @params end |
#size ⇒ Object
Returns the value of attribute size
1140 1141 1142 |
# File 'lib/net/imap/response_data.rb', line 1140 def size @size end |
#subtype ⇒ Object
Returns the value of attribute subtype
1140 1141 1142 |
# File 'lib/net/imap/response_data.rb', line 1140 def subtype @subtype end |
Instance Method Details
#multipart? ⇒ Boolean
1143 1144 1145 |
# File 'lib/net/imap/response_data.rb', line 1143 def multipart? return false end |