Trajectory API Ruby Wrapper
This gem is a wrapper to the Thoughbot's Trajectory app API (apptrajectory.com).
This is work in progress but at the moment, you'll have read access to
The wrapper propose some handy methods on collections of projects, stories, iterations and ideas.
Comments and Uploads wrappers are not yet implemented. Wrapper for write access is not provided at the moment.
If you have questions, you can submit an issue or ping me on twitter @lminaudier.
Installation
Add this line to your application's Gemfile:
gem 'trajectory'
And then execute:
$ bundle
Or install it yourself as:
$ gem install trajectory
Usage
Read Access
Authentication
By default, the wrapper will look for the Trajectory API key in
TRAJECTORY_API_KEY
environment variable and for the account keyword in TRAJECTORY_ACCOUNT_KEYWORD
.
require 'trajectory'
client = Trajectory::Client.new
client.projects
API
See RDoc for api details
Contributing
- 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