Class: ESM::Command::Territory::Restore

Inherits:
ApplicationCommand show all
Defined in:
lib/esm/command/territory/restore.rb

Defined Under Namespace

Modules: V1

Instance Method Summary collapse

Instance Method Details

#on_executeObject



31
32
33
34
# File 'lib/esm/command/territory/restore.rb', line 31

def on_execute
  check_for_owned_server!
  run_database_query!("restore", territory_id: arguments.territory_id)
end