Module: Intercom::ApiOperations::Delete

Instance Method Summary collapse

Instance Method Details

#delete(object) ⇒ Object Also known as: archive



8
9
10
11
# File 'lib/intercom/api_operations/delete.rb', line 8

def delete(object)
  @client.delete("/#{collection_name}/#{object.id}", {})
  object
end