class Github::Client::Activity::Notifications
def list(*args)
- Api: - public
Other tags:
- See: https://developer.github.com/v3/activity/notifications/#list-your-notifications-in-a-repository -
See: https://developer.github.com/v3/activity/notifications/#list-your-notifications -
Options Hash:
(**params)-
:since(String) -- -
:participating(Boolean) -- -
:all(Boolean) --
Parameters:
-
params(Hash) --
def list(*args) arguments(args) params = arguments.params response = if ( (user_name = params.delete('user')) && (repo_name = params.delete('repo')) ) get_request("/repos/#{user_name}/#{repo_name}/notifications", params) else get_request('/notifications', params) end return response unless block_given? response.each { |el| yield el } end