module Octokit::Client::Feeds
Methods for the Feeds
API
Public Instance Methods
Source
# File lib/octokit/client/feeds.rb, line 25 def feed(name, options = {}) if rel = feeds._links[name] get rel.href, accept: rel.type, options: options end end
Get a Feed by name
@param name [Symbol, String] Name of feed to retrieve. @return [Feed] Parsed feed in the format returned by the configured
parser.
Source
# File lib/octokit/client/feeds.rb, line 16 def feeds get 'feeds' end
List Feeds
The feeds returned depend on authentication, see the GitHub API docs for more information.
@return [Array<Sawyer::Resource>] list of feeds @see developer.github.com/v3/activity/feeds/#list-feeds