Class: CellTowerConstraint

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

Overview

Category: Connectivity

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ CellTowerConstraint

Returns a new instance of CellTowerConstraint.



3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
# File 'lib/ruby-macrodroid.rb', line 3284

def initialize(h={})

  options = {
    cell_group_name: 'test group',
    cell_ids: ["524,14,41070731"],
    in_range: true
  }

  super(options.merge h)

end