Class: Net::IMAP::ResponseText
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::ResponseText
- Defined in:
- lib/net/imap/response_data.rb
Overview
Net::IMAP::ResponseText represents texts of responses.
The text may be prefixed by a ResponseCode.
ResponseText is returned from TaggedResponse#data, or from UntaggedResponse#data when the response type is a “condition” (“OK”, “NO”, “BAD”, “PREAUTH”, or “BYE”).
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
110 111 112 |
# File 'lib/net/imap/response_data.rb', line 110 def code @code end |
#text ⇒ Object
Returns the value of attribute text
110 111 112 |
# File 'lib/net/imap/response_data.rb', line 110 def text @text end |