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



1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
# File 'lib/ruby-macrodroid.rb', line 1328

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