mirror of
https://github.com/netchx/netch.git
synced 2026-03-24 18:39:47 +08:00
17 lines
397 B
C#
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;
|
|
}
|
|
}
|
|
}
|