Sha256: c8962d633bfcbbcbf6ec841cf110e225fc13e42537432ce0604c321ec73b783b

Contents?: true

Size: 414 Bytes

Versions: 10

Compression:

Stored size: 414 Bytes

Contents

module RTurk
  class GetReviewableHITs < Operation

    attr_accessor :page_size, :page_number
    
    def parse(xml)
      RTurk::GetReviewableHITsResponse.new(xml)
    end
    
    def to_params
      {
       'PageSize' => (page_size || 100),
       'PageNumber' => (page_number || 1)
       }
    end

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

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rturk-2.3.1 lib/rturk/operations/get_reviewable_hits.rb
rturk-2.3.0 lib/rturk/operations/get_reviewable_hits.rb
rturk-2.2.1 lib/rturk/operations/get_reviewable_hits.rb
rturk-2.2.0 lib/rturk/operations/get_reviewable_hits.rb
rturk-2.1.1 lib/rturk/operations/get_reviewable_hits.rb
rturk-2.1.0 lib/rturk/operations/get_reviewable_hits.rb
rturk-2.0.5 lib/rturk/operations/get_reviewable_hits.rb
rturk-2.0.4 lib/rturk/operations/get_reviewable_hits.rb
rturk-2.0.3 lib/rturk/operations/get_reviewable_hits.rb
rturk-2.0.2 lib/rturk/operations/get_reviewable_hits.rb