Sha256: 9034b30d6f84d80d2d79f8427b6c8915ea0dd5f463a1ce97d18d3e7a0af2c521
Contents?: true
Size: 585 Bytes
Versions: 8
Compression:
Stored size: 585 Bytes
Contents
module ProconBypassMan class UpdateRemotePbmActionStatusCommand # @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::UpdateRemotePbmActionStatusHttpClient.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