Sha256: 79fc85934f31d812b8d6b240b828481fdddf1a6a2c6e2037e1a43ffcd8f1355f
Contents?: true
Size: 765 Bytes
Versions: 28
Compression:
Stored size: 765 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product # Return to Home (RTH) # https://developer.dji.com/doc/cloud-api-tutorial/en/server-api-reference/mqtt/thing-model/gateway/dock/wayline.html#return-to-home-rth class ReturnHomeServicesMessage < Message def self.build(bid: generate_bid, tid: generate_tid, timestamp: current_timestamp) new( bid: bid, tid: tid, timestamp: timestamp, _method: "return_home" ) end attribute :tid, Types::UUID attribute :bid, Types::UUID attribute :timestamp, Types::Timestamp attribute :_method, Types::String.enum("return_home") attribute :data, Types::Hash.default({}.freeze) end end end
Version data entries
28 entries across 28 versions & 1 rubygems