Class: DjiMqttConnect::Thing::Product::StorageConfigGetRequestsReplyMessage
Overview
Class Method Summary
collapse
Instance Method Summary
collapse
#humanized_summary
Methods inherited from Message
current_timestamp, generate_bid, generate_tid, #to_s
Class Method Details
.build_for(storage_config_get_message, output:, result: 0) ⇒ Object
7
8
9
10
11
12
13
14
15
16
17
18
|
# File 'lib/dji_mqtt_connect/messages/thing/product/requests_reply/storage_config_get.rb', line 7
def self.build_for(storage_config_get_message, output:, result: 0)
new(
_method: storage_config_get_message._method,
tid: storage_config_get_message.tid,
bid: storage_config_get_message.bid,
timestamp: current_timestamp,
data: {
result: result,
output: output
}
)
end
|
Instance Method Details
#humanized_summary_interpolation ⇒ Object
42
43
44
45
46
|
# File 'lib/dji_mqtt_connect/messages/thing/product/requests_reply/storage_config_get.rb', line 42
def humanized_summary_interpolation
super.merge(
bucket_name: data.output.bucket
)
end
|