class Dependabot::Source

def default_api_endpoint(provider)

def default_api_endpoint(provider)
  case provider
  when "github" then "https://api.github.com/"
  when "bitbucket" then "https://api.bitbucket.org/2.0/"
  when "gitlab" then "https://gitlab.com/api/v4"
  when "azure" then "https://dev.azure.com/"
  when "codecommit" then nil
  else raise "Unexpected provider '#{provider}'"
  end
end