Module: Pipedrive::Operations::Delete

Extended by:
ActiveSupport::Concern
Included in:
Activity, ActivityType, Deal, DealField, File, Filter, Goal, Note, Pipedrive::Organization, Pipedrive::OrganizationField, Person, PersonField, Pipeline, Product, ProductField, Role, Stage, User
Defined in:
lib/pipedrive/operations/delete.rb

Instance Method Summary collapse

Instance Method Details

#delete(id) ⇒ Object



8
9
10
# File 'lib/pipedrive/operations/delete.rb', line 8

def delete(id)
  make_api_call(:delete, id)
end

#delete_allObject



12
13
14
# File 'lib/pipedrive/operations/delete.rb', line 12

def delete_all
  make_api_call(:delete)
end