Class: Perus::Server::ScriptCommand

Inherits:
Sequel::Model
  • Object
show all
Defined in:
lib/perus/server/models/script_command.rb

Instance Method Summary collapse

Instance Method Details

#after_destroyObject



10
11
12
13
# File 'lib/perus/server/models/script_command.rb', line 10

def after_destroy
    super
    command_config.destroy
end

#config_hashObject



6
7
8
# File 'lib/perus/server/models/script_command.rb', line 6

def config_hash
    command_config.config_hash
end