@@ -423,16 +423,16 @@ class MailboxList < Struct.new(:attr, :delim, :name)
423
423
# Returns the mailbox name.
424
424
end
425
425
426
- # Net::IMAP::MailboxQuota represents contents of GETQUOTA response.
427
- # This object can also be a response to GETQUOTAROOT. In the syntax
428
- # specification below, the delimiter used with the "#" construct is a
429
- # single space (SPACE).
426
+ # MailboxQuota represents the data of an untagged +QUOTA+ response.
430
427
#
431
- # Net: IMAP#getquota returns an array of MailboxQuota objects.
428
+ # IMAP#getquota returns an array of MailboxQuota objects.
432
429
#
433
430
# Net::IMAP#getquotaroot returns an array containing both MailboxQuotaRoot
434
431
# and MailboxQuota objects.
435
432
#
433
+ # == Required capability
434
+ # Requires +QUOTA+ [RFC2087[https://www.rfc-editor.org/rfc/rfc2087]]
435
+ # capability.
436
436
class MailboxQuota < Struct . new ( :mailbox , :usage , :quota )
437
437
##
438
438
# method: mailbox
@@ -454,12 +454,14 @@ class MailboxQuota < Struct.new(:mailbox, :usage, :quota)
454
454
#
455
455
end
456
456
457
- # Net::IMAP::MailboxQuotaRoot represents part of the GETQUOTAROOT
458
- # response. (GETQUOTAROOT can also return Net::IMAP::MailboxQuota.)
457
+ # MailboxQuotaRoot represents the data of an untagged +QUOTAROOT+ response.
459
458
#
460
- # Net:: IMAP#getquotaroot returns an array containing both MailboxQuotaRoot
461
- # and MailboxQuota objects.
459
+ # IMAP#getquotaroot returns an array containing both MailboxQuotaRoot and
460
+ # MailboxQuota objects.
462
461
#
462
+ # == Required capability
463
+ # Requires +QUOTA+ [RFC2087[https://www.rfc-editor.org/rfc/rfc2087]]
464
+ # capability.
463
465
class MailboxQuotaRoot < Struct . new ( :mailbox , :quotaroots )
464
466
##
465
467
# method: mailbox
0 commit comments