Class: Noticed::DeliveryMethods::ActionCable

Inherits:
Base
  • Object
show all
Defined in:
lib/noticed/delivery_methods/action_cable.rb

Instance Attribute Summary

Attributes inherited from Base

#logger, #notification, #options, #params, #recipient, #record

Instance Method Summary collapse

Methods inherited from Base

#assign_args, inherited, options, #perform, validate!

Instance Method Details

#deliverObject



4
5
6
# File 'lib/noticed/delivery_methods/action_cable.rb', line 4

def deliver
  channel.broadcast_to stream, format
end