Class: Twib::Interfaces::ITwibMetaInterface
- Inherits:
-
Twib::Interface
- Object
- Twib::Interface
- Twib::Interfaces::ITwibMetaInterface
- Defined in:
- lib/twib/interfaces/ITwibMetaInterface.rb
Overview
Exposed by twibd
Defined Under Namespace
Modules: Command
Instance Method Summary collapse
-
#list_devices ⇒ Array<Hash>
Lists devices known to twibd.
Methods inherited from Twib::Interface
Constructor Details
This class inherits a constructor from Twib::Interface
Instance Method Details
#list_devices ⇒ Array<Hash>
Lists devices known to twibd.
16 17 18 |
# File 'lib/twib/interfaces/ITwibMetaInterface.rb', line 16 def list_devices MessagePack.unpack(send(Command::LIST_DEVICES).wait_ok.payload) end |