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, #to_s

Constructor Details

#initialize(h = {}) ⇒ SignalOnOffTrigger



1326
1327
1328
1329
1330
1331
1332
1333
1334
# File 'lib/ruby-macrodroid.rb', line 1326

def initialize(h={})

  options = {
    signal_on: true
  }

  super(options.merge h)

end