Class: DjiMqttConnect::Sys::Product::UpdateTopoStatusReplyMessage
- Inherits:
-
StatusReplyMessage
- Object
- Dry::Struct
- Message
- StatusReplyMessage
- DjiMqttConnect::Sys::Product::UpdateTopoStatusReplyMessage
- Defined in:
- lib/dji_mqtt_connect/messages/sys/product/status_reply/update_topo.rb
Class Method Summary collapse
-
.build_for(update_topo_status_message, result: 0) ⇒ Object
Builds a reply for an update_topo status message a result of 0 means we approve of this action.
Methods inherited from Message
current_timestamp, generate_bid, generate_tid, #to_s
Class Method Details
.build_for(update_topo_status_message, result: 0) ⇒ Object
Builds a reply for an update_topo status message a result of 0 means we approve of this action
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/dji_mqtt_connect/messages/sys/product/status_reply/update_topo.rb', line 8 def self.build_for(, result: 0) new( _method: ._method, tid: .tid, bid: .bid, timestamp: , data: { result: result } ) end |