123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::ResponseText

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/net/imap.rb

Overview

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

  • #code rw

    ResponseText represents texts of responses.

  • #text rw

    ResponseText represents texts of responses.

Instance Attribute Details

#code (rw)

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.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1724

ResponseText = Struct.new(:code, :text)

#text (rw)

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.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1724

ResponseText = Struct.new(:code, :text)