Sha256: 513ea8045b01e9b832053a8c06039c5db9a7c63251e1c17f94512b4096d2e9d1
Contents?: true
Size: 522 Bytes
Versions: 9
Compression:
Stored size: 522 Bytes
Contents
module UcbRails module Configuration class ExceptionNotification class << self def configure(config) return if config.blank? config = config.symbolize_keys config[:email].symbolize_keys! config[:email][:email_prefix] = config[:email][:email_prefix].gsub("{env}", RailsEnvironment.short) Rails.application.config.middleware.use ::ExceptionNotification::Rack, config end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems