Class: AirplaneModeTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ AirplaneModeTrigger

Returns a new instance of AirplaneModeTrigger.



905
906
907
908
909
910
911
912
913
# File 'lib/ruby-macrodroid.rb', line 905

def initialize(h={})

  options = {
    airplane_mode_enabled: true
  }

  super(options.merge h)

end