Class: MQTT::Homie::HomieObject
- Inherits:
-
Object
- Object
- MQTT::Homie::HomieObject
- Includes:
- HomieAttribute
- Defined in:
- lib/mqtt/homie/homie_object.rb
Direct Known Subclasses
Device, Device::Firmware, Device::Statistics, Node, Property
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ HomieObject
constructor
A new instance of HomieObject.
- #topic ⇒ Object
Methods included from HomieAttribute
Constructor Details
#initialize(options = {}) ⇒ HomieObject
Returns a new instance of HomieObject.
8 9 10 |
# File 'lib/mqtt/homie/homie_object.rb', line 8 def initialize( = {}) homie_attr_init() end |
Instance Method Details
#topic ⇒ Object
12 13 14 |
# File 'lib/mqtt/homie/homie_object.rb', line 12 def topic @id end |