Class: DjiMqttConnect::MessageMarshal

Inherits:
Object
  • Object
show all
Defined in:
lib/dji_mqtt_connect/message_marshal.rb

Instance Method Summary collapse

Instance Method Details

#dump(_message) ⇒ Object

Serialize message for sending via a topic

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/dji_mqtt_connect/message_marshal.rb', line 15

def dump(_message)
  raise NotImplementedError
end

#load(_raw_string) ⇒ Object

Parse message loaded from a topic

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/dji_mqtt_connect/message_marshal.rb', line 10

def load(_raw_string)
  raise NotImplementedError
end