Class: DjiMqttConnect::Thing::Product::FileuploadListServicesMessage

Inherits:
ServicesMessage show all
Defined in:
lib/dji_mqtt_connect/messages/thing/product/services/fileupload_list.rb

Class Method Summary collapse

Methods inherited from ServicesMessage

#flight_ids, #humanized_summary, #humanized_summary_interpolation

Methods inherited from Message

current_timestamp, generate_bid, generate_tid, #to_s

Class Method Details

.build(module_list:, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
# File 'lib/dji_mqtt_connect/messages/thing/product/services/fileupload_list.rb', line 6

def self.build(module_list:, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp)
  new(
    _method: "fileupload_list",
    bid: bid,
    tid: tid,
    timestamp: timestamp,
    data: {
      module_list: module_list
    }
  )
end