Class: Net::IMAP::MailboxQuota

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

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#mailboxObject

Returns the value of attribute mailbox

Returns:

  • (Object)

    the current value of mailbox



423
424
425
# File 'lib/net/imap/response_data.rb', line 423

def mailbox
  @mailbox
end

#quotaObject

Returns the value of attribute quota

Returns:

  • (Object)

    the current value of quota



423
424
425
# File 'lib/net/imap/response_data.rb', line 423

def quota
  @quota
end

#usageObject

Returns the value of attribute usage

Returns:

  • (Object)

    the current value of usage



423
424
425
# File 'lib/net/imap/response_data.rb', line 423

def usage
  @usage
end