steveklabnik/sunlight-congress — pull request #16 by benhamill (2013-04-13 05:04:45+00:00)
Title: Multiple API Keys?

What would you think about changing the API for this gem to one where you'd create an instance of an object with your API key and operate from there, rather than setting it on the module? I generally tend towards this pattern because it allows people to, for whatever reason, use two (or more) different API keys in the same program. I'm envisioning something like this:

``` ruby
congress = Sunlight::Congress.new('lolthisisnotarealkey')

congress.legislator.by_zipcode("90210")
# => [#