https://github.com/ninech/nine-redmine-client
Simple Ruby Redmine Client
https://github.com/ninech/nine-redmine-client
Last synced: 4 months ago
JSON representation
Simple Ruby Redmine Client
- Host: GitHub
- URL: https://github.com/ninech/nine-redmine-client
- Owner: ninech
- Created: 2015-02-27T08:41:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-11-09T13:56:36.000Z (over 6 years ago)
- Last Synced: 2025-01-22T07:32:35.375Z (5 months ago)
- Language: Ruby
- Size: 22.5 KB
- Stars: 0
- Watchers: 25
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Redmine Ruby Client
[](https://travis-ci.org/ninech/nine-redmine-client)
Ruby client library for the Redmine API.
## Configuration
In your Rails app create a file `config/initializers/redmine.rb` with the following content:
```ruby
RedmineClient::API.configure do |config|
config.url = ENV['REDMINE_URL']
config.token = ENV['REDMINE_TOKEN']
end
```Here you have to set the config values via environment variables. But you're free to do it differently.
## Usage
The client is very limited. Actually it can only find, create and update issues. That's all for now. But
great things start small.```ruby
RedmineClient::Issue.create subject: 'Do this and that', project_id: 1issue = RedmineClient::Issue.find(1)
issue.update subject: 'New Subject'
```## About
This gem is currently maintained and funded by [nine](https://nine.ch).
[](https://www.nine.ch)