Class: ProconBypassMan::SendInfoLogCommand
- Inherits:
-
Object
- Object
- ProconBypassMan::SendInfoLogCommand
- Defined in:
- lib/procon_bypass_man/commands/send_info_log_command.rb
Class Method Summary collapse
Class Method Details
.execute(message:, stdout: true) ⇒ void
This method returns an undefined value.
4 5 6 7 8 9 10 |
# File 'lib/procon_bypass_man/commands/send_info_log_command.rb', line 4 def self.execute(message: , stdout: true) body = ProconBypassMan.logger.info(body) puts body if stdout ProconBypassMan::ReportInfoLogJob.perform(body) end |