Sha256: a412c31d1d8b3901d343e546116d78e0390470cb9f5fabcea58204919a8e843b

Contents?: true

Size: 237 Bytes

Versions: 9

Compression:

Stored size: 237 Bytes

Contents

module DockHealthApi
  module Crud
    module Delete
      def delete(**params)
        id = params.delete(:id)
        execute_request(:delete, "#{resource_url}/#{id}", headers: headers, body_params: params)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dock_health_api-0.5.10 lib/dock_health_api/crud/delete.rb
dock_health_api-0.5.9 lib/dock_health_api/crud/delete.rb
dock_health_api-0.5.8 lib/dock_health_api/crud/delete.rb
dock_health_api-0.5.7 lib/dock_health_api/crud/delete.rb
dock_health_api-0.5.6 lib/dock_health_api/crud/delete.rb
dock_health_api-0.5.5 lib/dock_health_api/crud/delete.rb
dock_health_api-0.5.4 lib/dock_health_api/crud/delete.rb
dock_health_api-0.5.3 lib/dock_health_api/crud/delete.rb
dock_health_api-0.5.1 lib/dock_health_api/crud/delete.rb