module BatchProcessor::Batch::Malfunction

Private Instance Methods

build_malfunction(malfunction_class, context = nil) click to toggle source
# File lib/batch_processor/batch/malfunction.rb, line 14
def build_malfunction(malfunction_class, context = nil)
  @malfunction = malfunction_class.build(context)
end