EasyResources
Common implementation of Active Resource for our projects / microservices.
Allow communicate via API with (Easy)Redmine applications.
Installation
Add this line to your application's Gemfile:
gem 'easy_resources'
And then execute:
$ bundle
Configuration
- in config/secrets.yml
yaml production: sites: redmine: api_key: secret url: https://redmine.app
- then in config/initializers/easy.rb
ruby require "easy/configuration" Easy::Resources::Redmine::RedmineBase.configure
OR
just in config/initializers/easy.rb
require "easy/configuration"
Easy::Resources::Redmine::RedmineBase.configure api_key: "secret", url: "https://redmine.app"
Development
run bundle install install and do not forget to run rspec
.
Contributing
For contributing please strictly follow our guideline. MR are welcome. As a target branch use always devel
License
The gem is available as open source under the terms of the MIT License.