class Net::IMAP::ResponseText
Net::IMAP::ResponseText 表示响应的文本。
文本可能以 ResponseCode 为前缀。
ResponseText 从 TaggedResponse#data 返回,或者当响应类型为“条件”(“OK”、“NO”、“BAD”、“PREAUTH”或“BYE”)时,从 UntaggedResponse#data 返回。
常量
- EMPTY
公共实例方法
code → ResponseCode or nil 点击切换源代码
如果响应包含 ResponseCode,则返回该 ResponseCode。
# File net-imap-0.5.4/lib/net/imap/response_data.rb, line 174
text → string 点击切换源代码
返回响应文本,不包括任何响应代码。
# File net-imap-0.5.4/lib/net/imap/response_data.rb, line 180