Class: ESM::Command::Server::Me
- Inherits:
-
ApplicationCommand
- Object
- Base
- ApplicationCommand
- ESM::Command::Server::Me
- Defined in:
- lib/esm/command/server/me.rb
Defined Under Namespace
Modules: V1
Instance Method Summary collapse
Instance Method Details
#on_execute ⇒ Object
23 24 25 26 27 28 |
# File 'lib/esm/command/server/me.rb', line 23 def on_execute response = query_exile_database!("me", uid: current_user.steam_uid) player_data = response.first&.to_struct reply((player_data)) end |