# frozen_string_literal: true module DjiMqttConnect module Sys::Product class StatusReplyTopicRepository < TopicRepository # Publishes a message to device_identifier on the "sys/product/+/status_reply" topic. def publish_to_device(device_identifier, status_reply_message) publish_to_topic( "sys/product/#{device_identifier}/status_reply", status_reply_message, marshal: StatusReplyMarshal ) end end end end