Class: DjiMqttConnect::Thing::Product::RequestsReplyMessage

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

Instance Method Summary collapse

Methods inherited from Message

current_timestamp, generate_bid, generate_tid, #to_s

Instance Method Details

#humanized_summaryObject



17
18
19
# File 'lib/dji_mqtt_connect/messages/thing/product/requests_reply_message.rb', line 17

def humanized_summary
  Translations.thing_product_requests_reply_summary(_method, **humanized_summary_interpolation)
end

#humanized_summary_interpolationObject



21
22
23
# File 'lib/dji_mqtt_connect/messages/thing/product/requests_reply_message.rb', line 21

def humanized_summary_interpolation
  data.to_h.merge(method: _method)
end