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

Version Path
blacklight-spotlight-3.5.0.3 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.6.0.beta6 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.6.0.beta5 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.6.0.beta4 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.6.0.beta3 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.6.0.beta1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.5.0.2 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.5.0.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.5.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.4.4.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.4.4 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.4.3 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.4.2.2 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.4.2.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.4.2 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.4.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.4.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.3.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.2.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.1.0 app/mailers/spotlight/indexing_complete_mailer.rb