lib/sentinel_api/configuration.rb in logkeeper_api-0.0.4 vs lib/sentinel_api/configuration.rb in logkeeper_api-0.0.5

- old
+ new

@@ -3,11 +3,11 @@ class Configuration attr_accessor :uri attr_accessor :level attr_accessor :method - DEFAULT_URI = (ENV['sentinel_uri'] || 'http://localhost:3000/reports').freeze - DEFAULT_METHOD = (ENV['sentinel_method'] || 'post').freeze + DEFAULT_URI = (ENV['SENTINEL_API_URI'] || 'http://localhost:3000/reports').freeze + DEFAULT_METHOD = (ENV['SENTINEL_API_METHOD'] || 'post').freeze def initialize @uri = DEFAULT_URI @method = DEFAULT_METHOD end