mirror of
https://github.com/bolucat/Archive.git
synced 2025-10-09 18:11:20 +08:00
15 lines
350 B
C#
15 lines
350 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";
|
|
} |