Sha256: f52cc395828b0305edcd76d2775340a299163064928c18cc3b10f53cc376bbd3
Contents?: true
Size: 298 Bytes
Versions: 18
Compression:
Stored size: 298 Bytes
Contents
require 'intercom/utils' module Intercom module ApiOperations module Delete def delete(object) collection_name = Utils.resource_class_to_collection_name(collection_class) @client.delete("/#{collection_name}/#{object.id}", {}) object end end end end
Version data entries
18 entries across 18 versions & 1 rubygems