123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::TaggedResponse

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

TaggedResponse represents tagged responses.

The server completion result response indicates the success or failure of the operation. It is tagged with the same tag as the client command which began the operation.

Instance Attribute Summary

Instance Attribute Details

#dataResponseText (rw)

Returns a ResponseText object

[ GitHub ]

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

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

#nameString (rw)

Returns the name, one of "OK", "NO", or "BAD".

[ GitHub ]

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

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

#raw_dataString (rw)

The raw response data.

[ GitHub ]

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

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

#tagString (rw)

Returns the command tag

[ GitHub ]

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

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