Closed guilhermenunes09 closed 4 years ago
In the example: gmail.inbox.count(:after => Date.parse("2010-02-20"), :before => Date.parse("2010-03-20")) It seems that the attribute "after" does not exist anymore. The right replacement would be "since"
gmail.inbox.count(:after => Date.parse("2010-02-20"), :before => Date.parse("2010-03-20"))
Our lib uses after as the option here. SINCE is the native Gmail API. https://github.com/gmailgem/gmail/blob/c5e938942675fb3a3f71fa957e299a1cd1ee1577/lib/gmail/mailbox.rb#L35
after
SINCE
In the example:
gmail.inbox.count(:after => Date.parse("2010-02-20"), :before => Date.parse("2010-03-20"))
It seems that the attribute "after" does not exist anymore. The right replacement would be "since"