hanklords/flickraw

@access_secret not initialized in api.rb

Closed this issue · 1 comments

I get the following error when running FlickRaw:

/usr/local/lib/ruby/gems/1.9.1/gems/flickraw-0.9.5/lib/flickraw/api.rb:54: warning: instance variable @access_secret not initialized

I took a look at api.rb and could implement a patch, but in several different ways. I'm a beginner/intermediate rubyist, so I thought I'd ask you to fix it the way you think is best. Thanks!

I implemented a fix where I just initialized them to empty strings.