123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::UntaggedResponse

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
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

UntaggedResponse represents untagged responses.

Data transmitted by the server to the client and status responses that do not indicate command completion are prefixed with the token "*", and are called untagged responses.

Instance Attribute Summary

Instance Attribute Details

#dataObject? (rw)

The parsed response data, e.g: an array of flag symbols, an array of capabilities strings, a ResponseText object, a MailboxList object, a FetchData object, a Namespaces object, etc. The response #name determines what form the data can take.

[ GitHub ]

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

class UntaggedResponse < Struct.new(:name, :data, :raw_data)

#nameString (rw)

The uppercase response name, e.g. "FLAGS", "LIST", "FETCH", etc.

[ GitHub ]

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

class UntaggedResponse < Struct.new(:name, :data, :raw_data)

#raw_dataString (rw)

The raw response data.

[ GitHub ]

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

class UntaggedResponse < Struct.new(:name, :data, :raw_data)