Sha256: 531d3420152d718be30d3cf7ed6fff10d9991417144b8a6f175b0d72b2e25e55

Contents?: true

Size: 264 Bytes

Versions: 25

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true
module Hyrax
  class MessengerService
    def self.deliver(sender, recipients, body, subject, *args)
      sender.send_message(recipients, body, subject, *args)
      StreamNotificationsJob.perform_later(recipients)
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/services/hyrax/messenger_service.rb
hyrax-5.0.0 app/services/hyrax/messenger_service.rb
hyrax-5.0.0.rc3 app/services/hyrax/messenger_service.rb
hyrax-5.0.0.rc2 app/services/hyrax/messenger_service.rb
hyrax-5.0.0.rc1 app/services/hyrax/messenger_service.rb
hyrax-3.6.0 app/services/hyrax/messenger_service.rb
hyrax-4.0.0 app/services/hyrax/messenger_service.rb
hyrax-4.0.0.rc3 app/services/hyrax/messenger_service.rb
hyrax-4.0.0.rc2 app/services/hyrax/messenger_service.rb
hyrax-4.0.0.rc1 app/services/hyrax/messenger_service.rb
hyrax-3.5.0 app/services/hyrax/messenger_service.rb
hyrax-4.0.0.beta2 app/services/hyrax/messenger_service.rb
hyrax-3.4.2 app/services/hyrax/messenger_service.rb
hyrax-4.0.0.beta1 app/services/hyrax/messenger_service.rb
hyrax-3.4.1 app/services/hyrax/messenger_service.rb
hyrax-3.4.0 app/services/hyrax/messenger_service.rb
hyrax-3.3.0 app/services/hyrax/messenger_service.rb
hyrax-3.2.0 app/services/hyrax/messenger_service.rb
hyrax-3.1.0 app/services/hyrax/messenger_service.rb
hyrax-3.0.2 app/services/hyrax/messenger_service.rb