lib/bugsnag.rb
def configure
      yield(configuration) if block_given?

      @key_warning = false unless defined?(@key_warning)
      if !configuration.valid_api_key? && !@key_warning
        configuration.warn("No valid API key has been set, notifications will not be sent")
        @key_warning = true
      end
    end
##
# Configure the Bugsnag notifier application-wide settings.
#
# Yields a configuration object to use to set application settings.
Configure the Bugsnag notifier application-wide settings.
Yields a configuration object to use to set application settings.
Configure the Bugsnag notifier application - wide settings . Yields a configuration object to use to set application settings .
def configure
      yield(configuration) if block_given?
      @key_warning = false unless defined?(@key_warning)
      if !configuration.valid_api_key? && !@key_warning
        configuration.warn("No valid API key has been set, notifications will not be sent")
        @key_warning = true
      end
    end
def configure yield ( configuration ) if block_given? @key_warning = false unless defined? ( @key_warning ) if ! configuration . valid_api_key? && ! @key_warning configuration . warn ( "No valid API key has been set, notifications will not be sent" ) @key_warning = true end end
Configure the Bugsnag notifier application-wide settings.
Configure the Bugsnag notifier application - wide settings .