Class: Evostream::Commands::GetStreamInfo

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

Overview

Returns a detailed set of information about a stream.

Constant Summary collapse

MANDATORY =
%w[id].freeze

Instance Method Summary collapse

Methods inherited from Command

descendants

Constructor Details

#initialize(commands = {}) ⇒ GetStreamInfo



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

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

Instance Method Details

#cmdObject



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

def cmd
  super
  "getStreamInfo?params=#{encode_64}"
end