class Net::IMAP::Namespaces - net-imap: Ruby Standard Library Documentation

# class Net::IMAP::Namespaces

`Net::IMAP::Namespaces` represents a `NAMESPACE` server response, which contains lists of `personal`, `shared`, and `other` namespaces.

`Net::IMAP#namespace` returns a `Namespaces` object.

### Public Instance Methods

other → array of Namespace click to toggle source

Returns an array of Other Users’ `Namespace` objects.

    # File net-imap-0.5.4/lib/net/imap/response_data.rb, line 532

personal → array of Namespace click to toggle source

Returns an array of Personal `Namespace` objects.

    # File net-imap-0.5.4/lib/net/imap/response_data.rb, line 526

shared → array of Namespace click to toggle source

Returns an array of Shared `Namespace` objects.

    # File net-imap-0.5.4/lib/net/imap/response_data.rb, line 538