Sha256: 56004749c5ecaee3421d87ca0adf36800802ae18e12b7e39f6da0dce04f060a2

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

class ProconBypassMan::ReportHeartbeatJob < ProconBypassMan::BaseJob
  # @param [String] body
  def self.perform(body)
    ProconBypassMan::Background::HttpClient.new(
      path: path,
      pool_server: pool_server,
      retry_on_connection_error: false,
    ).post(body: body, event_type: :heartbeat)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
procon_bypass_man-0.1.13 lib/procon_bypass_man/background/jobs/report_heartbeat_job.rb
procon_bypass_man-0.1.12 lib/procon_bypass_man/background/jobs/report_heartbeat_job.rb