method
getquotaroot_response
v2_2_9 -
Show latest stable
- Class:
Net::IMAP::ResponseParser
getquotaroot_response()private
No documentation available.
# File lib/net/imap.rb, line 2846
def getquotaroot_response
# Similar to getquota, but only admin can use getquota.
token = match(T_ATOM)
name = token.value.upcase
match(T_SPACE)
mailbox = astring
quotaroots = []
while true
token = lookahead
break unless token.symbol == T_SPACE
shift_token
quotaroots.push(astring)
end
data = MailboxQuotaRoot.new(mailbox, quotaroots)
return UntaggedResponse.new(name, data, @str)
end