Class: Typingpool::Amazon::HIT::Assignment::Empty
- Inherits:
-
Typingpool::Amazon::HIT::Assignment
- Object
- Typingpool::Amazon::HIT::Assignment
- Typingpool::Amazon::HIT::Assignment::Empty
- Defined in:
- lib/typingpool/amazon/hit/assignment/empty.rb
Overview
Subclass used in cases where we know Amazon’s servers have no assignments for us (because hit.full.assignments_completed == 0), so we don’t want to bother doing an HTTP request to check.
Instance Attribute Summary
Attributes inherited from Typingpool::Amazon::HIT::Assignment
#id, #status, #submitted_at, #worker_id
Instance Method Summary collapse
-
#initialize ⇒ Empty
constructor
A new instance of Empty.
Methods inherited from Typingpool::Amazon::HIT::Assignment
Constructor Details
#initialize ⇒ Empty
Returns a new instance of Empty.
11 12 13 |
# File 'lib/typingpool/amazon/hit/assignment/empty.rb', line 11 def initialize @answers = {} end |