Class: Net::IMAP::StatusData

Inherits:
Struct 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)

Method Summary

Methods inherited from Struct

#pretty_print, #pretty_print_cycle, #to_yaml, yaml_new

Instance Attribute Details

- (Object) attr

Returns the value of attribute attr

Returns:

  • (Object)

    the current value of attr



1697
1698
1699
# File 'lib/net/imap.rb', line 1697

def attr
  @attr
end

- (Object) mailbox

Returns the value of attribute mailbox

Returns:

  • (Object)

    the current value of mailbox



1697
1698
1699
# File 'lib/net/imap.rb', line 1697

def mailbox
  @mailbox
end