Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby wrapper for the CapsuleCRM API
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
Gemfile
README.rdoc
Rakefile
capsulecrm.gemspec
examples.rb

README.rdoc

CapsuleCRM

This is a ruby wrapper for the CapsuleCRM API. It is alpha software and should be considered a work in progress. It currently supports People & Organisations. There is support for CustomFields & Contacts but they are read-only.

Installation

[sudo] gem install capsulecrm

gem 'capsulecrm' # rails
require 'capsulecrm' # non-rails

Getting started

You will need to supply the gem with your CapsuleCRM API token and account name. The account name is the first part of your CapsuleCRM url:

CapsuleCRM.account_name = "test-account" # http://test-account.capsulecrm.com
CapsuleCRM.api_token = 'MY_API_TOKEN'
CapsuleCRM.initialize!

If you're using rails, you can put that in config/initializers/capsulecrm.rb

Usage

Please see examples.rb for usage examples

Feedback

Bug reports, feature requests and patches are welcome. Please create an issue on the github issue tracker.

License

MIT License. Copyright 2011 Ahmed Adam

Something went wrong with that request. Please try again.