Class: Hyrax::MessengerService

Inherits:
Object
  • Object
show all
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.send_message(recipients, body, subject, *args)
  StreamNotificationsJob.perform_later(recipients)
end