-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Felipe Borges Ferreira edited this page Jul 9, 2016
·
10 revisions
Add this line to your application's Gemfile:
gem 'pipedrive_ruby'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pipedrive_ruby --pre
Now you can call
#Get a PipedriveClient and you can call implemented resources
client = PipedriveRuby::PipedriveClient("YOUR_API_TOKEN")
#Get a Deals resource an then you can call the implemented methods like
client.deals
# it will return a JSON
client.deals.all
or you can include in your class
class MyClass
include PipedriveRuby
puts PipedriveClient("YOUR_API_TOKEN").deals.all
end