Class: EventStoreClient::HTTP::Commands::Streams::Tombstone
- Defined in:
- lib/event_store_client/adapters/http/commands/streams/tombstone.rb
Instance Method Summary collapse
-
#call(stream_name, options: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
Methods inherited from Command
Instance Method Details
#call(stream_name, options: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument
8 9 10 11 12 |
# File 'lib/event_store_client/adapters/http/commands/streams/tombstone.rb', line 8 def call(stream_name, options: {}) # rubocop:disable Lint/UnusedMethodArgument headers = { 'ES-HardDelete' => 'true' } connection.call(:delete, "/streams/#{stream_name}", body: {}, headers: headers) Success() end |