Skip to content
Browse files

Update lib/gmail/client/imap_extensions.rb

  • Loading branch information...
1 parent 687bb40 commit 467576970511911957f4d25199f3961ff1bd89f2 @TeaMoe committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/gmail/client/imap_extensions.rb
View
6 lib/gmail/client/imap_extensions.rb
@@ -5,15 +5,15 @@ module GmailImapExtensions
def self.patch_net_imap_response_parser(klass = Net::IMAP::ResponseParser)
klass.class_eval do
def msg_att
- match(T_LPAR)
+ match(Net::IMAP::ResponseParser::T_LPAR)
attr = {}
while true
token = lookahead
case token.symbol
- when T_RPAR
+ when Net::IMAP::ResponseParser::T_RPAR
shift_token
break
- when T_SPACE
+ when Net::IMAP::ResponseParser::T_SPACE
shift_token
token = lookahead
end

0 comments on commit 4675769

Please sign in to comment.
Something went wrong with that request. Please try again.