Class: Net::IMAP::StatusData

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

Overview

Net::IMAP::StatusData represents the contents of the STATUS response.

Fields:

mailbox

Returns the mailbox name.

attr

Returns a hash. Each key is one of “MESSAGES”, “RECENT”, “UIDNEXT”, “UIDVALIDITY”, “UNSEEN”. Each value is a number.

Instance Attribute Summary collapse

Instance Attribute Details

#attrObject

Returns the value of attribute attr

Returns:

  • (Object)

    the current value of attr



234
235
236
# File 'lib/net/imap/response_data.rb', line 234

def attr
  @attr
end

#mailboxObject

Returns the value of attribute mailbox

Returns:

  • (Object)

    the current value of mailbox



234
235
236
# File 'lib/net/imap/response_data.rb', line 234

def mailbox
  @mailbox
end