Class: PipedriveAPI::Organization

Inherits:
Base
  • Object
show all
Defined in:
lib/pipedrive_api/organization.rb

Class Method Summary collapse

Methods inherited from Base

all, auth, create, find, find_by_name, handle, remove, resource_path, update

Class Method Details

.deals(id, **params) ⇒ Object



6
7
8
9
# File 'lib/pipedrive_api/organization.rb', line 6

def deals(id, **params)
  response = get "#{resource_path}/#{id}/deals", query: params
  handle response
end