Class: RoamingOnOffConstraint

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

Overview

Category: Device State

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ RoamingOnOffConstraint

Returns a new instance of RoamingOnOffConstraint.



4592
4593
4594
4595
4596
4597
4598
4599
4600
# File 'lib/ruby-macrodroid.rb', line 4592

def initialize(h={})

  options = {
    roaming_on: true
  }

  super(options.merge h)

end