spudtrooper/rdiorb — Issue #8: Rdio::log error?
Author: danman01
Created: 2012-02-17 03:02:11+00:00
State: open

I commented out the Rdio::log lines in oauth.rb (line 35) and it seems to work correctly.

Here's the original error:

ruby-1.8.7-p334 :002 > @rdio.getPlaybackToken("mydomain.com")ArgumentError: wrong number of arguments (0 for 1)
from /Users/dannykirschner/.rvm/gems/ruby-1.8.7-p334/gems/rdio-0.0.96/lib/rdio/oauth.rb:35:in `log'
from /Users/dannykirschner/.rvm/gems/ruby-1.8.7-p334/gems/rdio-0.0.96/lib/rdio/oauth.rb:35:in `initialize'
from /Users/dannykirschner/.rvm/gems/ruby-1.8.7-p334/gems/rdio-0.0.96/lib/rdio/oauth.rb:82:in `call'
from /Users/dannykirschner/.rvm/gems/ruby-1.8.7-p334/gems/rdio-0.0.96/lib/rdio/oauth.rb:82:in `access_token_auth'
from /Users/dannykirschner/.rvm/gems/ruby-1.8.7-p334/gems/rdio-0.0.96/lib/rdio/oauth.rb:59:in `access_token'
from /Users/dannykirschner/.rvm/gems/ruby-1.8.7-p334/gems/rdio-0.0.96/lib/rdio/base.rb:385:in `access_token'
from /Users/dannykirschner/.rvm/gems/ruby-1.8.7-p334/gems/rdio-0.0.96/lib/rdio/base.rb:300:in `call'
from /Users/dannykirschner/.rvm/gems/ruby-1.8.7-p334/gems/rdio-0.0.96/lib/rdio/base.rb:305:in `return_object'
from /Users/dannykirschner/.rvm/gems/ruby-1.8.7-p334/gems/rdio-0.0.96/lib/rdio/api.rb:233:in `getPlaybackToken'
from (irb):2