Class: RTurk::GetQualificationType

Inherits:
Operation
  • Object
show all
Defined in:
lib/rturk/operations/get_qualification_type.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from Operation

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

Constructor Details

This class inherits a constructor from RTurk::Operation

Instance Attribute Details

- (Object) qualification_type_id

Returns the value of attribute qualification_type_id



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

def qualification_type_id
  @qualification_type_id
end

Instance Method Details

- (Object) parse(xml)



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

def parse(xml)
  RTurk::GetQualificationTypeResponse.new(xml)
end

- (Object) to_params



12
13
14
# File 'lib/rturk/operations/get_qualification_type.rb', line 12

def to_params
  {'QualificationTypeId' => qualification_type_id}
end