From 62c91dcfca3300d1660b39ee049ef78b22a45ecf Mon Sep 17 00:00:00 2001 From: nicholas evans Date: Mon, 30 Oct 2023 22:42:47 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20Update=20MailboxQuota,=20Mailbox?= =?UTF-8?q?QuotaRoot=20rdoc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/net/imap/response_data.rb | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/lib/net/imap/response_data.rb b/lib/net/imap/response_data.rb index 055095ef..c1c2be58 100644 --- a/lib/net/imap/response_data.rb +++ b/lib/net/imap/response_data.rb @@ -423,16 +423,16 @@ class MailboxList < Struct.new(:attr, :delim, :name) # Returns the mailbox name. end - # 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). + # MailboxQuota represents the data of an untagged +QUOTA+ response. # - # Net:IMAP#getquota returns an array of MailboxQuota objects. + # 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[https://www.rfc-editor.org/rfc/rfc2087]] + # capability. class MailboxQuota < Struct.new(:mailbox, :usage, :quota) ## # method: mailbox @@ -454,12 +454,14 @@ class MailboxQuota < Struct.new(:mailbox, :usage, :quota) # end - # Net::IMAP::MailboxQuotaRoot represents part of the GETQUOTAROOT - # response. (GETQUOTAROOT can also return Net::IMAP::MailboxQuota.) + # MailboxQuotaRoot represents the data of an untagged +QUOTAROOT+ response. # - # Net::IMAP#getquotaroot returns an array containing both MailboxQuotaRoot - # and MailboxQuota objects. + # IMAP#getquotaroot returns an array containing both MailboxQuotaRoot and + # MailboxQuota objects. # + # == Required capability + # Requires +QUOTA+ [RFC2087[https://www.rfc-editor.org/rfc/rfc2087]] + # capability. class MailboxQuotaRoot < Struct.new(:mailbox, :quotaroots) ## # method: mailbox