Sha256: cf4055982ccc4a8cfb9b52661edf9d60c22c757cd6a5ee235c00dc8710890c4d
Contents?: true
Size: 614 Bytes
Versions: 9
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
9 entries across 9 versions & 1 rubygems