#redmine_weary - a ruby client for the Redmine REST API
This is a fairly simple wrapper for the Redmine REST API. My main reasons for developing it were to create a fancy dashboard for my employer's internal bug tracker and to have a play with weary, a nifty framework/DSL for working with RESTful APIs. Yes, I know I could have used ActiveResource, but where's the fun in that?
redmine_weary is still very much a work in progress—at this point you can only really get a list of issues and a small amount of related information.
##How to use
The following code sets up the gem:
require 'redmine_weary'
RedmineWeary.configure do |config|
config.endpoint = 'http://example.com'
config.api_key = 'MYAPIKEY'
end
require 'redmine_weary/client'
After that you can do stuff with issues. e.g. get a count of all the issues
RedmineWeary::Issue.count
##Thanks
Many thanks to the developers of Redmine and to Mark Wunsch for developing Weary and providing solid code from which I could blatantly steal.