Class: SendSMSAction

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

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SendSMSAction

Returns a new instance of SendSMSAction.



2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
# File 'lib/ruby-macrodroid.rb', line 2063

def initialize(h={})

  options = {
    number: '',
    contact: {:m_id=>"Hardwired_Number", :m_lookupKey=>"Hardwired_Number", :m_name=>"[Select Number]"},
    message_content: '',
    add_to_message_log: false,
    pre_populate: false,
    sim_id: 0
  }

  super(options.merge h)

end