scinote-web/app/jobs/create_notification_from_activity_job.rb

10 lines
198 B
Ruby
Raw Normal View History

2021-02-25 14:43:04 +08:00
# frozen_string_literal: true
class CreateNotificationFromActivityJob < ApplicationJob
queue_as :high_priority
def perform(activity)
activity.generate_notification_from_activity
end
end