class KPM::NexusFacade::GithubApiCalls
def build_base_path_and_coords(coordinates)
def build_base_path_and_coords(coordinates) coords = parse_coordinates(coordinates) # The url may contain the org and repo, e.g. 'https://maven.pkg.github.com/killbill/qualpay-java-client' org_and_repo = URI.parse(configuration[:url]).path [ "#{org_and_repo}/#{coords[:group_id].gsub('.', '/')}/#{coords[:artifact_id]}", "#{coords[:version]}/#{coords[:artifact_id]}-#{coords[:version]}.#{coords[:extension]}", coords ] end