Class: Net::IMAP::MailboxQuota
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::MailboxQuota
- 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).
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 the mailbox.
- quota
-
Quota limit imposed on the mailbox.
Instance Attribute Summary collapse
-
#mailbox ⇒ Object
Returns the value of attribute mailbox.
-
#quota ⇒ Object
Returns the value of attribute quota.
-
#usage ⇒ Object
Returns the value of attribute usage.
Instance Attribute Details
#mailbox ⇒ Object
Returns the value of attribute mailbox
153 154 155 |
# File 'lib/net/imap/response_data.rb', line 153 def mailbox @mailbox end |
#quota ⇒ Object
Returns the value of attribute quota
153 154 155 |
# File 'lib/net/imap/response_data.rb', line 153 def quota @quota end |
#usage ⇒ Object
Returns the value of attribute usage
153 154 155 |
# File 'lib/net/imap/response_data.rb', line 153 def usage @usage end |