class SendSMSAction

Category: Messaging

Public Class Methods

new(h={}) click to toggle source
Calls superclass method MessagingAction::new
# File lib/ruby-macrodroid/actions.rb, line 2353
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

Public Instance Methods

to_s(colour: false, indent: 0) click to toggle source
# File lib/ruby-macrodroid/actions.rb, line 2368
def to_s(colour: false, indent: 0)
  'SendSMSAction ' + @h.inspect
end
Also aliased as: to_summary
to_summary(colour: false, indent: 0)
Alias for: to_s