Class: Net::IMAP::MailboxQuota
- Inherits:
-
Struct
- Object
- Struct
- Net::IMAP::MailboxQuota
- 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] or QUOTA=RES-STORAGE
- RFC9208
-
capability.
Instance Attribute Summary collapse
-
#mailbox ⇒ Object
(also: #quota_root)
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 Also known as: quota_root
Returns the value of attribute mailbox
478 479 480 |
# File 'lib/net/imap/response_data.rb', line 478 def mailbox @mailbox end |
#quota ⇒ Object
Returns the value of attribute quota
478 479 480 |
# File 'lib/net/imap/response_data.rb', line 478 def quota @quota end |
#usage ⇒ Object
Returns the value of attribute usage
478 479 480 |
# File 'lib/net/imap/response_data.rb', line 478 def usage @usage end |