Class: ProconBypassMan::PrintBootMessageCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/procon_bypass_man/commands/print_boot_message_command.rb

Defined Under Namespace

Classes: BootMessage

Class Method Summary collapse

Class Method Details

.executevoid

This method returns an undefined value.



58
59
60
61
62
63
# File 'lib/procon_bypass_man/commands/print_boot_message_command.rb', line 58

def self.execute
  message = BootMessage.new
  ProconBypassMan::ReportBootJob.perform_async(message.to_hash)
  ProconBypassMan.logger.info message.to_s
  puts message.to_s
end