Sha256: c2a4b3d24f2d8e3a7606490a119c5cf948d5ccaaa0d4720f77e8e16718678259
Contents?: true
Size: 385 Bytes
Versions: 32
Compression:
Stored size: 385 Bytes
Contents
module RTurk class Worker def initialize(id) @id = id end # Blocks a worker, the reason is required and not shown to the worker # def block!(reason) RTurk::BlockWorker(:worker_id => @id, :reason => reason) end # Unblock the worker # def unblock! RTurk::UnblockWorker(:worker_id => @id) end end end
Version data entries
32 entries across 32 versions & 1 rubygems