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.3.4/lib/net/imap/response_data.rb, line 316
      
quota → Integer click to toggle source

Quota limit imposed on the mailbox.

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

Current storage usage of the mailbox.

# File net-imap-0.3.4/lib/net/imap/response_data.rb, line 322