Class: GeofenceMap
- Inherits:
-
Object
- Object
- GeofenceMap
- Defined in:
- lib/ruby-macrodroid.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#name ⇒ Object
Returns the value of attribute name.
-
#radius ⇒ Object
Returns the value of attribute radius.
Instance Method Summary collapse
-
#initialize(h) ⇒ GeofenceMap
constructor
A new instance of GeofenceMap.
Constructor Details
#initialize(h) ⇒ GeofenceMap
898 899 900 |
# File 'lib/ruby-macrodroid.rb', line 898 def initialize(h) @id, @latitude, @longitude, @name, @radius = h.values end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
896 897 898 |
# File 'lib/ruby-macrodroid.rb', line 896 def id @id end |
#latitude ⇒ Object
Returns the value of attribute latitude.
896 897 898 |
# File 'lib/ruby-macrodroid.rb', line 896 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
896 897 898 |
# File 'lib/ruby-macrodroid.rb', line 896 def longitude @longitude end |
#name ⇒ Object
Returns the value of attribute name.
896 897 898 |
# File 'lib/ruby-macrodroid.rb', line 896 def name @name end |
#radius ⇒ Object
Returns the value of attribute radius.
896 897 898 |
# File 'lib/ruby-macrodroid.rb', line 896 def radius @radius end |