Class: Evostream::Commands::ListStreams

Inherits:
Command
  • Object
show all
Defined in:
lib/evostream/event/commands/list_streams.rb

Overview

Provides a detailed description of all active streams.

Constant Summary collapse

MANDATORY =
[].freeze

Instance Method Summary collapse

Methods inherited from Command

descendants

Constructor Details

#initialize(commands = {}) ⇒ ListStreams

Returns a new instance of ListStreams.



9
10
11
# File 'lib/evostream/event/commands/list_streams.rb', line 9

def initialize(commands = {})
  super(commands)
end

Instance Method Details

#cmdObject



13
14
15
16
# File 'lib/evostream/event/commands/list_streams.rb', line 13

def cmd
  super
  "listStreams?params=#{encode64}"
end