mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 01:03:18 +08:00
347f208480
SCI-4140
9 lines
198 B
Ruby
9 lines
198 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateNotificationFromActivityJob < ApplicationJob
|
|
queue_as :high_priority
|
|
|
|
def perform(activity)
|
|
activity.generate_notification_from_activity
|
|
end
|
|
end
|