method

api_endpoint

ruby latest stable - Class: Gem::RemoteFetcher
api_endpoint(uri)
public

Given a source at uri, calculate what hostname to actually connect to query the data for it.