123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::Namespaces

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/net/imap/response_data.rb

Overview

Namespaces represents the data of an untagged NAMESPACE response, returned by #namespace.

Contains lists of #personal, #shared, and #other namespaces.

Required capability

Requires either NAMESPACE [RFC2342] or IMAP4rev2 capability.

Instance Attribute Summary

Instance Attribute Details

#otherarray of Namespace (rw)

Returns an array of Other Users' Namespace objects.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 591

class Namespaces < Struct.new(:personal, :other, :shared)

#personalarray of Namespace (rw)

Returns an array of Personal Namespace objects.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 591

class Namespaces < Struct.new(:personal, :other, :shared)

#sharedarray of Namespace (rw)

Returns an array of Shared Namespace objects.

[ GitHub ]

  
# File 'lib/net/imap/response_data.rb', line 591

class Namespaces < Struct.new(:personal, :other, :shared)