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

Improve API for accessing treatments across both assignments and treatments (and both) #88

Closed
mizzao opened this issue Aug 1, 2016 · 1 comment

Comments

@mizzao
Copy link
Member

mizzao commented Aug 1, 2016

We should be able to read both treatment names as well as parameters, and for active users access the union of these on the client and server.

See #86 for the beginning of this discussion.

For example, there should be a TurkServer.treatment() on the server, as like https://github.com/TurkServer/turkserver-meteor/blob/master/client/client_api.js#L7, instead of an Instance#treatment which only grabs treatment parameters from the instance.

@mizzao
Copy link
Member Author

mizzao commented Aug 2, 2016

205a57b fixes the nomenclature of the methods that get treatment name strings.

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

No branches or pull requests

1 participant