Class: Net::IMAP::MailboxACLItem

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

Overview

Net::IMAP::MailboxACLItem represents the response from GETACL.

acl_data        ::= "ACL" SPACE mailbox *(SPACE identifier SPACE rights)

identifier      ::= astring

rights          ::= astring

Fields:

user

Login name that has certain rights to the mailbox that was specified with the getacl command.

rights

The access rights the indicated user has to the mailbox.

Instance Attribute Summary collapse

Instance Attribute Details

#mailboxObject

Returns the value of attribute mailbox

Returns:

  • (Object)

    the current value of mailbox



187
188
189
# File 'lib/net/imap/response_data.rb', line 187

def mailbox
  @mailbox
end

#rightsObject

Returns the value of attribute rights

Returns:

  • (Object)

    the current value of rights



187
188
189
# File 'lib/net/imap/response_data.rb', line 187

def rights
  @rights
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



187
188
189
# File 'lib/net/imap/response_data.rb', line 187

def user
  @user
end