Class: VibrateAction

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ VibrateAction

Returns a new instance of VibrateAction.



1758
1759
1760
1761
1762
1763
1764
1765
1766
# File 'lib/ruby-macrodroid.rb', line 1758

def initialize(h={})

  options = {
    vibrate_pattern: 1
  }

  super(options.merge h)

end