Class: Evostream::Commands::RemoveConfig

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

Overview

Abstract class for create element

Constant Summary collapse

MANDATORY =
%w[id].freeze

Instance Method Summary collapse

Methods inherited from Command

descendants

Constructor Details

#initialize(commands = { group_name: 'null', remove_hls_hds_files: 1 }) ⇒ RemoveConfig

Returns a new instance of RemoveConfig.



10
11
12
# File 'lib/evostream/event/commands/destroy.rb', line 10

def initialize(commands = { group_name: 'null', remove_hls_hds_files: 1 })
  super(commands)
end

Instance Method Details

#cmdObject



14
15
16
17
# File 'lib/evostream/event/commands/destroy.rb', line 14

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