Class: EventStoreClient::HTTP::Commands::Streams::Delete

Inherits:
Command
  • Object
show all
Defined in:
lib/event_store_client/adapters/http/commands/streams/delete.rb

Instance Method Summary collapse

Methods inherited from Command

inherited

Instance Method Details

#call(stream_name, options: {}) ⇒ Object

rubocop:disable Lint/UnusedMethodArgument



8
9
10
11
# File 'lib/event_store_client/adapters/http/commands/streams/delete.rb', line 8

def call(stream_name, options: {}) # rubocop:disable Lint/UnusedMethodArgument
  connection.call(:delete, "/streams/#{stream_name}", body: {})
  Success()
end