Method: Thredded::NotifyPrivateTopicUsers#initialize
- Defined in:
- app/commands/thredded/notify_private_topic_users.rb
#initialize(private_post) ⇒ NotifyPrivateTopicUsers
Returns a new instance of NotifyPrivateTopicUsers.
5 6 7 8 |
# File 'app/commands/thredded/notify_private_topic_users.rb', line 5 def initialize(private_post) @post = private_post @private_topic = private_post.postable end |