Sha256: 4354797c81b8bc384af86c24165c6c8db0d4b21834179b24f76606bf938a6ba6
Contents?: true
Size: 623 Bytes
Versions: 10
Compression:
Stored size: 623 Bytes
Contents
# frozen_string_literal: true module ChartMogul module API module Actions module DestroyWithParams def self.included(base) base.extend ClassMethods end def destroy_with_params! handling_errors do connection.delete(resource_path.path, instance_attributes) end true end module ClassMethods def destroy_with_params!(options = {}) handling_errors do connection.delete(resource_path.path, options) end true end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems