Class: SetLocationUpdateRateAction

Inherits:
LocationAction 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 Action

#invoke

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SetLocationUpdateRateAction

Returns a new instance of SetLocationUpdateRateAction.



2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
# File 'lib/ruby-macrodroid.rb', line 2597

def initialize(h={})

  options = {
    update_rate: 0,
    update_rate_seconds: 600
  }

  super(options.merge h)

end