def edit(*args)
      arguments(args, required: [:user, :repo]) do
        permit VALID_REPO_OPTIONS
        assert_required %w[ name ]
      end

      patch_request("/repos/#{arguments.user}/#{arguments.repo}", arguments.params)
    end
def edit(*args)
      arguments(args, required: [:user, :repo]) do
        permit VALID_REPO_OPTIONS
        assert_required %w[ name ]
      end

      patch_request("/repos/#{arguments.user}/#{arguments.repo}", arguments.params)
    end
Edit a repository

 @param [Hash] params
 @option params [String] :name
   Required string
 @option params [String] :description
   Optional string
 @option params [String] :homepage
   Optional string
 @option params [Boolean] :private
   Optional boolean, true to make this a private repository, false to make it a public one
 @option params [Boolean] :has_issues
   Optional boolean - true to enable issues for this repository,
   false to disable them
 @option params [Boolean] :has_wiki
   Optional boolean - true to enable the wiki for this repository,
   false to disable it. Default is true
 @option params [Boolean] :has_downloads
   Optional boolean - true to enable downloads for this repository
 @option params [String] :default_branch
   Optional string - Update the default branch for this repository.

 @example
  github = Github.new
  github.repos.edit 'user-name', 'repo-name',
    name: 'hello-world',
    description: 'This is your first repo',
    homepage: "https://github.com",
    public: true, has_issues: true