Ruby client for the active collab 3 Api.
This is a work in progress on it's early development.
Add this line to your application's Gemfile:
gem 'active_collab'
And then execute:
$ bundle
Or install it yourself as:
$ gem install active_collab
require 'active_collab'
#create a client
url = "http://myactivecollabinstance.com/api.php"
api_key = MY_API_KEY
client = ActiveCollab::Client.new(url,api_key)
#listing projects
projects = client.projects
#listing tasks for project_id = 1
tasks = client.tasks(1)
#listing categories for project_id = 1
tasks = client.categories(1)
#creating a tsk for project_id = 1
task = client.add_task(1, {"name": "New task", "body": "New task description."})
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request