Sha256: aee7f2b6ff73b1e7b02a7b94a2719ef34fd391ac5506ee947b82e1e4675c7384

Contents?: true

Size: 188 Bytes

Versions: 17

Compression:

Stored size: 188 Bytes

Contents

# frozen_string_literal: true

require "dry-struct"

module DjiMqttConnect
  class Message < Dry::Struct
    transform_keys(&:to_sym)

    def to_s
      self.class.name
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dji_mqtt_connect-0.1.11 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.10 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.9 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.8 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.7 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.6 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.5 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.4.1 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.4 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.3 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.2 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.1.4 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.1.3 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.1.2 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.1.1 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.1 lib/dji_mqtt_connect/message.rb
dji_mqtt_connect-0.1.0 lib/dji_mqtt_connect/message.rb