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, #to_s

Constructor Details

#initialize(h = {}) ⇒ SunriseSunsetTrigger

Returns a new instance of SunriseSunsetTrigger.



1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
# File 'lib/ruby-macrodroid.rb', line 1920

def initialize(h={})

  options = {
    option: 0,
    time_adjust_seconds: 0
  }

  super(options.merge h)

end