Sha256: d2a2e0ee22b86b96facb89cb1dc57c314e0d53a19450984e8f17e263b7b8b9bb
Contents?: true
Size: 261 Bytes
Versions: 4
Compression:
Stored size: 261 Bytes
Contents
# frozen_string_literal: true module Thredded class AtNotifierJob < ::ActiveJob::Base queue_as :default def perform(post_type, post_id) post = post_type.to_s.constantize.find(post_id) NotifyMentionedUsers.new(post).run end end end
Version data entries
4 entries across 4 versions & 1 rubygems