Class: Cloudist::GenericWorker

Inherits:
Worker show all
Defined in:
lib/cloudist/worker.rb

Instance Attribute Summary

Attributes inherited from Worker

#job, #payload, #queue

Instance Method Summary collapse

Methods inherited from Worker

#data, #headers, #id, #initialize, #log

Constructor Details

This class inherits a constructor from Cloudist::Worker

Instance Method Details

#process(&block) ⇒ Object



36
37
38
# File 'lib/cloudist/worker.rb', line 36

def process(&block)
  instance_eval(&block)
end