hawkular/hawkular-client-ruby

View on GitHub
lib/hawkular/env_config.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'logger'

module Hawkular
  module EnvConfig
    module_function

    def log_response?
      ENV['HAWKULARCLIENT_LOG_RESPONSE']
    end

    def rest_timeout
      ENV['HAWKULARCLIENT_REST_TIMEOUT']
    end
  end
end