Class: SetBluetoothAction

Inherits:
ConnectivityAction show all
Defined in:
lib/ruby-macrodroid.rb,
lib/ruby-macrodroid.rb

Overview

Category: Connectivity

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ SetBluetoothAction



2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
# File 'lib/ruby-macrodroid.rb', line 2360

def initialize(h={})

  options = {
    device_name: '',
    state: 0
  }

  super(options.merge h)

end