Class: Net::IMAP::TaggedResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/imap/response_data.rb

Overview

Net::IMAP::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 collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



139
140
141
# File 'lib/net/imap/response_data.rb', line 139

def data
  @data
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



139
140
141
# File 'lib/net/imap/response_data.rb', line 139

def name
  @name
end

#raw_dataObject

Returns the value of attribute raw_data

Returns:

  • (Object)

    the current value of raw_data



139
140
141
# File 'lib/net/imap/response_data.rb', line 139

def raw_data
  @raw_data
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



139
140
141
# File 'lib/net/imap/response_data.rb', line 139

def tag
  @tag
end