Class: Evostream::Commands::Transcode

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

Overview

Send command transcode

Constant Summary collapse

MANDATORY =
%w[source destinations].freeze

Instance Method Summary collapse

Methods inherited from Command

descendants

Constructor Details

#initialize(commands = { source: 'null', destinations: 'null' }) ⇒ Transcode

Returns a new instance of Transcode.



10
11
12
13
14
# File 'lib/evostream/event/commands/transcode.rb', line 10

def initialize(commands = {
  source: 'null', destinations: 'null'
})
  super(commands)
end

Instance Method Details

#cmdObject



16
17
18
19
# File 'lib/evostream/event/commands/transcode.rb', line 16

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