# Operation to block a worker # # The worker does not see the reason you gave. It's for your records # only. module RTurk class UnblockWorker < Operation attr_accessor :worker_id, :reason require_params :worker_id def to_params {'WorkerId' => self.worker_id, 'Reason' => self.reason} end end def self.UnblockWorker(*args) RTurk::UnblockWorker.create(*args) end end