Class: DjiMqttConnect::Thing::Product::ServicesMessage

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

Instance Method Summary collapse

Methods inherited from Message

current_timestamp, generate_bid, generate_tid, #to_s

Instance Method Details

#flight_idsObject

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_summaryObject



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_interpolationObject



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