class Net::IMAP::MailboxQuota - net-imap: Ruby Standard Library Documentation

# 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.5.4/lib/net/imap/response_data.rb, line 427

quota → Integer click to toggle source

Quota limit imposed on the mailbox.

    # File net-imap-0.5.4/lib/net/imap/response_data.rb, line 439

usage → Integer click to toggle source

Current storage usage of the mailbox.

    # File net-imap-0.5.4/lib/net/imap/response_data.rb, line 433