Class: GetBatteryLevel
- Inherits:
-
DirectCommand
- Object
- Telegram
- RespondableTelegram
- DirectCommand
- GetBatteryLevel
- Defined in:
- lib/telegrams/commands/direct/get_battery_level.rb
Instance Attribute Summary
Attributes inherited from RespondableTelegram
Attributes inherited from Telegram
Instance Method Summary collapse
-
#initialize ⇒ GetBatteryLevel
constructor
A new instance of GetBatteryLevel.
Methods inherited from RespondableTelegram
#as_bytes, #require_response=, #require_response?
Methods inherited from Telegram
Constructor Details
#initialize ⇒ GetBatteryLevel
Returns a new instance of GetBatteryLevel.
4 5 6 7 |
# File 'lib/telegrams/commands/direct/get_battery_level.rb', line 4 def initialize super(true) @command = 0x0B end |