Skip to content
Ruby wrapper for Nutshell CRM's API
Find file
Latest commit dbad642 @mshafrir Create LICENSE
Failed to load latest commit information.
lib Added method for adding a note
spec Use Ruby 1.8.7 hash.
.gitignore Initial commit.
.rbenv-version Remove from tracking
.rspec Initial commit.
.travis.yml Test against Ruby v1.9.3 Changelog skeleton
LICENSE Create LICENSE Add Travis build status to readme
Rakefile Update rake tasks.
nutshell-crm.gemspec Add rake as dev dependency.

Nutshell CRM Build Status



Nutshell Crm is a Ruby wrapper for the Nutshell Crm API.

Nutshell API Reference


  • {NutshellCrm::Client}

Example Usage

require "nutshell-crm"

# Instantiate the Nutshell client.
nutshell = "", "MY_API_KEY"

# Get the first open lead with stub data (default).
nutshell.find_leads({status: 0}).first
#=> {"stub"=>true, "id"=>1001, "entityType"=>"Leads", "name"=>"Lead\u20131001", "status"=>0, "primaryAccountName"=>nil}

# Enable non-stub responses.
nutshell.stub_responses = false

# Get the first open lead with full data.
nutshell.find_leads({status: 0}).first
#=> {"id"=>1001, "entityType"=>"Leads", "name"=>"Lead\u20131001", "status"=>0, "primaryAccountName"=>nil, "creator"=>{}}


gem install nutshell-crm
Something went wrong with that request. Please try again.