Class: MQTT::Homie::HomieObject

Inherits:
Object
  • Object
show all
Includes:
HomieAttribute
Defined in:
lib/mqtt/homie/homie_object.rb

Instance Method Summary collapse

Methods included from HomieAttribute

included

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(options = {})
  homie_attr_init(options)
end

Instance Method Details

#topicObject



12
13
14
# File 'lib/mqtt/homie/homie_object.rb', line 12

def topic
  @id
end