Class: SetWifiAction

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SetWifiAction

Returns a new instance of SetWifiAction.



1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
# File 'lib/ruby-macrodroid.rb', line 1502

def initialize(h={})

  options = {
    ssid: '[Select Wifi]',
    network_id: 0,
    state: 0
  }

  super(options.merge h)

end