Sha256: 6f390f9b87b6a5e9b660cb0c7eae0e64730cdcaf5e078124460613093097163f
Contents?: true
Size: 388 Bytes
Versions: 10
Compression:
Stored size: 388 Bytes
Contents
class NotificationPusher::ActionMailer::NotificationMailer < ApplicationMailer def push notification, options = {} render(layout: options[:layout]) if options.has_key?(:layout) @notification = notification @renderer = options[:renderer] || 'actionmailer' mail to: options[:to] || notification.target.email, from: options[:from] end end
Version data entries
10 entries across 10 versions & 1 rubygems