Class: SetAlarmClockAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- SetAlarmClockAction
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetAlarmClockAction
constructor
A new instance of SetAlarmClockAction.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetAlarmClockAction
Returns a new instance of SetAlarmClockAction.
1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 |
# File 'lib/ruby-macrodroid.rb', line 1574 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 |