Module: TallyJobs::TallyData

Defined in:
lib/tally_jobs/tally_data.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
11
12
13
14
# File 'lib/tally_jobs/tally_data.rb', line 5

def self.included(base)
    base.extend ClassMethods
    base.class_eval do
        cattr_accessor :_batch_size

        def self.batch_size(size)
            self._batch_size = size
        end
    end
end