class Github::Client::Repos::Forks

def create(*args)

Other tags:
    Api: - public

Parameters:
  • params (Hash) --
def create(*args)
  arguments(args, required: [:user, :repo])
  post_request("/repos/#{arguments.user}/#{arguments.repo}/forks", arguments.params)
end

def list(*args)

Other tags:
    Api: - public

Parameters:
  • params (Hash) --
def list(*args)
  arguments(args, required: [:user, :repo])
  response = get_request("/repos/#{arguments.user}/#{arguments.repo}/forks", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end