Class: DjiMqttConnect::Thing::Product::FileUploadCallbackEventsMessage
- Inherits:
-
EventsMessage
- Object
- Dry::Struct
- Message
- EventsMessage
- DjiMqttConnect::Thing::Product::FileUploadCallbackEventsMessage
- Defined in:
- lib/dji_mqtt_connect/messages/thing/product/events/file_upload_callback.rb
Instance Method Summary collapse
-
#flight_ids ⇒ Object
All the flight IDs in the message.
- #humanized_summary_interpolation ⇒ Object
Methods inherited from EventsMessage
#humanized_summary, #need_reply?, #to_s
Methods inherited from Message
current_timestamp, generate_bid, generate_tid, #to_s
Instance Method Details
#flight_ids ⇒ Object
All the flight IDs in the message
62 63 64 |
# File 'lib/dji_mqtt_connect/messages/thing/product/events/file_upload_callback.rb', line 62 def flight_ids [data.file.ext.flight_id] end |
#humanized_summary_interpolation ⇒ Object
54 55 56 57 58 59 |
# File 'lib/dji_mqtt_connect/messages/thing/product/events/file_upload_callback.rb', line 54 def humanized_summary_interpolation super.merge( file_name: data.file.name, flight_id: data.file.ext.flight_id ) end |