Class: Barometer::WeatherService::Noaa::Response::CurrentLocation

Inherits:
Response::Location show all
Defined in:
lib/barometer/weather_services/noaa/response/current_location.rb

Instance Method Summary collapse

Methods inherited from Response::Location

#parse

Constructor Details

#initialize(payload, response) ⇒ CurrentLocation

Returns a new instance of CurrentLocation.



6
7
8
9
# File 'lib/barometer/weather_services/noaa/response/current_location.rb', line 6

def initialize(payload, response)
  super(payload)
  @location = response.location
end