Method: Github::Client::Projects#edit

Defined in:
lib/github_api/client/projects.rb

#edit(*args) ⇒ Object

Edit a project

Examples:

github = Github.new
github.projects.edit 1002604,
  name: "Outcomes Tracker",
  body: "The board to track work for the Outcomes application."

Parameters:



57
58
59
60
61
62
63
64
# File 'lib/github_api/client/projects.rb', line 57

def edit(*args)
  arguments(args, required: [:id])
  params = arguments.params

  params["accept"] ||= PREVIEW_MEDIA

  patch_request("/projects/#{arguments.id}", params)
end