Class: Typingpool::Amazon::HIT::Assignment::Empty

Inherits:
Assignment
  • Object
show all
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 Method Summary collapse

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