Sha256: a725d381eb38560475031e615b7949e1d33978658eab559d7b5d6eb34f6ec41b

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

# frozen_string_literal: true

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

      attribute :_method, Types::String.enum("debug_mode_close")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.25.1 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_close.rb
dji_mqtt_connect-0.1.25 lib/dji_mqtt_connect/messages/thing/product/services/debug_mode_close.rb