class CallMissedTrigger

Category: Call/SMS

Public Class Methods

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

  options = {
    contact_list: [{:m_id=>"-2", :m_lookupKey=>"-2", :m_name=>"[Any Number]"}]
  }

  super(options.merge h)

end

Public Instance Methods

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