Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make Issue::STATES constant holding valid states.

Signed-off-by: Felipe Coury <felipe.coury@gmail.com>
  • Loading branch information...
commit b83136c50fbb53a1c9f1bbd75baf9a24680e3c16 1 parent d7424aa
@runpaint authored fcoury committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/octopi/issue.rb
View
3  lib/octopi/issue.rb
@@ -1,7 +1,8 @@
module Octopi
class Issue < Base
include Resource
-
+ STATES = %w{open closed}
+
find_path "/issues/list/:query"
resource_path "/issues/show/:id"
Please sign in to comment.
Something went wrong with that request. Please try again.