Sha256: 3c58f6b758e1f767cbfbe84415d9fbee919c2b98d2cd93b414979ffd543aca84
Contents?: true
Size: 579 Bytes
Versions: 8
Compression:
Stored size: 579 Bytes
Contents
module ProconBypassMan class UpdateRemotePbmJobStatusCommand # @param [String] pbm_job_uuid def initialize(pbm_job_uuid: ) @pbm_job_uuid = pbm_job_uuid end # @param [String] to_status # @return [void] def execute(to_status: ) ProconBypassMan::UpdateRemotePbmJobStatusHttpClient.new( path: path, server: ProconBypassMan.config.api_server, ).put(to_status: to_status) end private # @return [String] def path "/api/devices/#{ProconBypassMan.device_id}/pbm_jobs/#{@pbm_job_uuid}" end end end
Version data entries
8 entries across 8 versions & 1 rubygems