Sha256: a4a0e1c85ba9868a184040e9f201912373368bdbf55b17a098f2828ff79d2e81
Contents?: true
Size: 447 Bytes
Versions: 35
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class ServicesTopicRepository < TopicRepository # Publishes a message to gateway_sn on the "thing/product/+/services" topic. def publish_to_device(gateway_sn, services_message) publish_to_topic( "thing/product/#{gateway_sn}/services", services_message, marshal: ServicesMarshal ) end end end end
Version data entries
35 entries across 35 versions & 1 rubygems