Class: AllowLEDNotificationLightAction
- Inherits:
-
NotificationsAction
- Object
- MacroObject
- Action
- NotificationsAction
- AllowLEDNotificationLightAction
- Defined in:
- lib/ruby-macrodroid/actions.rb
Overview
Category: Notifications
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ AllowLEDNotificationLightAction
constructor
A new instance of AllowLEDNotificationLightAction.
- #to_s(colour: false, indent: 0) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods included from ObjectX
#action_to_object, #object_create, #varify
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ AllowLEDNotificationLightAction
Returns a new instance of AllowLEDNotificationLightAction.
2061 2062 2063 2064 2065 2066 2067 2068 2069 |
# File 'lib/ruby-macrodroid/actions.rb', line 2061 def initialize(h={}) = { enabled: true } super(.merge h) end |
Instance Method Details
#to_s(colour: false, indent: 0) ⇒ Object Also known as: to_summary
2071 2072 2073 |
# File 'lib/ruby-macrodroid/actions.rb', line 2071 def to_s(colour: false, indent: 0) 'AllowLEDNotificationLightAction ' + @h.inspect end |