Sha256: 45dd2b22608a55244159796b5e4723c73df344aea49b207eb1129d3bb4f8cdf3
Contents?: true
Size: 485 Bytes
Versions: 30
Compression:
Stored size: 485 Bytes
Contents
module UcbRailsUser 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
30 entries across 30 versions & 1 rubygems