Module: DjiMqttConnect::Mixins::TimestampOrCurrent
- Defined in:
- lib/dji_mqtt_connect/mixins/timestamp_or_current.rb
Overview
Provides a fallback to the current timestamp for messages where DJI sometimes omits the timestamp field
Instance Method Summary collapse
Instance Method Details
#timestamp_or_current ⇒ Object
7 8 9 |
# File 'lib/dji_mqtt_connect/mixins/timestamp_or_current.rb', line 7 def || Message. end |