lib/underway/sinatra.rb in underway-1.1.0 vs lib/underway/sinatra.rb in underway-2.0.0

- old
+ new

@@ -6,15 +6,15 @@ def debug_route(request) log(request.inspect) end def verbose_logging? - !!::Underway::Settings.config.verbose_logging + !!::Underway::Settings.configuration.verbose_logging end def log(message) if verbose_logging? - ::Underway::Settings.config.logger.info(message) + ::Underway::Settings.configuration.logger.info(message) end end def gh_api(*args) ::Underway::Api.invoke(*args)