Skip to content

jera/active_collab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ActiveCollab

Ruby client for the active collab 3 Api.
This is a work in progress on it's early development.

Installation

Add this line to your application's Gemfile:

gem 'active_collab'

And then execute:

$ bundle

Or install it yourself as:

$ gem install active_collab

Usage

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."})

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages