Class: SunriseSunsetTrigger

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

Overview

Category: Location

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SunriseSunsetTrigger

Returns a new instance of SunriseSunsetTrigger.



1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
# File 'lib/ruby-macrodroid.rb', line 1400

def initialize(h={})

  options = {
    option: 0,
    time_adjust_seconds: 0
  }

  super(options.merge h)

end