Class: Ym4r::GoogleMaps::Geocoding::Placemarks

Inherits:
Array
  • Object
show all
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

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



96
97
98
# File 'lib/ym4r/google_maps/geocoding.rb', line 96

def name
  @name
end

#statusObject

Returns the value of attribute status.



96
97
98
# File 'lib/ym4r/google_maps/geocoding.rb', line 96

def status
  @status
end