Sha256: 93313e19e58f92b732f8113fbf848cccfeec924e0aa3c32d2fec12ab9c6125b4
Contents?: true
Size: 817 Bytes
Versions: 5
Compression:
Stored size: 817 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product # Return to Specific Home # https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dock-to-cloud/mqtt/dock/dock2/wayline.html#designate-home-point-for-returning class ReturnSpecificHomeServicesMessage < ServicesMessage def self.build(home_dock_sn:, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp) new( bid: bid, tid: tid, timestamp: timestamp, _method: "return_specific_home", data: { home_dock_sn: home_dock_sn } ) end attribute :_method, Types::String.enum("return_specific_home") attribute :data do attribute :home_dock_sn, Types::SerialNumber end end end end
Version data entries
5 entries across 5 versions & 1 rubygems