Class: ESM::Command::Territory::Restore
- Inherits:
-
ApplicationCommand
- Object
- Base
- ApplicationCommand
- ESM::Command::Territory::Restore
- Defined in:
- lib/esm/command/territory/restore.rb
Defined Under Namespace
Modules: V1
Instance Method Summary collapse
Instance Method Details
#on_execute ⇒ Object
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 |