Sha256: 5bd6b5a895e187031de923a21bbb41f0afba0c101af4cf636dc6f6471719b0c2
Contents?: true
Size: 603 Bytes
Versions: 2
Compression:
Stored size: 603 Bytes
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product # Notification of task readiness # https://developer.dji.com/doc/cloud-api-tutorial/en/server-api-reference/mqtt/thing-model/gateway/dock/wayline.html#notification-of-task-readiness class FlighttaskReadyEventsMessage < EventsMessage attribute :_method, Types::String.enum("flighttask_ready") attribute :data do attribute :flight_ids, Types::Array.of(Types::FlightID) end # All the flight IDs in the message def flight_ids data.flight_ids end end end end
Version data entries
2 entries across 2 versions & 1 rubygems