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

Version Path
notification-pusher-actionmailer-1.2.5 app/mailers/notification_pusher/action_mailer/notification_mailer.rb
notification-pusher-actionmailer-1.2.4 app/mailers/notification_pusher/action_mailer/notification_mailer.rb
notification-pusher-actionmailer-1.2.3 app/mailers/notification_pusher/action_mailer/notification_mailer.rb
notification-pusher-actionmailer-1.2.2 app/mailers/notification_pusher/action_mailer/notification_mailer.rb
notification-pusher-actionmailer-1.2.1 app/mailers/notification_pusher/action_mailer/notification_mailer.rb
notification-pusher-actionmailer-1.2.0 app/mailers/notification_pusher/action_mailer/notification_mailer.rb
notification-pusher-actionmailer-1.1.2 app/mailers/notification_pusher/action_mailer/notification_mailer.rb
notification-pusher-actionmailer-1.1.1 app/mailers/notification_pusher/action_mailer/notification_mailer.rb
notification-pusher-actionmailer-1.1.0 app/mailers/notification_pusher/action_mailer/notification_mailer.rb
notification-pusher-actionmailer-1.0.0 app/mailers/notification_pusher/action_mailer/notification_mailer.rb