Sha256: 0ff7f99fa83793b79eb8101cf88078628e40e67a13bf6e2275efb13ed7610b07
Contents?: true
Size: 442 Bytes
Versions: 50
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true module Spotlight ## # Notify the curator that we're finished processing a # batch upload class IndexingCompleteMailer < ActionMailer::Base def documents_indexed(csv_data, exhibit, user, indexed_count: nil, errors: []) @number = indexed_count || csv_data.length @exhibit = exhibit @errors = errors mail(to: user.email, subject: 'Document indexing complete') end end end
Version data entries
50 entries across 50 versions & 1 rubygems