Sha256: 1a497a39f95e14ea370aeddd235b0487ae0a3fe9d2aac7e213fee65e03fb06ae

Contents?: true

Size: 462 Bytes

Versions: 5

Compression:

Stored size: 462 Bytes

Contents

class ProconBypassMan::PostCompletedRemoteMacroJob < ProconBypassMan::BaseJob
  extend ProconBypassMan::HasExternalApiSetting

  # @param [Symbol] status
  def self.perform(job_id)
    ProconBypassMan::RemoteMacroHttpClient.new(
      path: path,
      server_pool: server_pool,
    ).post(job_id: job_id)
  end

  def self.path
    device_id = ProconBypassMan.device_id
    "/api/devices/#{ProconBypassMan.device_id}/completed_pbm_remote_macro_jobs"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
procon_bypass_man-0.2.2 lib/procon_bypass_man/background/jobs/post_completed_remote_macro_job.rb
procon_bypass_man-0.2.1 lib/procon_bypass_man/background/jobs/post_completed_remote_macro_job.rb
procon_bypass_man-0.2.0 lib/procon_bypass_man/background/jobs/post_completed_remote_macro_job.rb
procon_bypass_man-0.1.23 lib/procon_bypass_man/background/jobs/post_completed_remote_macro_job.rb
procon_bypass_man-0.1.22 lib/procon_bypass_man/background/jobs/post_completed_remote_macro_job.rb