Sha256: f74cc4b4d0a643896ce87c0a77983c79ea8fdfbae7677722a6a36df95af4f16c
Contents?: true
Size: 668 Bytes
Versions: 2
Compression:
Stored size: 668 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Sys::Product class UpdateTopoStatusReplyMessage < StatusReplyMessage # Builds a reply for an update_topo status message # a result of 0 means we approve of this action def self.build_for(update_topo_status_message, result: 0) new( _method: update_topo_status_message._method, tid: update_topo_status_message.tid, bid: update_topo_status_message.bid, timestamp: current_timestamp, data: { result: result } ) end attribute :_method, Types::String.enum("update_topo") end end end
Version data entries
2 entries across 2 versions & 1 rubygems