Sha256: 7d73a4ce735122a823e69dc1f42a6b6d8fc3512c4d085f9850d505c7c04378a9
Contents?: true
Size: 614 Bytes
Versions: 17
Compression:
Stored size: 614 Bytes
Contents
class ActionMailerChannel class << self def default_options { subject: "New Notification", aggregate: { subject: "New Notifications" }, description: "Email Notifications" } end def deliver(notification, options={}) NotifyUser::NotificationMailer.notification_email(notification, default_options.deep_merge(options)).deliver end def deliver_aggregated(notifications, options={}) NotifyUser::NotificationMailer.aggregate_notifications_email(notifications, default_options.deep_merge(options)).deliver end end end
Version data entries
17 entries across 17 versions & 1 rubygems