module NotificationHelper
Public Instance Methods
broadcast_notification(channel_name = 'notification_channel', data)
click to toggle source
# File lib/real_notification/notification_helper.rb, line 2 def broadcast_notification(channel_name = 'notification_channel', data) ActionCable.server.broadcast channel_name, data end