module Noticed

Constants

VERSION

Public Class Methods

notify(recipients:, notification:) click to toggle source
# File lib/noticed.rb, line 26
def self.notify(recipients:, notification:)
  recipients.each do |recipient|
    notification.notify(recipient)
  end

  # Clear the recipient after sending to the group
  notification.recipient = nil
end