Sha256: fc12b823e6055b708c1299547af5d31131a05c5246fdd936b4fd302c34732ba0
Contents?: true
Size: 292 Bytes
Versions: 1
Compression:
Stored size: 292 Bytes
Contents
module CiviCrm module Actions module Destroy def delete params = {'entity' => self.class.entity_class_name, 'action' => 'delete', 'id' => id} response = CiviCrm::Client.request(:post, params) refresh_from(response.first.to_hash) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
civicrm-1.0.1 | lib/civicrm/actions/destroy.rb |