Class: OutgoingCallTrigger

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ OutgoingCallTrigger

Returns a new instance of OutgoingCallTrigger.



449
450
451
452
453
454
455
456
457
458
459
460
461
# File 'lib/ruby-macrodroid.rb', line 449

def initialize(h={})

  options = {
    outgoing_call_to_list: [{:m_id=>"-2", :m_lookupKey=>"-2", :m_name=>"[Any Number]"}],
    group_id_list: [],
    group_name_list: [],
    option: 0,
    phone_number_exclude: false
  }

  super(options.merge h)

end