Class: Hyrax::MessengerService
- Inherits:
-
Object
- Object
- Hyrax::MessengerService
- Defined in:
- app/services/hyrax/messenger_service.rb
Class Method Summary collapse
Class Method Details
.deliver(sender, recipients, body, subject, *args) ⇒ Object
4 5 6 7 |
# File 'app/services/hyrax/messenger_service.rb', line 4 def self.deliver(sender, recipients, body, subject, *args) sender.(recipients, body, subject, *args) StreamNotificationsJob.perform_later(recipients) end |