Sha256: 1587f7f7188e026fedebf38550e5c60466586153807de3551e76e333e4dd5257
Contents?: true
Size: 308 Bytes
Versions: 3
Compression:
Stored size: 308 Bytes
Contents
module DockHealthApi module Crud module Delete def delete(**params) id = params.delete(:id) response = execute_request(:delete, "#{resource_url}/#{id}", headers: headers, body_params: params) return response.parsed new(response.parsed) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dock_health_api-0.4.1 | lib/dock_health_api/crud/delete.rb |
dock_health_api-0.4.0 | lib/dock_health_api/crud/delete.rb |
dock_health_api-0.3.6 | lib/dock_health_api/crud/delete.rb |