Module: PatchRetention::Contacts::Delete
- Extended by:
- Delete
- Includes:
- Util
- Included in:
- Delete
- Defined in:
- lib/patch_retention/contacts/delete.rb
Instance Method Summary collapse
Methods included from Util
#parse_error_message, #raise_error_if_present
Instance Method Details
#call(id, config = nil) ⇒ Object
7 8 9 10 11 |
# File 'lib/patch_retention/contacts/delete.rb', line 7 def call(id, config = nil) raise_error_if_present do PatchRetention.connection(config).delete("#{PatchRetention::Contacts::API_PATH}/#{id}") end end |