Class: AllowLEDNotificationLightAction

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

Overview

Category: Notifications

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ AllowLEDNotificationLightAction

Returns a new instance of AllowLEDNotificationLightAction.



2553
2554
2555
2556
2557
2558
2559
2560
2561
# File 'lib/ruby-macrodroid.rb', line 2553

def initialize(h={})

  options = {
    enabled: true
  }

  super(options.merge h)

end