Class: SetAlarmClockAction
- Inherits:
-
DateTimeAction
- Object
- MacroObject
- Action
- DateTimeAction
- SetAlarmClockAction
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Date/Time
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetAlarmClockAction
constructor
A new instance of SetAlarmClockAction.
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetAlarmClockAction
Returns a new instance of SetAlarmClockAction.
2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 |
# File 'lib/ruby-macrodroid.rb', line 2846 def initialize(h={}) = { days_of_week: [false, false, false, false, false, false, false], label: 'wakeup mum', delay_in_minutes: 1, hour: 8, delay_in_hours: 0, minute: 15, one_off: true, option: 0, relative: true, day_option: 0 } super(.merge h) end |