Sha256: 3b7b4a2c6bcada3f0e9b7a102324ef4a8b2290071fbdb0e0bbe175b2da261aea
Contents?: true
Size: 325 Bytes
Versions: 10
Compression:
Stored size: 325 Bytes
Contents
$:.unshift File.expand_path '../lib', File.dirname(__FILE__) require 'irkit' unless irkit = IRKit::Device.find.first STDERR.puts 'device not found' exit 1 end token = irkit.get_token puts "token:\t#{token}" res = irkit.get_key_and_deviceid(token) puts "clientkey:\t#{res.clientkey}" puts "deviceid:\t#{res.deviceid}"
Version data entries
10 entries across 10 versions & 1 rubygems