Class: Net::IMAP::MailboxQuota

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/imap.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).

quota_list      ::= "(" #quota_resource ")"

quota_resource  ::= atom SPACE number SPACE number

quota_response  ::= "QUOTA" SPACE astring SPACE quota_list

Fields:

mailbox

The mailbox with the associated quota.

usage

Current storage usage of mailbox.

quota

Quota limit imposed on mailbox.

Instance Attribute Summary collapse

Instance Attribute Details

#mailboxObject

Returns the value of attribute mailbox

Returns:

  • (Object)

    the current value of mailbox



1565
1566
1567
# File 'lib/net/imap.rb', line 1565

def mailbox
  @mailbox
end

#quotaObject

Returns the value of attribute quota

Returns:

  • (Object)

    the current value of quota



1565
1566
1567
# File 'lib/net/imap.rb', line 1565

def quota
  @quota
end

#usageObject

Returns the value of attribute usage

Returns:

  • (Object)

    the current value of usage



1565
1566
1567
# File 'lib/net/imap.rb', line 1565

def usage
  @usage
end