Class: Thredded::NotifyPrivateTopicUsersJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Thredded::NotifyPrivateTopicUsersJob
- Defined in:
- app/jobs/thredded/notify_private_topic_users_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(private_topic_id) ⇒ Object
5 6 7 8 9 |
# File 'app/jobs/thredded/notify_private_topic_users_job.rb', line 5 def perform(private_topic_id) private_topic = Thredded::PrivateTopic.find(private_topic_id) NotifyPrivateTopicUsers.new(private_topic).run end |