Sha256: ed370d58fd2e979454b4e3daa04e5a69c3b5deaf2d47b2e26268af3376474d25

Contents?: true

Size: 354 Bytes

Versions: 2

Compression:

Stored size: 354 Bytes

Contents

if Rails.env.production?
  Rails.application.config.middleware.use ExceptionNotification::Rack,
  email: {
    deliver_with: :deliver, # Rails >= 4.2.1 do not need this option since it defaults to :deliver_now
    email_prefix: ENV['EMAIL_PREFIX'],
    sender_address: ENV['SENDER_ADDRESS'],
    exception_recipients: ENV['EXCEPTION_RECINPIENTS']
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mic_monitor_gem-0.3.7 lib/generators/mic_monitor_gem/templates/mic_monitor_gem.rb
mic_monitor_gem-0.3.6 lib/generators/mic_monitor_gem/template/mic_monitor_gem.rb