Sha256: 611aad6226e198200c67c49141d7b9990442a19bc9e7decb9a0d1795a4a27c73

Contents?: true

Size: 469 Bytes

Versions: 34

Compression:

Stored size: 469 Bytes

Contents

# frozen_string_literal: true

module DjiMqttConnect
  module Thing::Product
    class EventsReplyTopicRepository < TopicRepository
      # Publishes a message to gateway_sn on the "thing/product/+/events_reply" topic.
      def publish_to_device(gateway_sn, events_reply_message)
        publish_to_topic(
          "thing/product/#{gateway_sn}/events_reply",
          events_reply_message,
          marshal: EventsReplyMarshal
        )
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.25.1 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.25 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.24.1 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.24 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.23.3 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.23.2 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.23.1 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.23 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.22.2 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.22.1 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.22 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.21 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.20.1 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.20 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.19.2 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.19.1 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.19 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.18 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.17.1 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb
dji_mqtt_connect-0.1.17 lib/dji_mqtt_connect/topics/thing/product/events_reply.rb