Class: OutgoingCallTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- OutgoingCallTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Call/SMS
Instance Attribute Summary
Attributes inherited from Trigger
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ OutgoingCallTrigger
constructor
A new instance of OutgoingCallTrigger.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ OutgoingCallTrigger
Returns a new instance of OutgoingCallTrigger.
1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 |
# File 'lib/ruby-macrodroid.rb', line 1524 def initialize(h={}) = { outgoing_call_to_list: [{:m_id=>"-2", :m_lookupKey=>"-2", :m_name=>"[Any Number]"}], group_id_list: [], group_name_list: [], option: 0, phone_number_exclude: false } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
1538 1539 1540 |
# File 'lib/ruby-macrodroid.rb', line 1538 def to_s(colour: false) 'OutgoingCallTrigger ' + @h.inspect end |