Class: ProconBypassMan::RemoteAction::RemotePbmJob::ReportProconStatusAction

Inherits:
BaseAction
  • Object
show all
Defined in:
lib/procon_bypass_man/remote_action/remote_pbm_job/report_procon_status.rb

Instance Attribute Summary

Attributes inherited from BaseAction

#pbm_job_uuid

Instance Method Summary collapse

Methods inherited from BaseAction

#initialize, #run!

Constructor Details

This class inherits a constructor from ProconBypassMan::RemoteAction::RemotePbmJob::BaseAction

Instance Method Details

#action_content(_args) ⇒ Object



6
7
8
9
10
11
# File 'lib/procon_bypass_man/remote_action/remote_pbm_job/report_procon_status.rb', line 6

def action_content(_args)
  ProconBypassMan.logger.info "execute ReportProconStatusAction!"
  ProconBypassMan::SendInfoLogCommand.execute(
    message: ProconBypassMan::ProconDisplay::Status.instance.current.to_s
  )
end