Permalink
Browse files

Added example usage.

  • Loading branch information...
1 parent 0fc3901 commit 81571b11419b679fa68ad589ae3eb635f95857f1 @edavis10 committed Apr 10, 2010
Showing with 13 additions and 0 deletions.
  1. +13 −0 bin/test.rb
View
@@ -0,0 +1,13 @@
+#!/usr/bin/env ruby
+require 'rubygems'
+$LOAD_PATH << File.expand_path(File.dirname(__FILE__) + '/../lib')
+
+require 'redmine_client'
+
+RedmineClient::Base.configure do
+ self.site = 'http://localhost:3000'
+ self.user = 'admin'
+ self.password = 'test'
+end
+
+puts "Found #{RedmineClient::Issue.find(:all).count} issues"

0 comments on commit 81571b1

Please sign in to comment.