mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
16 lines
396 B
C#
16 lines
396 B
C#
namespace Netch.Models.GitHubRelease
|
|
{
|
|
public class GitHubRelease
|
|
{
|
|
private readonly string _owner;
|
|
private readonly string _repo;
|
|
|
|
public GitHubRelease(string owner, string repo)
|
|
{
|
|
_owner = owner;
|
|
_repo = repo;
|
|
}
|
|
|
|
public string AllReleaseUrl => $@"https://api.github.com/repos/{_owner}/{_repo}/releases";
|
|
}
|
|
} |