module Octokit::Client::Feeds
Methods for the Feeds
API
Public Instance Methods
feed(name, options = {})
click to toggle source
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.
# 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
feeds()
click to toggle source
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
# File lib/octokit/client/feeds.rb, line 16 def feeds get "feeds" end