private string GetUrlFromType(TravisRepoType repoType) { if (repoType == TravisRepoType.Public) { return("https://api.travis-ci.org/"); } if (repoType == TravisRepoType.Private) { return("https://api.travis-ci.com/"); } return(""); }
private string GetUrlFromType(TravisRepoType repoType) { if (repoType == TravisRepoType.Public) return "https://api.travis-ci.org/"; if (repoType == TravisRepoType.Private) return "https://api.travis-ci.com/"; return ""; }