Class: DjiMqttConnect::Thing::Product::ServicesMessage
- Inherits:
-
Message
- Object
- Dry::Struct
- Message
- DjiMqttConnect::Thing::Product::ServicesMessage
- Defined in:
- lib/dji_mqtt_connect/messages/thing/product/services_message.rb
Direct Known Subclasses
AlarmStateSwitchServicesMessage, CoverCloseServicesMessage, CoverOpenServicesMessage, DebugModeCloseServicesMessage, DebugModeOpenServicesMessage, DroneCloseServicesMessage, DroneOpenServicesMessage, FileuploadListServicesMessage, FileuploadStartServicesMessage, FlightAuthorityGrabServicesMessage, FlighttaskExecuteServicesMessage, FlighttaskPauseServicesMessage, FlighttaskPrepareServicesMessage, FlighttaskProgressGetServicesMessage, FlighttaskRecoveryServicesMessage, FlighttaskStopServicesMessage, FlighttaskUndoServicesMessage, FlyToPointServicesMessage, FlyToPointStopServicesMessage, FlyToPointUpdateServicesMessage, LiveLensChangeServicesMessage, LiveSetQualityServicesMessage, LiveStartPushServicesMessage, LiveStopPushServicesMessage, ReturnHomeCancelServicesMessage, ReturnHomeServicesMessage, ReturnSpecificHomeServicesMessage, TakeoffToPointServicesMessage
Instance Method Summary collapse
-
#flight_ids ⇒ Object
Returns all the flight IDs in the message.
- #humanized_summary ⇒ Object
- #humanized_summary_interpolation ⇒ Object
Methods inherited from Message
current_timestamp, generate_bid, generate_tid, #to_s
Instance Method Details
#flight_ids ⇒ Object
Returns all the flight IDs in the message
26 27 28 |
# File 'lib/dji_mqtt_connect/messages/thing/product/services_message.rb', line 26 def flight_ids [] end |
#humanized_summary ⇒ Object
17 18 19 |
# File 'lib/dji_mqtt_connect/messages/thing/product/services_message.rb', line 17 def humanized_summary Translations.thing_product_services_summary(_method, **humanized_summary_interpolation) end |
#humanized_summary_interpolation ⇒ Object
21 22 23 |
# File 'lib/dji_mqtt_connect/messages/thing/product/services_message.rb', line 21 def humanized_summary_interpolation data.to_h.merge(method: _method) end |