Use Trello::Client for multiple users
masterIf your application needs to make requests on behalf of different users, avoid global Trello.configure. Instead, instantiate a Trello::Client for each user's specific credentials. This allows for threadsafe requests using the specific user's context.
# Create a client for a specific user
@client_bob = Trello::Client.new(
:consumer_key => YOUR_CONSUMER_KEY,
:consumer_secret => YOUR_CONSUMER_SECRET,
:oauth_token => "Bob's access token",
:oauth_token_secret => "Bob's access secret"
)
# Use the client to perform find operations
@client_bob.find(:members, "bobtester")