Permalink
Browse files

Make Issue::STATES constant holding valid states.

  • Loading branch information...
1 parent 59495c3 commit d228703b0138e995ea3eb8145dcbdef6ebadc83d @runpaint committed 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 d228703

Please sign in to comment.