https://github.com/zapnap/riq-ruby
Full featured Ruby SDK for interacting with the RelateIQ API
https://github.com/zapnap/riq-ruby
Last synced: 18 days ago
JSON representation
Full featured Ruby SDK for interacting with the RelateIQ API
- Host: GitHub
- URL: https://github.com/zapnap/riq-ruby
- Owner: zapnap
- License: mit
- Created: 2015-12-01T21:13:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-01T21:16:05.000Z (over 9 years ago)
- Last Synced: 2025-03-01T12:49:26.971Z (4 months ago)
- Language: Ruby
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# SalesforceIQ Ruby SDK
[](http://badge.fury.io/rb/riq)
[](https://travis-ci.org/relateiq/ruby-sdk)A full featured native Ruby interface for interacting with the [SalesforceIQ](https://salesforceiq.com)(formerly RelateIQ) API.
## Status
|Badge (click for more info)|Explanation|
|---|---|
|[](http://www.rubydoc.info/gems/riq)|% of methods documented|
|[](https://codeclimate.com/github/relateiq/ruby-sdk/coverage)|% of methods tested|
|[](https://codeclimate.com/github/relateiq/ruby-sdk/code)|Overall code quality (4.0 is best)|
|[](https://gemnasium.com/relateiq/ruby-sdk)|Dependency freshness|
|[](http://opensource.org/licenses/MIT)|What can you use this for?|## Code Examples
``` ruby
require 'riq'
RIQ.init(ENV['RIQ_API_KEY'], ENV['RIQ_API_SECRET'])# Contacts
RIQ.contacts.each do |c|
# do something
puts c.name
end# => Bruce Wayne
# => Malcolm Reynolds
# => Michael Bluth
# => Tony Stark
...
# Etc```
## Testing
Copy `.env.example` to `.env` and edit to add your SalesforceIQ account credentials. Then run the Rake task:
rake test
## Helpful Links
* [Full ruby documentation](http://www.rubydoc.info/gems/riq)
* [Examples and API docs](https://api.salesforceiq.com/#/ruby)