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

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