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

ruby-gmail 0.2.1: Calling #label gives "ArgumentError: wrong number of arguments (0 for 1)" #27

Closed
purp opened this issue Jun 15, 2010 · 2 comments
Assignees

Comments

@purp
Copy link

purp commented Jun 15, 2010

Lines 51-55 of lib/gmail.rb:

# gmail.label(name)
def label(name)
  mailboxes[name] ||= Mailbox.new(self, mailbox)
end
alias :mailbox :label

Change "mailbox" to "name" in line 53 and it's all better.

@ghost ghost assigned myobie Dec 19, 2012
@wengzilla
Copy link
Contributor

This has been fixed in master. Should this issue be closed?

@myobie myobie closed this as completed Jan 24, 2013
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

4 participants