Sha256: d33c133bc95476b8c58eab12b2f3439ecc5a26801a92636bf7bf37b9f44acb3a

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

module ROM
  module HTTP
    module Commands
      # HTTP Delete command
      #
      # @api public
      class Delete < ROM::Commands::Delete
        adapter :http

        # Sends an HTTP delete to the dataset path
        #
        # @api public
        def execute
          relation.delete
        end

        def assert_tuple_count
          # noop
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rom-http-0.10.0 lib/rom/http/commands/delete.rb
rom-http-0.9.0 lib/rom/http/commands/delete.rb
rom-http-0.8.0 lib/rom/http/commands/delete.rb