Class: Net::IMAP::BodyTypeAttachment
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::BodyTypeAttachment
- 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
-
#media_type ⇒ Object
Returns the value of attribute media_type.
-
#param ⇒ Object
Returns the value of attribute param.
-
#subtype ⇒ Object
Returns the value of attribute subtype.
Instance Method Summary collapse
Instance Attribute Details
#media_type ⇒ Object
Returns the value of attribute media_type
471 472 473 |
# File 'lib/net/imap/response_data.rb', line 471 def media_type @media_type end |
#param ⇒ Object
Returns the value of attribute param
471 472 473 |
# File 'lib/net/imap/response_data.rb', line 471 def param @param end |
#subtype ⇒ Object
Returns the value of attribute subtype
471 472 473 |
# File 'lib/net/imap/response_data.rb', line 471 def subtype @subtype end |
Instance Method Details
#multipart? ⇒ Boolean
473 474 475 |
# File 'lib/net/imap/response_data.rb', line 473 def multipart? return false end |