Class: Net::IMAP::ResponseText
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Struct
|
|
|
Instance Chain:
self,
Struct
|
|
| Inherits: |
Struct
|
| Defined in: | lib/net/imap/response_data.rb |
Overview
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”).
Constant Summary
-
EMPTY =
# File 'lib/net/imap/response_data.rb', line 172
Used to avoid an allocation when
ResponseTextis emptynew(nil, "").freeze
Instance Attribute Summary
Instance Attribute Details
#code (rw)
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”).
#text (rw)
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”).