Class: Net::IMAP::TaggedResponse
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::TaggedResponse
- Defined in:
- lib/net/imap.rb
Overview
Net::IMAP::TaggedResponse represents tagged responses.
The server completion result response indicates the success or failure of the operation. It is tagged with the same tag as the client command which began the operation.
response_tagged ::= tag SPACE resp_cond_state CRLF
tag ::= 1*<any ATOM_CHAR except "+">
resp_cond_state ::= ("OK" / "NO" / "BAD") SPACE resp_text
Fields:
- tag
-
Returns the tag.
- name
-
Returns the name. the name is one of "OK", "NO", "BAD".
- data
-
Returns the data. See ((<Net::IMAP::ResponseText>)).
- 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.
-
#tag ⇒ Object
Returns the value of attribute tag.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
1495 1496 1497 |
# File 'lib/net/imap.rb', line 1495 def data @data end |
#name ⇒ Object
Returns the value of attribute name
1495 1496 1497 |
# File 'lib/net/imap.rb', line 1495 def name @name end |
#raw_data ⇒ Object
Returns the value of attribute raw_data
1495 1496 1497 |
# File 'lib/net/imap.rb', line 1495 def raw_data @raw_data end |
#tag ⇒ Object
Returns the value of attribute tag
1495 1496 1497 |
# File 'lib/net/imap.rb', line 1495 def tag @tag end |