Class: ProconBypassMan::ReportCompletedUpgradePbmJob

Inherits:
ReportEventBaseJob show all
Extended by:
HasExternalApiSetting
Defined in:
lib/procon_bypass_man/background/jobs/report_completed_upgrade_pbm_job.rb

Class Method Summary collapse

Methods included from HasExternalApiSetting

api_server

Methods inherited from ReportEventBaseJob

path

Methods inherited from BaseJob

re_enqueue_if_failed

Methods included from Background::JobPerformable

#perform, #perform_async

Class Method Details

.performObject



4
5
6
7
8
9
# File 'lib/procon_bypass_man/background/jobs/report_completed_upgrade_pbm_job.rb', line 4

def self.perform
  ProconBypassMan::ReportHttpClient.new(
    path: path,
    server: api_server,
  ).post(body: nil, event_type: :completed_upgrade_pbm)
end