class EventStoreClient::GRPC::Commands::Streams::Tombstone

Public Instance Methods

call(name, options: {}) click to toggle source
# File lib/event_store_client/adapters/grpc/commands/streams/tombstone.rb, line 17
def call(name, options: {})
  opts =
    {
      stream_identifier: {
        streamName: name
      },
      any: {}
    }

  service.tombstone(request.new(options: opts), metadata: metadata)
  Success()
rescue ::GRPC::FailedPrecondition
  Failure(:not_found)
end