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/response_data.rb

Overview

ResponseText represents texts of responses.

The text may be prefixed by a ResponseCode.

ResponseText is returned from TaggedResponse#data or UntaggedResponse#data for “status responses”:

Note that these “status responses” are confusingly not the same as the STATUS UntaggedResponse (see #status and StatusData).

Constant Summary

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 a ResponseCode.

ResponseText is returned from TaggedResponse#data or UntaggedResponse#data for “status responses”:

Note that these “status responses” are confusingly not the same as the STATUS UntaggedResponse (see Net::IMAP#status and StatusData).

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 177

class ResponseText < Struct.new(:code, :text)

#text (rw)

ResponseText represents texts of responses.

The text may be prefixed by a ResponseCode.

ResponseText is returned from TaggedResponse#data or UntaggedResponse#data for “status responses”:

Note that these “status responses” are confusingly not the same as the STATUS UntaggedResponse (see Net::IMAP#status and StatusData).

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 177

class ResponseText < Struct.new(:code, :text)