Sha256: bb6dd2f10a74be65f62f9092ac15db8826ecff2a0d5208aeaeeb4d24fbb8f06c

Contents?: true

Size: 370 Bytes

Versions: 26

Compression:

Stored size: 370 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)
      @number = csv_data.length
      @exhibit = exhibit
      mail(to: user.email, subject: 'Document indexing complete')
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.alpha.10 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.0.0.alpha.9 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.0.0.alpha.8 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.0.0.alpha.7 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.0.0.alpha.6 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.0.0.alpha.5 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.0.0.alpha.4 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.0.0.alpha.3 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.0.0.alpha.2 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-3.0.0.alpha.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.13.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.12.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.12.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.11.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.10.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.9.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.8.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.7.2 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.7.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.7.0 app/mailers/spotlight/indexing_complete_mailer.rb