Class: ProconBypassMan::ReportStartRebootJob
- Inherits:
-
ReportEventBaseJob
- Object
- BaseJob
- ReportEventBaseJob
- ProconBypassMan::ReportStartRebootJob
- Extended by:
- HasExternalApiSetting
- Defined in:
- lib/procon_bypass_man/background/jobs/report_start_reboot_job.rb
Class Method Summary collapse
Methods included from HasExternalApiSetting
Methods inherited from ReportEventBaseJob
Methods inherited from BaseJob
Methods included from Background::JobPerformable
Class Method Details
.perform ⇒ Object
4 5 6 7 8 9 |
# File 'lib/procon_bypass_man/background/jobs/report_start_reboot_job.rb', line 4 def self.perform ProconBypassMan::ReportHttpClient.new( path: path, server: api_server, ).post(body: nil, event_type: :start_reboot) end |