Class: AllowLEDNotificationLightAction

Inherits:
NotificationsAction show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Notifications

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ AllowLEDNotificationLightAction

Returns a new instance of AllowLEDNotificationLightAction.



3478
3479
3480
3481
3482
3483
3484
3485
3486
# File 'lib/ruby-macrodroid.rb', line 3478

def initialize(h={})

  options = {
    enabled: true
  }

  super(options.merge h)

end