Class: RTurk::ForceExpireHIT

Inherits:
Operation show all
Defined in:
lib/rturk/operations/force_expire_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



5
6
7
# File 'lib/rturk/operations/force_expire_hit.rb', line 5

def hit_id
  @hit_id
end

Instance Method Details

#to_paramsObject



7
8
9
# File 'lib/rturk/operations/force_expire_hit.rb', line 7

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