Sha256: cbb1b5ca7d0ecf5ac8e393b3b1edc66ade78fc539b2e8a1d422d08914784e526

Contents?: true

Size: 464 Bytes

Versions: 23

Compression:

Stored size: 464 Bytes

Contents

module RTurk
  class GetAssignmentsForHIT < Operation

    require_params :hit_id
    
    attr_accessor :hit_id, :page_size, :page_number
    
    def parse(xml)
      GetAssignmentsForHITResponse.new(xml)
    end
    
    def to_params
      {'HITId' => hit_id,
       'PageSize' => (page_size || 100),
       'PageNumber' => page_number}
    end

  end
  def self.GetAssignmentsForHIT(*args, &blk)
    RTurk::GetAssignmentsForHIT.create(*args, &blk)
  end

end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rturk-2.9.0 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.8.0 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.7.0 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.6.0 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.5.2 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.5.0 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.4.1 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.4.0 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.3.6 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.3.5 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.3.4 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.3.3 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.3.2 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.3.1 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.3.0 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.2.1 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.2.0 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.1.1 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.1.0 lib/rturk/operations/get_assignments_for_hit.rb
rturk-2.0.5 lib/rturk/operations/get_assignments_for_hit.rb