Sha256: b62b2c17c5357ae783233d7b893f70aec9e7261dbad621e5c633a9e06078671b
Contents?: true
Size: 463 Bytes
Versions: 11
Compression:
Stored size: 463 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class StateReplyTopicRepository < TopicRepository # Publishes a message to gateway_sn on the "thing/product/+/state_reply" topic. def publish_to_device(gateway_sn, state_reply_message) publish_to_topic( "thing/product/#{gateway_sn}/state_reply", state_reply_message, marshal: StateReplyMarshal ) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems