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


3
4
5
6
# File 'app/services/hyrax/messenger_service.rb', line 3

def self.deliver(sender, recipients, body, subject, *args)
  sender.send_message(recipients, body, subject, *args)
  StreamNotificationsJob.perform_later(recipients)
end