Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentError: wrong number of arguments (0 for 1) when calling Gmail.label #26

Closed
ehogberg opened this issue Jun 15, 2010 · 1 comment

Comments

@ehogberg
Copy link

Version: 0.2.1

Title is hopefully self-explanatory. When calling Gmail.label with known good label, receive the following stack:

ArgumentError: wrong number of arguments (0 for 1)
from /usr/lib/ruby/gems/1.8/gems/ruby-gmail-0.2.1/lib/gmail.rb:53:in mailbox' from /usr/lib/ruby/gems/1.8/gems/ruby-gmail-0.2.1/lib/gmail.rb:53:inmailbox'

Thoughts?

@gilltots
Copy link

change line 53 in gmail.rb from Mailbox.new(self,mailbox) to Mailbox.new(self,name) to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants