@@ -504,11 +504,12 @@ class MailboxACLItem < Struct.new(:user, :rights, :mailbox)
504
504
# The access rights the indicated #user has to the #mailbox.
505
505
end
506
506
507
- # Net::IMAP::Namespace represents a single namespace contained inside a
508
- # NAMESPACE response.
509
- #
510
- # Returned by Net::IMAP#namespace, contained inside a Namespaces object.
507
+ # Namespace represents a _single_ namespace, contained inside a Namespaces
508
+ # object.
511
509
#
510
+ # == Required capability
511
+ # Requires either +NAMESPACE+ [RFC2342[https://www.rfc-editor.org/rfc/rfc2342]]
512
+ # or +IMAP4rev2+ capability.
512
513
class Namespace < Struct . new ( :prefix , :delim , :extensions )
513
514
##
514
515
# method: prefix
@@ -530,11 +531,14 @@ class Namespace < Struct.new(:prefix, :delim, :extensions)
530
531
# Extension parameter semantics would be defined by the extension.
531
532
end
532
533
533
- # Net::IMAP:: Namespaces represents a +NAMESPACE+ server response, which
534
- # contains lists of #personal, #shared, and #other namespaces .
534
+ # Namespaces represents the data of an untagged +NAMESPACE+ response,
535
+ # returned by IMAP#namespace .
535
536
#
536
- # Net::IMAP#namespace returns a Namespaces object .
537
+ # Contains lists of #personal, #shared, and #other namespaces .
537
538
#
539
+ # == Required capability
540
+ # Requires either +NAMESPACE+ [RFC2342[https://www.rfc-editor.org/rfc/rfc2342]]
541
+ # or +IMAP4rev2+ capability.
538
542
class Namespaces < Struct . new ( :personal , :other , :shared )
539
543
##
540
544
# method: personal
0 commit comments