Class: Barometer::WeatherService::Noaa::Response::CurrentLocation
- Inherits:
-
Response::Location
- Object
- Response::Location
- Barometer::WeatherService::Noaa::Response::CurrentLocation
- Defined in:
- lib/barometer/weather_services/noaa/response/current_location.rb
Instance Method Summary collapse
-
#initialize(payload, response) ⇒ CurrentLocation
constructor
A new instance of CurrentLocation.
Methods inherited from Response::Location
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 |