Sha256: 5b041e82e0e41b9571ae6a6b7e6cb25ee50f40b6ee855b567f0b4a57f4150741
Contents?: true
Size: 437 Bytes
Versions: 2
Compression:
Stored size: 437 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class CoverCloseServicesMessage < ServicesMessage def self.build(bid: generate_bid, tid: generate_tid, timestamp: current_timestamp) new( bid: bid, tid: tid, timestamp: timestamp, _method: "cover_close" ) end attribute :_method, Types::String.enum("cover_close") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dji_mqtt_connect-0.1.25.1 | lib/dji_mqtt_connect/messages/thing/product/services/cover_close.rb |
dji_mqtt_connect-0.1.25 | lib/dji_mqtt_connect/messages/thing/product/services/cover_close.rb |