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 the response code.
resp_text ::= ["[" resp-text-code "]" SP] text
Fields:
- code
-
Returns the response code. See ((<Net::IMAP::ResponseCode>)).
- text
-
Returns the text.
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
92 93 94 |
# File 'lib/net/imap/response_data.rb', line 92 def code @code end |
#text ⇒ Object
Returns the value of attribute text
92 93 94 |
# File 'lib/net/imap/response_data.rb', line 92 def text @text end |