class EventStoreClient::GRPC::Commands::PersistentSubscriptions::Delete
Public Instance Methods
call(stream, group)
click to toggle source
# File lib/event_store_client/adapters/grpc/commands/persistent_subscriptions/delete.rb, line 17 def call(stream, group) opts = { stream_identifier: { streamName: stream }, group_name: group } service.delete(request.new(options: opts), metadata: metadata) Success() rescue ::GRPC::NotFound Failure(:not_found) end