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

Comments

Projects
None yet
4 participants
@purp

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

This comment has been minimized.

Show comment Hide comment
@wengzilla

wengzilla Jan 24, 2013

Contributor

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

Contributor

wengzilla commented Jan 24, 2013

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

@myobie myobie closed this Jan 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment