Class: DjiMqttConnect::Thing::Product::OfflineMapGetV2RequestsReplyMessage
- Inherits:
-
RequestsReplyMessage
- Object
- Dry::Struct
- Message
- RequestsReplyMessage
- DjiMqttConnect::Thing::Product::OfflineMapGetV2RequestsReplyMessage
- Defined in:
- lib/dji_mqtt_connect/messages/thing/product/requests_reply/offline_map_get_v2.rb
Class Method Summary collapse
Methods inherited from RequestsReplyMessage
#humanized_summary, #humanized_summary_interpolation
Methods inherited from Message
current_timestamp, generate_bid, generate_tid, #to_s
Class Method Details
.build_for(offline_map_get, result: 0) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/dji_mqtt_connect/messages/thing/product/requests_reply/offline_map_get_v2.rb', line 6 def self.build_for(offline_map_get, result: 0) new( _method: offline_map_get._method, data: { result: result }, tid: offline_map_get.tid, bid: offline_map_get.bid, timestamp: ) end |