From 24845e228e7c207470819f964d115599fae53b78 Mon Sep 17 00:00:00 2001 From: Brian Cardarella Date: Thu, 27 Jun 2013 21:22:50 -0400 Subject: [PATCH] Add documentation for state option for update_issue --- lib/octokit/client/issues.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/octokit/client/issues.rb b/lib/octokit/client/issues.rb index 766cd4b16..b73f7552c 100644 --- a/lib/octokit/client/issues.rb +++ b/lib/octokit/client/issues.rb @@ -155,6 +155,7 @@ def reopen_issue(repo, number, options={}) # @option options [String] :assignee User login. # @option options [Integer] :milestone Milestone number. # @option options [String] :labels List of comma separated Label names. Example: bug,ui,@high. + # @option options [String] :state State of the issue. open or closed # @return [Issue] The updated Issue # @see http://developer.github.com/v3/issues/#edit-an-issue # @example Change the title of Issue #25