Skip to content

Gem with some ActiveResource models for Redmine

License

Notifications You must be signed in to change notification settings

afair/redmine_rest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedmineRest

Gem Version

This is gem with some ActiveResource models for Redmine.

Installation

Add this line to your application's Gemfile:

gem 'redmine_rest'

And then execute:

$ bundle

Or install it yourself as:

$ gem install redmine_rest

Usage

RedmineRest::Models.configure_models user: 'user', password: 'password', site: 'URL'
# or by using apikey:
RedmineRest::Models.configure_models apikey: 'apikey', site: 'URL'

include RedmineRest::Models
issues_by_project = Issue.all.group_by_project
issues_by_project.each do |project, issues|
  puts project.name
  issues.each { |i| puts i.subject }
  puts
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Nondv/redmine_rest.

License

The gem is available as open source under the terms of the MIT License.

About

Gem with some ActiveResource models for Redmine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 99.2%
  • Shell 0.8%