lib/rturk/operations/create_hit.rb in rturk-2.11.0 vs lib/rturk/operations/create_hit.rb in rturk-2.11.1
- old
+ new
@@ -1,9 +1,11 @@
require File.join(File.dirname(__FILE__), 'register_hit_type')
module RTurk
class CreateHIT < RegisterHITType
attr_accessor :hit_type_id, :max_assignments, :lifetime, :annotation
+ alias_attr :note, :annotation
+ alias_attr :assignments, :max_assignments
def parse(response)
RTurk::CreateHITResponse.new(response)
end