Module: Intercom::ApiOperations::Delete
- Included in:
- Service::Article, Service::Collection, Service::Company, Service::Contact, Service::Section, Service::Subscription, Service::SubscriptionType, Service::Tag, Service::Visitor
- Defined in:
- lib/intercom/api_operations/delete.rb
Instance Method Summary collapse
- #delete(object) ⇒ Object (also: #archive)
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 |