Class: Net::IMAP::ResponseText
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::ResponseText
- Defined in:
- lib/net/imap.rb
Overview
Net::IMAP::ResponseText represents texts of responses. The text may be prefixed by the response code.
resp_text ::= ["[" resp_text_code "]" SPACE] (text_mime2 / text)
;; text SHOULD NOT begin with "[" or "="
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
1509 1510 1511 |
# File 'lib/net/imap.rb', line 1509 def code @code end |
#text ⇒ Object
Returns the value of attribute text
1509 1510 1511 |
# File 'lib/net/imap.rb', line 1509 def text @text end |