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