Sha256: 5f2737bcb3805922ad716643982170702981a6b6df94cb8196a20a395fdb1a1d

Contents?: true

Size: 379 Bytes

Versions: 25

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true
module Hyrax
  class BatchCreateSuccessService < AbstractMessageService
    attr_reader :user

    def initialize(user)
      @user = user
    end

    def message
      I18n.t('hyrax.notifications.batch_create_success.message', user: user)
    end

    def subject
      I18n.t('hyrax.notifications.batch_create_success.subject')
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/services/hyrax/batch_create_success_service.rb
hyrax-5.0.0 app/services/hyrax/batch_create_success_service.rb
hyrax-5.0.0.rc3 app/services/hyrax/batch_create_success_service.rb
hyrax-5.0.0.rc2 app/services/hyrax/batch_create_success_service.rb
hyrax-5.0.0.rc1 app/services/hyrax/batch_create_success_service.rb
hyrax-3.6.0 app/services/hyrax/batch_create_success_service.rb
hyrax-4.0.0 app/services/hyrax/batch_create_success_service.rb
hyrax-4.0.0.rc3 app/services/hyrax/batch_create_success_service.rb
hyrax-4.0.0.rc2 app/services/hyrax/batch_create_success_service.rb
hyrax-4.0.0.rc1 app/services/hyrax/batch_create_success_service.rb
hyrax-3.5.0 app/services/hyrax/batch_create_success_service.rb
hyrax-4.0.0.beta2 app/services/hyrax/batch_create_success_service.rb
hyrax-3.4.2 app/services/hyrax/batch_create_success_service.rb
hyrax-4.0.0.beta1 app/services/hyrax/batch_create_success_service.rb
hyrax-3.4.1 app/services/hyrax/batch_create_success_service.rb
hyrax-3.4.0 app/services/hyrax/batch_create_success_service.rb
hyrax-3.3.0 app/services/hyrax/batch_create_success_service.rb
hyrax-3.2.0 app/services/hyrax/batch_create_success_service.rb
hyrax-3.1.0 app/services/hyrax/batch_create_success_service.rb
hyrax-3.0.2 app/services/hyrax/batch_create_success_service.rb