Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ruby wrapper for the CapsuleCRM API

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 capsulecrm.gemspec
Octocat-spinner-32 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.