Class: Evostream::Commands::Transcode
- Defined in:
- lib/evostream/event/commands/transcode.rb
Overview
Send command transcode
Constant Summary collapse
- MANDATORY =
%w[source destinations].freeze
Instance Method Summary collapse
- #cmd ⇒ Object
-
#initialize(commands = { source: 'null', destinations: 'null' }) ⇒ Transcode
constructor
A new instance of Transcode.
Methods inherited from Command
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
#cmd ⇒ Object
16 17 18 19 |
# File 'lib/evostream/event/commands/transcode.rb', line 16 def cmd super "transcode?params=#{encode64}" end |