Sha256: 6af8099dce4be5aada49ed04411e41e441803eebf306af35c78cc553bd4a684c
Contents?: true
Size: 557 Bytes
Versions: 14
Compression:
Stored size: 557 Bytes
Contents
# Operation to assign a qualification to a worker module RTurk class AssignQualification < Operation attr_accessor :qualification_type_id, :worker_id, :send_notification, :integer_value require_params :qualification_type_id, :worker_id def to_params {'QualificationTypeId' => qualification_type_id, 'WorkerId' => worker_id, 'SendNotification' => (!!send_notification).to_s, 'IntegerValue' => integer_value} end end def self.AssignQualification(*args) RTurk::AssignQualification.create(*args) end end
Version data entries
14 entries across 14 versions & 1 rubygems