Class: DjiMqttConnect::Thing::Product::ChargeCloseEventsMessage
- Inherits:
-
EventsMessage
- Object
- Dry::Struct
- Message
- EventsMessage
- DjiMqttConnect::Thing::Product::ChargeCloseEventsMessage
- Defined in:
- lib/dji_mqtt_connect/messages/thing/product/events/charge_close.rb
Instance Method Summary collapse
Methods inherited from EventsMessage
#flight_ids, #humanized_summary, #need_reply?, #to_s
Methods inherited from Message
current_timestamp, generate_bid, generate_tid, #to_s
Instance Method Details
#humanized_summary_interpolation ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/dji_mqtt_connect/messages/thing/product/events/charge_close.rb', line 28 def humanized_summary_interpolation super.merge( status: data.output.humanized_status, percent: data.output.progress.percent, step_key: data.output.progress.humanized_step_key || "-" ) end |