class Services::Infrastructure::Adapters::Geocode::GoogleGeocodeResponse

Google Geocode API response

Wraps the raw JSON from the Geocode API and exposes:

Example

response = GoogleGeocodeResponse.new(api_json, :api_response)
response.latitude  # => -23.5505
response.zipcode  # => "01310"