Class: MakeCallAction

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

Overview

Category: Phone

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

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



3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
# File 'lib/ruby-macrodroid.rb', line 3825

def initialize(h={})

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

  super(options.merge h)

end