Class: Decidim::PushNotificationMessageSender

Inherits:
Object
  • Object
show all
Includes:
HasConversations
Defined in:
app/services/decidim/push_notification_message_sender.rb

Overview

A wrapper for preparing push notifications messages from conversations It respects the same contract as the Decidim::Messaging::ConversationMailer

Instance Method Summary collapse

Instance Method Details

#deliverObject



9
10
11
# File 'app/services/decidim/push_notification_message_sender.rb', line 9

def deliver
  SendPushNotification.new.perform(@notification, title)
end