Class: Validb::Checker

Inherits:
Object
  • Object
show all
Includes:
SidekiqStatus::Worker
Defined in:
lib/validb/checker.rb

Instance Method Summary collapse

Instance Method Details

#perform(model_names, batch_size) ⇒ Object



5
6
7
8
9
# File 'lib/validb/checker.rb', line 5

def perform(model_names, batch_size)
  model_names.each do |model_name|
    Validb::ModelValidator.perform_async(model_name, batch_size)
  end
end