Sha256: 8d1faf2ca59c009fbac36cf7601bb77142728593d4271193e58fee95ed39cf6a
Contents?: true
Size: 481 Bytes
Versions: 51
Compression:
Stored size: 481 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class RequestsReplyTopicRepository < TopicRepository # Publishes a message to gateway_sn on the "thing/product/+/requests_reply" topic. def publish_to_device(gateway_sn, requests_reply_message) publish_to_topic( "thing/product/#{gateway_sn}/requests_reply", requests_reply_message, marshal: RequestsReplyMarshal ) end end end end
Version data entries
51 entries across 51 versions & 1 rubygems