Sha256: c3d151d44c954bc1074d076ada49e8d110d4aedcbb981339a9a522b92c5100e5

Contents?: true

Size: 456 Bytes

Versions: 3

Compression:

Stored size: 456 Bytes

Contents

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

  # @param [Symbol] status
  def self.perform(job_id)
    ProconBypassMan::RemoteMacroHttpClient.new(
      path: path,
      server: api_server,
    ).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

3 entries across 3 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.1 lib/procon_bypass_man/background/jobs/post_completed_remote_macro_job.rb
procon_bypass_man-0.3.0 lib/procon_bypass_man/background/jobs/post_completed_remote_macro_job.rb
procon_bypass_man-0.2.3 lib/procon_bypass_man/background/jobs/post_completed_remote_macro_job.rb