Class: DjiMqttConnect::Sys::Product::StatusReplyTopicRepository
- Inherits:
-
TopicRepository
- Object
- TopicRepository
- DjiMqttConnect::Sys::Product::StatusReplyTopicRepository
- Defined in:
- lib/dji_mqtt_connect/topics/sys/product/status_reply.rb
Instance Method Summary collapse
-
#publish_to_device(device_identifier, status_reply_message) ⇒ Object
Publishes a message to device_identifier on the “sys/product/+/status_reply” topic.
Methods inherited from TopicRepository
Constructor Details
This class inherits a constructor from DjiMqttConnect::TopicRepository
Instance Method Details
#publish_to_device(device_identifier, status_reply_message) ⇒ Object
Publishes a message to device_identifier on the “sys/product/+/status_reply” topic.
7 8 9 10 11 12 13 |
# File 'lib/dji_mqtt_connect/topics/sys/product/status_reply.rb', line 7 def publish_to_device(device_identifier, ) publish_to_topic( "sys/product/#{device_identifier}/status_reply", , marshal: StatusReplyMarshal ) end |