Sha256: 8fb03cefa1422cadf6dcf387cb151816977fddf7532d17c09a73bf3702e2808a
Contents?: true
Size: 478 Bytes
Versions: 16
Compression:
Stored size: 478 Bytes
Contents
class ProconBypassMan::SyncDeviceStatsJob < ProconBypassMan::BaseJob extend ProconBypassMan::HasExternalApiSetting # @param [Symbol] status def self.perform(status) ProconBypassMan::SendDeviceStatsHttpClient.new( path: path, server: api_server, ).post(status: status, pbm_session_id: ProconBypassMan.session_id) end def self.path device_id = ProconBypassMan.device_id "/api/devices/#{ProconBypassMan.device_id}/device_statuses" end end
Version data entries
16 entries across 16 versions & 1 rubygems