Sha256: 72b3e300f83891c18dd80fc489ec2ecd671324c944b16b9c8a6f6a105e58e7f2

Contents?: true

Size: 330 Bytes

Versions: 4

Compression:

Stored size: 330 Bytes

Contents

require '../lib/rturk'
root = File.expand_path(File.dirname(__FILE__))
aws = YAML.load(File.open(File.join(root, 'mturk.yml')))
@turk = RTurk::Requester.new(aws['AWSAccessKeyId'], aws['AWSAccessKey'], :sandbox => true)

last_hit = File.open(File.join(root, 'last_hit'), 'r').read

p @turk.getAssignmentsForHIT(:HITId => last_hit)

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
markpercival-rturk-1.0.3 examples/review_answer.rb
markpercival-rturk-1.0.4 examples/review_answer.rb
markpercival-rturk-1.0.5 examples/review_answer.rb
rturk-1.0.5 examples/review_answer.rb