Sha256: 4d9558f058ed6b9cdc87a083476d5f47cd086c2e3b6f05a7e035e21dcbf63cc8
Contents?: true
Size: 304 Bytes
Versions: 14
Compression:
Stored size: 304 Bytes
Contents
# frozen_string_literal: true module Thredded class AutoFollowAndNotifyJob < ::ActiveJob::Base queue_as :default def perform(post_id) post = Thredded::Post.find(post_id) Thredded::AutofollowUsers.new(post).run Thredded::NotifyFollowingUsers.new(post).run end end end
Version data entries
14 entries across 14 versions & 2 rubygems