Sha256: 1d93ade8acd90108d8f5ef323f3c83f5210678ad3107354db0b517fc1c0a9448
Contents?: true
Size: 825 Bytes
Versions: 81
Compression:
Stored size: 825 Bytes
Contents
## # crc string 4 digit number; hexadecimal for Helix devices, decimal otherwise # dealerId string Dealer ID (36-character UUID) # mac string MAC address (hex, transmission order, colon/slash separated) # skipPartnerClaim boolean Set to true to skip Helix partner configuration [true, false] # # Method: devices.register module Alula class DeviceRegisterProc < Alula::RpcResource class Response < Alula::RpcResponse end def self.call(mac:, dealer_id:, crc:, skip_partner_claim: false) payload = { mac: mac, crc: crc, dealerId: dealer_id, skipPartnerClaim: skip_partner_claim } request( http_method: :post, path: '/rpc/v1/devices/register', payload: payload, handler: Response ) end end end
Version data entries
81 entries across 81 versions & 1 rubygems