Sha256: 85e5fb51c0429a5783bb503e480ed0072dc31aabe1714649d5a41891308f701d

Contents?: true

Size: 292 Bytes

Versions: 19

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true
module Thredded
  class NotifyPrivateTopicUsersJob < ::ActiveJob::Base
    queue_as :default

    def perform(private_post_id)
      private_post = Thredded::PrivatePost.find(private_post_id)
      NotifyPrivateTopicUsers.new(private_post).run
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
thredded-0.12.1 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.12.0 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.11.1 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.11.0 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.10.1 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.10.0 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.9.4 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.9.3 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.9.2 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.9.1 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.8.4 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.8.2 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.7.0 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.6.3 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.6.2 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.6.1 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.6.0 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.5.1 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.5.0 app/jobs/thredded/notify_private_topic_users_job.rb