class EventStoreClient::HTTP::Commands::Streams::Tombstone

Public Instance Methods

call(stream_name, options: {}) click to toggle source
# 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