mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 09:13:05 +08:00
10 lines
198 B
Ruby
10 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
|