Class: DjiMqttConnect::Thing::Product::OsdMessage
- Inherits:
-
Message
- Object
- Dry::Struct
- Message
- DjiMqttConnect::Thing::Product::OsdMessage
show all
- Defined in:
- lib/dji_mqtt_connect/messages/thing/product/osd_message.rb
Instance Method Summary
collapse
Methods inherited from Message
current_timestamp, generate_bid, generate_tid, #to_s
Instance Method Details
#humanized_summary ⇒ Object
18
19
20
|
# File 'lib/dji_mqtt_connect/messages/thing/product/osd_message.rb', line 18
def humanized_summary
Translations.thing_product_osd_summary(**humanized_summary_interpolation)
end
|
#humanized_summary_interpolation ⇒ Object
22
23
24
|
# File 'lib/dji_mqtt_connect/messages/thing/product/osd_message.rb', line 22
def humanized_summary_interpolation
data.to_h
end
|