Class: ProconBypassMan::ReportLoadConfigJob

Inherits:
ReportEventBaseJob show all
Extended by:
HasExternalApiSetting
Defined in:
lib/procon_bypass_man/background/jobs/report_load_config_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

.perform(body) ⇒ Object

Parameters:

  • body (String)


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

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