Sha256: d92975ddbb101bf597c3a6f5140372973f5229fb5b6879f428494c89a4d94d9b
Contents?: true
Size: 626 Bytes
Versions: 26
Compression:
Stored size: 626 Bytes
Contents
# <GetReviewableHITsResult> # <Request> # <IsValid>True</IsValid> # </Request> # <NumResults>3</NumResults> # <TotalNumResults>3</TotalNumResults> # <PageNumber>1</PageNumber> # <HIT> # <HITId>GBHZVQX3EHXZ2AYDY2T0</HITId> # </HIT> # <HIT> # <HITId>GBHZVQX3EHXZ2AYDY2T1</HITId> # </HIT> # <HIT> # <HITId>GBHZVQX3EHXZ2AYDY2T2</HITId> # </HIT> # </GetReviewableHITsResult> module RTurk class GetReviewableHITsResponse < Response def hit_ids @xml.xpath('//HIT').inject([]) do |arr, hit_xml| arr << hit_xml.inner_text.strip; arr end end end end
Version data entries
26 entries across 26 versions & 1 rubygems