public GistAPI GetGist(string id) { var api = GithubAPIFactory.Create <GistAPI>(authString); api.id = id; return(api); }
public RepoAPI GetRepo(string owner, string name) { var api = GithubAPIFactory.Create <RepoAPI>(authString); api.owner = owner; api.name = name; return(api); }