Class: ESM::Command::Territory::Promote
- Inherits:
-
ApplicationCommand
- Object
- Base
- ApplicationCommand
- ESM::Command::Territory::Promote
- Defined in:
- lib/esm/command/territory/promote.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 41 |
# File 'lib/esm/command/territory/promote.rb', line 30 def on_execute # Check for registered target_user check_for_registered_target_user! if target_user.is_a?(ESM::User) response = call_sqf_function!( "ESMs_command_promote", territory_id: arguments.territory_id ) = (response) reply() end |