Class: DjiMqttConnect::Thing::Product::OfflineMapGetRequestsReplyMessage
- Inherits:
-
RequestsReplyMessage
- Object
- Dry::Struct
- Message
- RequestsReplyMessage
- DjiMqttConnect::Thing::Product::OfflineMapGetRequestsReplyMessage
- Defined in:
- lib/dji_mqtt_connect/messages/thing/product/requests_reply/offline_map_get.rb
Overview
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
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/dji_mqtt_connect/messages/thing/product/requests_reply/offline_map_get.rb', line 7 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 |