Camper
Interact with the Basecamp Next API with Ruby
Installation
Add this line to your application's Gemfile:
gem 'camper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install camper
Usage
TODO: More usage docs.
You can check out more documentation over at rdoc.info.
@camper = Camper.new
@camper.setup id: 12345, username: 'username_123', password: 'secretpassword!'
@camper.people
@camper.projects
@camper.archived_projects
Testing
To test, you need to run bundle exec guard. The only gotcha is that, in order to keep this open source and not expose real credentials, you have to set your own username, password, and group id. To do that, run the command like this:
ID=12345 USER=my_username PASS=supersecret bundle exec guard
That'll get you rolling.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Write and document your changes
- Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request