Class: CallActiveTrigger

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

Overview

Category: Call/SMS

Instance Attribute Summary

Attributes inherited from Trigger

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ CallActiveTrigger

Returns a new instance of CallActiveTrigger.



1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
# File 'lib/ruby-macrodroid.rb', line 1394

def initialize(h={})

  options = {
    contact_list: [{:m_id=>"-2", :m_lookupKey=>"-2", :m_name=>"[Any Number]"}],
    secondary_class_type: 'CallActiveTrigger',
    signal_on: true
  }

  super(options.merge h)

end