Permalink
Browse files

Converting the wiki documentation to running code.

  • Loading branch information...
1 parent 2d6536f commit 0fc39011b1ed27843d940a176373d1d457fd4519 @edavis10 committed Apr 10, 2010
@@ -0,0 +1,6 @@
+require 'active_resource'
+
+require 'redmine_client/base'
+require 'redmine_client/project'
+require 'redmine_client/issue'
+require 'redmine_client/news'
@@ -0,0 +1,10 @@
+module RedmineClient
+ class Base < ActiveResource::Base
+
+ def self.configure(&block)
+ instance_eval &block
+ end
+
+ end
+end
+
@@ -0,0 +1,4 @@
+module RedmineClient
+ class Issue < RedmineClient::Base
+ end
+end
@@ -0,0 +1,4 @@
+module RedmineClient
+ class News < RedmineClient::Base
+ end
+end
@@ -0,0 +1,4 @@
+module RedmineClient
+ class Project < RedmineClient::Base
+ end
+end

0 comments on commit 0fc3901

Please sign in to comment.