lib/sentinel_api/configuration.rb in logkeeper_api-0.0.8 vs lib/sentinel_api/configuration.rb in logkeeper_api-0.0.9
- old
+ new
@@ -33,10 +33,10 @@
self
end
def default_logger
- @default_logger ||= defined?(::Rails) ? ::Rails.logger : ::Logger.new(STDERR)
+ @default_logger ||= defined?(::Rails.logger) ? ::Rails.logger : ::Logger.new(STDERR)
end
def use_ssl?
uri.match(/^https:/) ? true : false
end