Sha256: fd994f93644a4522d8113c139d9ce0df97e3e405207be677d2c1fb5ac43a12f6

Contents?: true

Size: 838 Bytes

Versions: 1

Compression:

Stored size: 838 Bytes

Contents

# Redmine Ruby Client

[![Build Status](https://travis-ci.org/ninech/redmine-client.svg?branch=master)](https://travis-ci.org/ninech/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: 1

issue = RedmineClient::Issue.find(1)
issue.update subject: 'New Subject'
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nine-redmine-client-1.0.0 README.md