ranbanery

Installation

gem install ranbanery

Or in your Gemfile:

gem 'ranbanery'

Usage

require 'ranbanery'

client = Kanbanery::Client.new(YOUR_WORKSPACE, YOUR_KEY)

client.projects
# returns the ActiveResource: Project
# see https://github.com/rails/activeresource#configuration-and-usage

# find(:first) is broken :(
project_id = client.projects.all.first.id

client.columns( project_id )
# returns the ActiveResource: Column
# (ugly, but necessary until ActiveResource supports has_many etc.)

client.tasks( project_id )
# returns the ActiveResource: Task
# project_id is optional (don't use it for finding a task)

client.subtasks( task_id )
# returns the ActiveResource: Subtask

That is all for now. Please help creating the other Kanbanery API methods.

Contributing to ranbanery

License

This gem is released under the MIT License.