ruby-stackoverflow icon indicating copy to clipboard operation
ruby-stackoverflow copied to clipboard

Cannot override site

Open hossamhossny opened this issue 6 years ago • 1 comments

No matter what I try; setting site in configurations or passing it in options like @all_questions = RubyStackoverflow.questions(options = {:site => 'superuser'}) I still get options as :site=>"stackoverflow", :key=>"xZZfDLYQmyfMzQ0adlyK6A((", :access_token=>"7kQ0Iz4b3uvltaQCHa730g))"}

I am not sure how to troubleshoot but in ruby-stackoverflow/lib/ruby-stackoverflow/client.rb line 56 options[:site] ||= configuration.site || "stackoverflow" is called already, so where else I should be looking at?

hossamhossny avatar Aug 26 '17 15:08 hossamhossny