Class: MakeCallAction

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

Overview

Category: Phone

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ MakeCallAction

Returns a new instance of MakeCallAction.



3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/ruby-macrodroid.rb', line 3445

def initialize(h={})

  options = {
    contact: {:m_id=>"Hardwired_Number", :m_lookupKey=>"Hardwired_Number", :m_name=>"[Select Number]"},
    number: ''
  }

  super(options.merge h)

end