Class: Turkee::TurkeeImportedAssignment
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Turkee::TurkeeImportedAssignment
- Defined in:
- lib/models/turkee_imported_assignment.rb
Class Method Summary collapse
Class Method Details
.record_imported_assignment(assignment, result, turk) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/models/turkee_imported_assignment.rb', line 7 def self.record_imported_assignment(assignment, result, turk) TurkeeImportedAssignment.create!(:assignment_id => assignment.id, :turkee_task_id => turk.id, :worker_id => assignment.worker_id, :result_id => result.id) end |