class Services::Infrastructure::Adapters::Weather::GoogleWeatherResponse

Google Weather API response

Wraps the raw JSON from the Weather API and exposes:

Example

response = GoogleCurrentWeatherResponse.new(api_json, :api_response)
response.data["temperature"]["degrees"]  # => 25.3
response.source  # => :api_response