Class: WebHookTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- WebHookTrigger
- Defined in:
- lib/ruby-macrodroid.rb,
lib/ruby-macrodroid.rb
Overview
Category: Connectivity
Instance Attribute Summary
Attributes inherited from Trigger
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ WebHookTrigger
constructor
A new instance of WebHookTrigger.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ WebHookTrigger
Returns a new instance of WebHookTrigger.
1263 1264 1265 1266 1267 1268 1269 1270 1271 |
# File 'lib/ruby-macrodroid.rb', line 1263 def initialize(h={}) = { identifier: '' } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
1273 1274 1275 |
# File 'lib/ruby-macrodroid.rb', line 1273 def to_s(colour: false) 'WebHookTrigger ' + @h.inspect end |