class Notiffany::Notifier::Config

Configuration class for Notifier

def _setup_logger(opts)

def _setup_logger(opts)
  opts.fetch(:logger) do
    Logger.new($stderr).tap { |l| l.level = Logger::WARN }
  end
end

def initialize(opts)

def initialize(opts)
  options = DEFAULTS.merge(opts)
  @env_namespace = opts.fetch(:namespace, "notiffany")
  @logger = _setup_logger(options)
  @notify = options[:notify]
  @notifiers = opts.fetch(:notifiers, {})
end

def notify?

def notify?
  @notify
end