Class: Hertz::NotificationDeliverer
- Inherits:
-
Object
- Object
- Hertz::NotificationDeliverer
- Defined in:
- lib/hertz/notification_deliverer.rb
Class Method Summary collapse
Class Method Details
.deliver(notification) ⇒ Object
5 6 7 8 9 |
# File 'lib/hertz/notification_deliverer.rb', line 5 def deliver(notification) couriers_for(notification).each do |courier| build_courier(courier).deliver_notification(notification) end end |