using System.Threading.Tasks; namespace Octokit { /// /// A client for GitHub's Feeds API. /// /// /// See the Feeds API documentation for more information /// public class FeedsClient : ApiClient, IFeedsClient { /// /// Instantiates a new GitHub Feeds API client. /// /// An API connection public FeedsClient(IApiConnection apiConnection) : base(apiConnection) { } /// /// Gets all the feeds available to the authenticating user /// /// /// http://developer.github.com/v3/activity/feeds/#list-feeds /// /// All the public s for the particular user. [ManualRoute("GET", "/feeds")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] public Task GetFeeds() { return ApiConnection.Get(ApiUrls.Feeds()); } } }