Files
netch/Netch/Models/GitHubRelease/GitHubRelease.cs
Connection Refused b2ea730984 done
2019-12-02 19:51:12 +08:00

17 lines
397 B
C#

namespace Netch.Models.GitHubRelease
{
public class GitHubRelease
{
private readonly string _owner;
private readonly string _repo;
public string AllReleaseUrl => $@"https://api.github.com/repos/{_owner}/{_repo}/releases";
public GitHubRelease(string owner, string repo)
{
_owner = owner;
_repo = repo;
}
}
}