class Github::Issues
def edit(*args)
]
"Label2"
"Label1",
"labels" => [
"milestone" => 1,
"assignee" => "octocat",
"body" => "I'm having a problem with this.",
"title" => "Found a bug",
github.issues.edit 'user-name', 'repo-name', 'number'
github = Github.new
= Examples
:labels - Optional array of strings - Labels to associate with this issue. Pass one or more Labels to replace the set of Labels on this Issue. Send an empty array ([]) to clear all Labels from the Issue.
:milestone - Optional number - Milestone to associate this issue with
:state - Optional string - State of the issue:open or closed
:assignee - Optional string - Login for the user that this issue should be assigned to.
:body - Optional string
:title - Optional string
= Inputs
Edit an issue
def edit(*args) arguments(args, :required => [:user, :repo, :number]) do sift VALID_ISSUE_PARAM_NAMES end params = arguments.params patch_request("/repos/#{user}/#{repo}/issues/#{number}", params) end