Sha256: 7023b603eda1eb87ba7064b5b88aec93ad79b5febed6a5d00e6a03cd387e0ad7

Contents?: true

Size: 293 Bytes

Versions: 42

Compression:

Stored size: 293 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

42 entries across 42 versions & 2 rubygems

Version Path
thredded-1.1.0 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-1.0.1 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-1.0.0 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.16 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.15 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.14 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.13 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.12 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.11 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.10 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.9 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.8 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.7 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.6 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.5 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.4 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.3 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.1 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.16.0 app/jobs/thredded/notify_private_topic_users_job.rb
thredded-0.15.5 app/jobs/thredded/notify_private_topic_users_job.rb