hanklords/flickraw

auth.rb example error - wrong number of args for post

Closed this issue · 2 comments

Using 0.9.2 with example code (only modified to add API key).

$ ruby examples/auth.rb 
/Users/mroth/.rvm/gems/ruby-1.9.2-p290/gems/flickraw-0.9.2/lib/flickraw/oauth.rb:125:in `post': wrong number of arguments (3 for 4) (ArgumentError)
    from /Users/mroth/.rvm/gems/ruby-1.9.2-p290/gems/flickraw-0.9.2/lib/flickraw/oauth.rb:64:in `request_token'
    from /Users/mroth/.rvm/gems/ruby-1.9.2-p290/gems/flickraw-0.9.2/lib/flickraw/api.rb:61:in `get_request_token'
    from examples/auth.rb:10:in `<main>'

I pushed a fix on the repository, can you try it ?

Thanks,
Mael

Seems to have fixed it!