Sha256: db6b97eefdcc598b3a7443cc6d9210a9b98be0aafcb8186fb322c89abbbcb8f0
Contents?: true
Size: 312 Bytes
Versions: 20
Compression:
Stored size: 312 Bytes
Contents
require 'intercom/traits/api_resource' 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
20 entries across 20 versions & 1 rubygems