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