class Github::Client::Activity::Events
def performed(*args)
- Api: - public
Other tags:
- See: https://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user -
See: https://developer.github.com/v3/activity/events/#list-events-performed-by-a-user -
def performed(*args) arguments(args, required: [:user]) params = arguments.params public_events = if params['public'] params.delete('public') '/public' end response = get_request("/users/#{arguments.user}/events#{public_events}", params) return response unless block_given? response.each { |el| yield el } end