class Consul::Client::V1

Public Instance Methods

http(host: "localhost", port: 8500, logger: Logger.new("/dev/null"), rpc_retries_timeout: 10) click to toggle source
# File lib/consul/client.rb, line 11
def http(host: "localhost", port: 8500, logger: Logger.new("/dev/null"), rpc_retries_timeout: 10)
  HTTP.new(host: host, port: port, logger: logger, rpc_retries_timeout: rpc_retries_timeout)
end