Class: Net::IMAP::Namespaces

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

Overview

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

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

Required capability

Requires either NAMESPACE [RFC2342] or IMAP4rev2 capability.

Instance Attribute Summary collapse

Instance Attribute Details

#otherObject

Returns the value of attribute other



494
495
496
# File 'lib/net/imap/response_data.rb', line 494

def other
  @other
end

#personalObject

Returns the value of attribute personal



494
495
496
# File 'lib/net/imap/response_data.rb', line 494

def personal
  @personal
end

#sharedObject

Returns the value of attribute shared



494
495
496
# File 'lib/net/imap/response_data.rb', line 494

def shared
  @shared
end