Documentation bug? #15

Closed
lswanson opened this Issue Jun 12, 2012 · 1 comment

Comments

Projects
None yet
2 participants

I believe there is a bug in the Advanced Usage section of the wiki: https://github.com/aantix/turkee#advanced-usage

In order to get this to work in my application:
Turkee::TurkeeTask.create_hit(host, hit_title, hit_description, Survey, num_assignments, reward, lifetime, {}, {}, {:form_url => form_url})

I had to replace the model type Survey with :Survey.
Turkee::TurkeeTask.create_hit(host, hit_title, hit_description, :Survey, num_assignments, reward, lifetime, {}, {}, {:form_url => form_url})

Owner

aantix commented Jun 13, 2012

Good catch. I will make the change.

aantix closed this Jun 13, 2012

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