Sha256: 5fb98990493ccef4c0d3ac2eea4355ab162d0b4c401eb6db02fd3a7d7577efbd

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

module RTurk
  class GetHIT < Operation

    operation 'GetHIT'
    require_params :hit_id
    attr_accessor :hit_id
    
    def parse(xml)
      RTurk::GetHITResponse.new(xml)
    end
    
    def to_params
      {"HITId" => self.hit_id}
    end
    
  end
  def self.GetHIT(*args, &blk)
    RTurk::GetHIT.create(*args, &blk)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rturk-2.0.1 lib/rturk/operations/get_hit.rb
rturk-2.0.0 lib/rturk/operations/get_hit.rb