Sha256: bcecb9687cc976a43c997df2db162abecc69ad9dbba1f8c466c050c6ad0ee74a
Contents?: true
Size: 597 Bytes
Versions: 2
Compression:
Stored size: 597 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class CoverCloseServicesMessage < Message def self.build(bid: generate_bid, tid: generate_tid, timestamp: current_timestamp) new( bid: bid, tid: tid, timestamp: timestamp, _method: "cover_close" ) end attribute :tid, Types::UUID attribute :bid, Types::UUID attribute :timestamp, Types::Timestamp attribute :_method, Types::String.enum("cover_close") attribute :data, Types::Hash.default({}.freeze) end end end
Version data entries
2 entries across 2 versions & 1 rubygems