Class: Ym4r::GoogleMaps::Geocoding::Placemarks
- Inherits:
-
Array
- Object
- Array
- Ym4r::GoogleMaps::Geocoding::Placemarks
- Defined in:
- lib/ym4r/google_maps/geocoding.rb
Overview
Group of placemarks returned by the Geocoding service. If the result is valid the status attribute should be equal to Geocoding::GE0_SUCCESS
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(name, status) ⇒ Placemarks
constructor
A new instance of Placemarks.
Constructor Details
#initialize(name, status) ⇒ Placemarks
Returns a new instance of Placemarks.
98 99 100 101 102 |
# File 'lib/ym4r/google_maps/geocoding.rb', line 98 def initialize(name,status) super(0) @name = name @status = status end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
96 97 98 |
# File 'lib/ym4r/google_maps/geocoding.rb', line 96 def name @name end |
#status ⇒ Object
Returns the value of attribute status.
96 97 98 |
# File 'lib/ym4r/google_maps/geocoding.rb', line 96 def status @status end |