Class: IncomingSMSTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- IncomingSMSTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Call/SMS
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ IncomingSMSTrigger
constructor
A new instance of IncomingSMSTrigger.
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ IncomingSMSTrigger
Returns a new instance of IncomingSMSTrigger.
982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 |
# File 'lib/ruby-macrodroid.rb', line 982 def initialize(h={}) = { sms_from_list: [{:m_id=>"-2", :m_lookupKey=>"-2", :m_name=>"[Any Number]"}], group_id_list: [], group_name_list: [], sms_content: '', option: 0, excludes: false, exact_match: false, enable_regex: false, sms_number_exclude: false } super(.merge h) end |