Permalink
Browse files

Make Issue::STATES constant holding valid states.

Signed-off-by: Felipe Coury <felipe.coury@gmail.com>
  • Loading branch information...
1 parent d7424aa commit b83136c50fbb53a1c9f1bbd75baf9a24680e3c16 @runpaint committed with fcoury Apr 22, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/octopi/issue.rb
View
@@ -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"

0 comments on commit b83136c

Please sign in to comment.