Skip to content

Cannot override site #27

Open
Open
@hossamhossny

Description

@hossamhossny

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions