class Github::Client::Activity::Events

def issue(*args)

Other tags:
    Api: - public
def issue(*args)
  arguments(args, required: [:user, :repo])
  response = get_request("/repos/#{arguments.user}/#{arguments.repo}/issues/events", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end

def network(*args)

Other tags:
    Api: - public
def network(*args)
  arguments(args, required: [:user, :repo])
  response = get_request("/networks/#{arguments.user}/#{arguments.repo}/events", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end

def org(*args)

Other tags:
    Api: - public
def org(*args)
  arguments(args, required: [:name])
  response = get_request("/orgs/#{arguments.name}/events", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end

def performed(*args)

Other tags:
    Api: - public
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

def public(*args)

Other tags:
    Api: - public
def public(*args)
  arguments(args)
  response = get_request("/events", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end

def received(*args)

Other tags:
    Api: - public
def received(*args)
  arguments(args, required: [:user])
  params = arguments.params
  public_events = if params['public']
    params.delete('public')
    '/public'
  end
  response = get_request("/users/#{arguments.user}/received_events#{public_events}", params)
  return response unless block_given?
  response.each { |el| yield el }
end

def repository(*args)

Other tags:
    Api: - public
def repository(*args)
  arguments(args, required: [:user, :repo])
  response = get_request("/repos/#{arguments.user}/#{arguments.repo}/events", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end

def user_org(*args)

Other tags:
    Api: - public
def user_org(*args)
  arguments(args, required: [:user, :name])
  response = get_request("/users/#{arguments.user}/events/orgs/#{arguments.name}", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end