Sha256: 16c7f2a4637417b7d382f220f315cd3fda866790e070f18a1cf0e50547e5c611

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

class ProconBypassMan::ReportErrorJob < 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: :error,)
  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_error_job.rb
procon_bypass_man-0.1.12 lib/procon_bypass_man/background/jobs/report_error_job.rb