Class: DjiMqttConnect::Thing::Product::StateReplyMarshal
- Inherits:
-
MessageMarshal
- Object
- MessageMarshal
- DjiMqttConnect::Thing::Product::StateReplyMarshal
- Includes:
- Utils::MessageDumping
- Defined in:
- lib/dji_mqtt_connect/marshals/thing/product/state_reply_marshal.rb
Instance Method Summary collapse
-
#dump(message) ⇒ Object
Converts a message for transmission via MQTT.
Methods inherited from MessageMarshal
Instance Method Details
#dump(message) ⇒ Object
Converts a message for transmission via MQTT
11 12 13 14 15 16 17 |
# File 'lib/dji_mqtt_connect/marshals/thing/product/state_reply_marshal.rb', line 11 def dump() # Fix up the hash representation = () # Convert the transformed message into JSON JSON.generate() end |