Sha256: 1ac0305d60f13dfb4f30d18fb7b7bb371f0250208b765b90f1a8c650c764606f

Contents?: true

Size: 742 Bytes

Versions: 4

Compression:

Stored size: 742 Bytes

Contents

## Installation

* $ gem install civicrm

## Getting started

```ruby
* CiviCrm.site_key = 'YOUR_SITE_KEY'
* // More info about site_key:
* // http://wiki.civicrm.org/confluence/display/CRMDOC43/Managing+Scheduled+Jobs
* CiviCrm.api_base = 'https://www.example.org/path/to/civi/codebase/'
* CiviCrm.authenticate('demo', 'demo')
```

## CiviCrm Objects

```ruby
* CiviCrm::Contact.all    # get list of contacts
* CiviCrm::Contact.create(contact_type: 'Organization', organization_name: 'test') # create contact
* CiviCrm::Contact.find(1).delete      # find and delete
```

## Testing
```
rspec spec
```

## Useful links

* http://wiki.civicrm.org/confluence/display/CRMDOC43/REST+interface
* http://drupal.demo.civicrm.org/civicrm/api/explorer

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
civicrm-1.0.5 README.md
civicrm-1.0.4 README.md
civicrm-1.0.2 README.md
civicrm-1.0.1 README.md