Sha256: 4139bb6981a5dafff18809c6dd6688fcc1110886cec6a39ae273fd8bfadbfe8c
Contents?: true
Size: 465 Bytes
Versions: 11
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class EventsMessage < Message attribute :bid, Types::UUID attribute :tid, Types::UUID attribute :timestamp, Types::Timestamp attribute :_data, Types::Hash attribute :_method, Types::String def to_s # Include data method for Generic messages instance_of?(EventsMessage) ? "#{super}[#{_method}]" : super end end end end
Version data entries
11 entries across 11 versions & 1 rubygems