Class: PipedriveAPI::Deal
Class Method Summary collapse
Methods inherited from Base
all, auth, create, find, find_by_name, handle, remove, resource_path, update
Class Method Details
.duplicate(id) ⇒ Object
5 6 7 8 |
# File 'lib/pipedrive_api/deal.rb', line 5 def duplicate(id) response = post "#{resource_path}/#{id}/duplicate" handle response end |