Sha256: cd14885624a139174aa2befe3c91f2630c560ea5f0751f6b723e97b70ade4a39

Contents?: true

Size: 397 Bytes

Versions: 4

Compression:

Stored size: 397 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
rom-http-0.7.0 lib/rom/http/commands/delete.rb
rom-http-0.6.0 lib/rom/http/commands/delete.rb
rom-http-0.6.0.rc1 lib/rom/http/commands/delete.rb
rom-http-0.5.0 lib/rom/http/commands/delete.rb