Sha256: a5ebb3dffdce2984d6f4b8e28bafc67f31639e90c3006a9c83a908d9058585a6

Contents?: true

Size: 339 Bytes

Versions: 84

Compression:

Stored size: 339 Bytes

Contents

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

84 entries across 84 versions & 1 rubygems

Version Path
blacklight-spotlight-2.4.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.4.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.3.3 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.3.2 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.3.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.3.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.2.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.2.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.1.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.0.2 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.0.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.0.0 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.0.0.rc6 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.0.0.rc5 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.0.0.rc4 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.0.0.rc3 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.0.0.rc2 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-2.0.0.rc1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-1.5.1 app/mailers/spotlight/indexing_complete_mailer.rb
blacklight-spotlight-1.4.1 app/mailers/spotlight/indexing_complete_mailer.rb