Class: Net::IMAP::Namespaces

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/imap/response_data.rb

Overview

Net::IMAP::Namespaces represents the response from [RFC-2342] NAMESPACE.

Namespace_Response = "*" SP "NAMESPACE" SP Namespace SP Namespace SP
   Namespace

   ; The first Namespace is the Personal Namespace(s)
   ; The second Namespace is the Other Users' Namespace(s)
   ; The third Namespace is the Shared Namespace(s)

Fields:

personal

Returns an array of Personal Net::IMAP::Namespace objects.

other

Returns an array of Other Users’ Net::IMAP::Namespace objects.

shared

Returns an array of Shared Net::IMAP::Namespace objects.

Instance Attribute Summary collapse

Instance Attribute Details

#otherObject

Returns the value of attribute other

Returns:

  • (Object)

    the current value of other



222
223
224
# File 'lib/net/imap/response_data.rb', line 222

def other
  @other
end

#personalObject

Returns the value of attribute personal

Returns:

  • (Object)

    the current value of personal



222
223
224
# File 'lib/net/imap/response_data.rb', line 222

def personal
  @personal
end

#sharedObject

Returns the value of attribute shared

Returns:

  • (Object)

    the current value of shared



222
223
224
# File 'lib/net/imap/response_data.rb', line 222

def shared
  @shared
end