Sha256: b200b430d67795f1ba98f3ea3c57d514b4b1a48de8b8d4c28dfeb1766d3e8136

Contents?: true

Size: 420 Bytes

Versions: 33

Compression:

Stored size: 420 Bytes

Contents

# 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

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
rturk-2.12.1 lib/rturk/operations/unblock_worker.rb
rturk-2.12.0 lib/rturk/operations/unblock_worker.rb
rturk-2.11.3 lib/rturk/operations/unblock_worker.rb
rturk-2.11.2 lib/rturk/operations/unblock_worker.rb
rturk-2.11.1 lib/rturk/operations/unblock_worker.rb
rturk-2.11.0 lib/rturk/operations/unblock_worker.rb
rturk-2.10.3 lib/rturk/operations/unblock_worker.rb
rturk-2.10.2 lib/rturk/operations/unblock_worker.rb
rturk-2.10.1 lib/rturk/operations/unblock_worker.rb
rturk-2.10.0 lib/rturk/operations/unblock_worker.rb
rturk-2.9.0 lib/rturk/operations/unblock_worker.rb
rturk-2.8.0 lib/rturk/operations/unblock_worker.rb
rturk-2.7.0 lib/rturk/operations/unblock_worker.rb
rturk-2.6.0 lib/rturk/operations/unblock_worker.rb
rturk-2.5.2 lib/rturk/operations/unblock_worker.rb
rturk-2.5.0 lib/rturk/operations/unblock_worker.rb
rturk-2.4.1 lib/rturk/operations/unblock_worker.rb
rturk-2.4.0 lib/rturk/operations/unblock_worker.rb
rturk-2.3.6 lib/rturk/operations/unblock_worker.rb
rturk-2.3.5 lib/rturk/operations/unblock_worker.rb