Class: Net::IMAP::UntaggedResponse
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::UntaggedResponse
- Defined in:
- lib/net/imap/response_data.rb
Overview
Net::IMAP::UntaggedResponse represents untagged responses.
Data transmitted by the server to the client and status responses that do not indicate command completion are prefixed with the token “*”, and are called untagged responses.
response_data ::= "*" SPACE (resp_cond_state / resp_cond_bye /
mailbox_data / message_data / capability_data)
Fields:
- name
-
Returns the name, such as “FLAGS”, “LIST”, or “FETCH”.
- data
-
Returns the data such as an array of flag symbols, a ((<Net::IMAP::MailboxList>)) object.
- raw_data
-
Returns the raw data string.
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#name ⇒ Object
Returns the value of attribute name.
-
#raw_data ⇒ Object
Returns the value of attribute raw_data.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
40 41 42 |
# File 'lib/net/imap/response_data.rb', line 40 def data @data end |
#name ⇒ Object
Returns the value of attribute name
40 41 42 |
# File 'lib/net/imap/response_data.rb', line 40 def name @name end |
#raw_data ⇒ Object
Returns the value of attribute raw_data
40 41 42 |
# File 'lib/net/imap/response_data.rb', line 40 def raw_data @raw_data end |