Class: Switchbot::PlugMini
- Inherits:
-
Object
- Object
- Switchbot::PlugMini
- Extended by:
- Forwardable
- Defined in:
- lib/switchbot/plug_mini.rb
Instance Method Summary collapse
-
#initialize(client:, device_id:) ⇒ PlugMini
constructor
A new instance of PlugMini.
- #toggle ⇒ Object
Constructor Details
Instance Method Details
#toggle ⇒ Object
13 14 15 |
# File 'lib/switchbot/plug_mini.rb', line 13 def toggle commands(command: 'toggle') end |