Class: SignalOnOffTrigger

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

Overview

Category: Connectivity

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SignalOnOffTrigger

Returns a new instance of SignalOnOffTrigger.



877
878
879
880
881
882
883
884
885
# File 'lib/ruby-macrodroid.rb', line 877

def initialize(h={})

  options = {
    signal_on: true
  }

  super(options.merge h)

end