Sha256: ec0b694658db054a6abde27b3ec3f84a13f0108e3ec6cf8bd2d2a3a16a71dcde
Contents?: true
Size: 518 Bytes
Versions: 31
Compression:
Stored size: 518 Bytes
Contents
logger = ::Logger.new(STDOUT) namespace :laboratory do namespace :exams do task authorize_requests: :environment do logger.info "Exam Authorization Requests task" ExamRegistration.should_process.find_each do |exam_registration| logger.info "Processing exam registration '#{exam_registration.description}'" exam_registration.process_requests! rescue logger.error "Something wrong happened while processing '#{exam_registration.description}'" end end end end
Version data entries
31 entries across 31 versions & 1 rubygems