Sha256: d29367b1d74ddb2f8f96d1786d1bd395a092b78990bb467b9574d87743496b33
Contents?: true
Size: 498 Bytes
Versions: 6
Compression:
Stored size: 498 Bytes
Contents
class Whoops::NotificationMailer < ActionMailer::Base def event_notification(event_group, addresses) @event_group = event_group @addresses = addresses mail( :to => addresses.join(", "), :from => Rails.application.config.whoops_sender, :subject => "Whoops Notification | #{event_group.service}: #{event_group.environment}: #{event_group.message}", :body => "#{event_group.service}: #{event_group.environment}: #{event_group.message}" ) end end
Version data entries
6 entries across 6 versions & 1 rubygems