class Github::Client::Activity::Feeds
def get(*args)
- Api: - public
Parameters:
-
name
(String
) --
Other tags:
- See: https://developer.github.com/v3/activity/feeds/#list-feeds -
def get(*args) arguments(args, required: [:name]) name = arguments.name response = list.body._links[name] if response params = arguments.params params['accept'] = response.type get_request(response.href, params) end end
def list(*args)
- Api: - public
Other tags:
- See: https://developer.github.com/v3/activity/feeds/#list-feeds -
def list(*args) arguments(args) response = get_request("/feeds", arguments.params) return response unless block_given? response.each { |el| yield el } end