/// <summary> /// Get a single GitHub App Installation (requires GitHubApp JWT token auth). /// </summary> /// <param name="installationId">The Id of the GitHub App Installation.</param> /// <remarks> /// https://developer.github.com/v3/apps/#get-a-single-installation /// </remarks> /// <returns></returns> public async Task <Installation> GetInstallationAsync(long installationId) { return(await _gitHubAppsClient.GetInstallation(installationId)); }
/// <summary> /// Get a single GitHub App Installation (requires GitHubApp JWT token auth). /// </summary> /// <remarks>https://developer.github.com/v3/apps/#get-a-single-installation</remarks> /// <param name="installationId">The Id of the GitHub App Installation</param> public IObservable <Installation> GetInstallation(long installationId) { return(_client.GetInstallation(installationId).ToObservable()); }