Class: SetBluetoothAction
- Inherits:
-
ConnectivityAction
- Object
- MacroObject
- Action
- ConnectivityAction
- SetBluetoothAction
- Defined in:
- lib/ruby-macrodroid.rb,
lib/ruby-macrodroid.rb
Overview
Category: Connectivity
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetBluetoothAction
constructor
A new instance of SetBluetoothAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetBluetoothAction
Returns a new instance of SetBluetoothAction.
2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 |
# File 'lib/ruby-macrodroid.rb', line 2531 def initialize(h={}) = { device_name: '', state: 0 } super(.merge h) end |