Class: TriggerThatInvokedConstraint

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

Overview

Category: MacroDroid Specific

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ TriggerThatInvokedConstraint

Returns a new instance of TriggerThatInvokedConstraint.



4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
# File 'lib/ruby-macrodroid.rb', line 4584

def initialize(h={})

  options = {
    not: false,
    si_guid_that_invoked: -4951291100076165433,
    trigger_name: 'Shake Device'
  }

  super(options.merge h)

end