Class: Net::IMAP::MailboxQuota

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

Overview

MailboxQuota represents the data of an untagged QUOTA response.

IMAP#getquota returns an array of MailboxQuota objects.

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

Required capability

Requires QUOTA [RFC2087] capability.

Instance Attribute Summary collapse

Instance Attribute Details

#mailboxObject

Returns the value of attribute mailbox

Returns:

  • (Object)

    the current value of mailbox



389
390
391
# File 'lib/net/imap/response_data.rb', line 389

def mailbox
  @mailbox
end

#quotaObject

Returns the value of attribute quota

Returns:

  • (Object)

    the current value of quota



389
390
391
# File 'lib/net/imap/response_data.rb', line 389

def quota
  @quota
end

#usageObject

Returns the value of attribute usage

Returns:

  • (Object)

    the current value of usage



389
390
391
# File 'lib/net/imap/response_data.rb', line 389

def usage
  @usage
end