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