Sha256: 76acb298f43d3bdc59a4d194782e06362e1ce613c234c764fc1de877a8e8a245
Contents?: true
Size: 414 Bytes
Versions: 2
Compression:
Stored size: 414 Bytes
Contents
require "msgpack" require "twib/interface.rb" module Twib module Interfaces # Exposed by twibd class ITwibMetaInterface < Interface # @api private module Command LIST_DEVICES = 10 end # Lists devices known to twibd. # @return [Array<Hash>] def list_devices MessagePack.unpack(send(Command::LIST_DEVICES).wait_ok.payload) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
twib-0.1.2 | lib/twib/interfaces/ITwibMetaInterface.rb |
twib-0.1.1 | lib/twib/interfaces/ITwibMetaInterface.rb |