Sha256: 37304cfa2af3bc057fe4653a6064d7a0970f1ea61ad67b17a6bf375b88d2abff

Contents?: true

Size: 407 Bytes

Versions: 3

Compression:

Stored size: 407 Bytes

Contents

module Sufia
  module Workflow
    class PendingReviewNotification < AbstractNotification
      protected

        def subject
          'Deposit needs review'
        end

        def message
          "#{title} (#{work_id}) was deposited by #{user.user_key} and is awaiting approval #{comment}"
        end

      private

        def users_to_notify
          super << user
        end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sufia-7.3.0.rc3 app/services/sufia/workflow/pending_review_notification.rb
sufia-7.3.0.rc2 app/services/sufia/workflow/pending_review_notification.rb
sufia-7.3.0.rc1 app/services/sufia/workflow/pending_review_notification.rb