Module: Intercom::ApiOperations::Archive
- Included in:
- Service::Lead, Service::User
- Defined in:
- lib/intercom/api_operations/archive.rb
Instance Method Summary collapse
- #archive(object) ⇒ Object (also: #delete)
Instance Method Details
#archive(object) ⇒ Object Also known as: delete
8 9 10 11 |
# File 'lib/intercom/api_operations/archive.rb', line 8 def archive(object) @client.delete("/#{collection_name}/#{object.id}", {}) object end |