rturk 2.10.0 → 2.10.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rturk/adapters/hit.rb +3 -1
- data/lib/rturk/version.rb +1 -1
- metadata +1 -1
data/lib/rturk/adapters/hit.rb
CHANGED
@@ -62,7 +62,9 @@ module RTurk
|
|
62
62
|
|
63
63
|
# memoing
|
64
64
|
def assignments(options={})
|
65
|
-
@assignments ||=
|
65
|
+
@assignments ||= {}
|
66
|
+
|
67
|
+
@assignments[options] ||= begin
|
66
68
|
assignments_options = options.update(:hit_id => self.id)
|
67
69
|
|
68
70
|
RTurk::GetAssignmentsForHIT(assignments_options).assignments.inject([]) do |arr, assignment|
|
data/lib/rturk/version.rb
CHANGED