Class: DjiMqttConnect::Thing::Product::OsdMessage

Inherits:
Message
  • Object
show all
Defined in:
lib/dji_mqtt_connect/messages/thing/product/osd_message.rb

Direct Known Subclasses

DockOsdMessage, DroneOsdMessage, RemoteOsdMessage

Instance Method Summary collapse

Methods inherited from Message

current_timestamp, generate_bid, generate_tid, #to_s

Instance Method Details

#humanized_summaryObject



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_interpolationObject



22
23
24
# File 'lib/dji_mqtt_connect/messages/thing/product/osd_message.rb', line 22

def humanized_summary_interpolation
  data.to_h
end