Neither authentication method work.
Opened this issue · 1 comments
olavfosse commented
I have set up the the FLICKRAW_API_KEY and FLICKRAW_SHARED_SECRET environment variable, but authentication does not work either way.
(byebug) FlickRaw::Flickr.new
*** FlickRaw::FlickrAppNotConfigured Exception: No API key defined!
nil
(byebug) FlickRaw::Flickr.new ENV['FLICKRAW_API_KEY'], ENV['FLICKRAW_SHARED_SECRET']
*** ArgumentError Exception: wrong number of arguments (given 2, expected 0)
nil
cyclotron3k commented
Hi olav,
The documentation you see at the head of the master branch does not match the version of the gem you're using. I assume you're using 0.9.10? The documentation for that is here: https://github.com/hanklords/flickraw/tree/V0.9.10
BTW, we moved FlickRaw to the Flickr namespace a few months ago, and development continues there: https://rubygems.org/gems/flickr