reagent/etsy — Issue #29: Etsy client not usable thread-safely with multiple API keys
Author: Muon
Created: 2012-03-01 09:36:54+00:00
State: open

Using multiple API credentials with the client is currently impossible to do thread-safely since everything is in the global module. I propose creating an Etsy::Client class, like the Twitter gem's Twitter::Client. This would permit creating separate instances of it for the multi-key use case, and an instance of it could be stuffed in the module to keep backwards compatibility.