mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 07:01:58 +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
|