Class: RTurk::DisposeHIT

Inherits:
Operation show all
Defined in:
lib/rturk/operations/dispose_hit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Operation

#check_params, create, #default_params, default_params, #initialize, #parse, #request, require_params, required_params, set_operation

Constructor Details

This class inherits a constructor from RTurk::Operation

Instance Attribute Details

#hit_idObject

Returns the value of attribute hit_id



6
7
8
# File 'lib/rturk/operations/dispose_hit.rb', line 6

def hit_id
  @hit_id
end

Instance Method Details

#to_paramsObject



8
9
10
# File 'lib/rturk/operations/dispose_hit.rb', line 8

def to_params
  {'HITId' => self.hit_id}
end