class CallActiveTrigger
Category: Call/SMS
Public Class Methods
new(h={})
click to toggle source
Calls superclass method
Trigger::new
# File lib/ruby-macrodroid/triggers.rb, line 275 def initialize(h={}) options = { contact_list: [{:m_id=>"-2", :m_lookupKey=>"-2", :m_name=>"[Any Number]"}], secondary_class_type: 'CallActiveTrigger', signal_on: true } super(options.merge h) end
Public Instance Methods
to_s(colour: false)
click to toggle source
# File lib/ruby-macrodroid/triggers.rb, line 287 def to_s(colour: false) 'CallActiveTrigger ' + @h.inspect end
Also aliased as: to_summary