Class: ESM::Command::Territory::Remove
- Inherits:
-
ApplicationCommand
- Object
- Base
- ApplicationCommand
- ESM::Command::Territory::Remove
- Defined in:
- lib/esm/command/territory/remove.rb
Defined Under Namespace
Modules: V1
Instance Method Summary collapse
Instance Method Details
#on_execute ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/esm/command/territory/remove.rb', line 30 def on_execute check_for_registered_target_user! if target_user.is_a?(ESM::User) response = call_sqf_function!( "ESMs_command_remove", territory_id: arguments.territory_id ) = (response) reply() end |