Module: Cloudtasker::Batch::Extension::Worker

Defined in:
lib/cloudtasker/batch/extension/worker.rb

Overview

Include batch related methods onto Cloudtasker::Worker See: Cloudtasker::Batch::Middleware#configure

Instance Attribute Summary collapse

Instance Attribute Details

#batchObject

Returns the value of attribute batch.



9
10
11
# File 'lib/cloudtasker/batch/extension/worker.rb', line 9

def batch
  @batch
end

#parent_batchObject

Returns the value of attribute parent_batch.



9
10
11
# File 'lib/cloudtasker/batch/extension/worker.rb', line 9

def parent_batch
  @parent_batch
end