Class: ROM::HTTP::Commands::Delete

Inherits:
Commands::Delete
  • Object
show all
Defined in:
lib/rom/http/commands/delete.rb

Overview

HTTP Delete command

Instance Method Summary collapse

Instance Method Details

#assert_tuple_countObject



19
20
21
# File 'lib/rom/http/commands/delete.rb', line 19

def assert_tuple_count
  # noop
end

#executeObject

Sends an HTTP delete to the dataset path



15
16
17
# File 'lib/rom/http/commands/delete.rb', line 15

def execute
  relation.delete
end