Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it easy to use different API keys #88

Open
peret opened this issue Nov 11, 2016 · 2 comments
Open

Make it easy to use different API keys #88

peret opened this issue Nov 11, 2016 · 2 comments

Comments

@peret
Copy link

peret commented Nov 11, 2016

This is probably not a very common use case, but I would like to use API-keys of different accounts in one session. As far as I can see, there's no easy way to achieve that right now, correct?

Is that something you would consider useful?

@apurvis
Copy link
Collaborator

apurvis commented Nov 12, 2016

you can reconfigure the gem mid-session, which is indeed slightly awkward but would work fine.

if you actually wanted to be able to maintain 2 separate Surveygizmo::Connection objects with different keys, that would be a fairly significant refactor that i am unlikely to undertake because i don't need the feature but you could start here

@apurvis
Copy link
Collaborator

apurvis commented Dec 13, 2016

@mkaydev this is what you are working on, right? Have you considered using VCR to update the specs? It's fantastic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants