class LHC::Config

def endpoint(name, url, options = {})

def endpoint(name, url, options = {})
  name = name.to_sym
  raise 'Endpoint already exists for that name' if @endpoints[name]
  @endpoints[name] = LHC::Endpoint.new(url, options)
end