Class: Net::IMAP::StatusData

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

Overview

Net::IMAP::StatusData represents 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



1608
1609
1610
# File 'lib/net/imap.rb', line 1608

def attr
  @attr
end

#mailboxObject

Returns the value of attribute mailbox

Returns:

  • (Object)

    the current value of mailbox



1608
1609
1610
# File 'lib/net/imap.rb', line 1608

def mailbox
  @mailbox
end