Sha256: e9ff25ebbcfe63a73c37989472331bca43b6a4422b01e99cba4a61ff3aac69f7

Contents?: true

Size: 503 Bytes

Versions: 28

Compression:

Stored size: 503 Bytes

Contents

# frozen_string_literal: true

module DjiMqttConnect
  module Thing::Product
    class DebugModeOpenServicesMessage < ServicesMessage
      def self.build(bid: generate_bid, tid: generate_tid, timestamp: current_timestamp)
        new(
          bid: bid,
          tid: tid,
          timestamp: timestamp,
          _method: "debug_mode_open"
        )
      end

      attribute :_method, Types::String.enum("debug_mode_open")

      attribute :data, Types::Hash.default({}.freeze)
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.24.1 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.24 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.23.3 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.23.2 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.23.1 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.23 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.22.2 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.22.1 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.22 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.21 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.20.1 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.20 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.19.2 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.19.1 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.19 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.18 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.17.1 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.17 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.16.2 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb
dji_mqtt_connect-0.1.16.1 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_open.rb