class MakeCallAction

Category: Phone

Public Class Methods

new(h={}) click to toggle source
Calls superclass method PhoneAction::new
# File lib/ruby-macrodroid/actions.rb, line 2733
def initialize(h={})

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

  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 2744
def to_s(colour: false, indent: 0)
  'MakeCallAction ' + @h.inspect
end
Also aliased as: to_summary
to_summary(colour: false, indent: 0)
Alias for: to_s