method
getacl_response
v1_9_3_125 -
Show latest stable
- Class:
Net::IMAP::ResponseParser
getacl_response()private
No documentation available.
# File lib/net/imap.rb, line 2721
def getacl_response
token = match(T_ATOM)
name = token.value.upcase
match(T_SPACE)
data = []
token = lookahead
if token.symbol == T_SPACE
shift_token
while true
token = lookahead
case token.symbol
when T_CRLF
break
when T_SPACE
shift_token
end
user = astring
match(T_SPACE)
rights = astring
##XXX data.push([user, rights])
data.push(MailboxACLItem.new(user, rights))
end
end
return UntaggedResponse.new(name, data, @str)
end