class Net::IMAP::MailboxQuota

Net::IMAP::MailboxQuota represents contents of GETQUOTA response. This object can also be a response to GETQUOTAROOT. In the syntax specification below, the delimiter used with the “#” construct is a single space (SPACE).

Net:IMAP#getquota returns an array of MailboxQuota objects.

Net::IMAP#getquotaroot returns an array containing both MailboxQuotaRoot and MailboxQuota objects.

Public Instance Methods

mailbox → string click to toggle source

The mailbox with the associated quota.

# File net-imap-0.4.11/lib/net/imap/response_data.rb, line 425
      
quota → Integer click to toggle source

Quota limit imposed on the mailbox.

# File net-imap-0.4.11/lib/net/imap/response_data.rb, line 437
    
usage → Integer click to toggle source

Current storage usage of the mailbox.

# File net-imap-0.4.11/lib/net/imap/response_data.rb, line 431