Module: DjiMqttConnect::Mixins::EventsProgressChecks
- Defined in:
- lib/dji_mqtt_connect/mixins/events_progress_checks.rb
Overview
Provides checks for the event progress object that contains a Types::EventsProgressStepKey step_key value
Instance Method Summary collapse
Instance Method Details
#humanized_step_key ⇒ Object
12 13 14 15 16 |
# File 'lib/dji_mqtt_connect/mixins/events_progress_checks.rb', line 12 def humanized_step_key return unless step_key I18n.t(step_key, scope: "dji_mqtt_connect.events_step_key", default: step_key.titleize) end |