Class: CallActiveTrigger

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

Overview

Category: Call/SMS

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 = {}) ⇒ CallActiveTrigger

Returns a new instance of CallActiveTrigger.



1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
# File 'lib/ruby-macrodroid.rb', line 1262

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