class Net::IMAP::UntaggedResponse - net-imap: Ruby Standard Library Documentation

# class Net::IMAP::UntaggedResponse

`Net::IMAP::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.

### Public Instance Methods

data → object or nil click to toggle source

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.

    # File net-imap-0.5.4/lib/net/imap/response_data.rb, line 46

name → string click to toggle source

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

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

raw_data → string click to toggle source

The raw response data.

    # File net-imap-0.5.4/lib/net/imap/response_data.rb, line 55