Sha256: b8d6c936d8afb2be8c93f131b09b58b78c3db154323f8ab7b29ccf91d1ccf04b

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

require "observer"

module MQTT
  module Homie
    class HomieObject
      include HomieAttribute

      def initialize(options = {})
        homie_attr_init(options)
      end

      def topic
        @id
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mqtt-homie-0.1.1 lib/mqtt/homie/homie_object.rb