Class: Barometer::Noaa::Response::CurrentLocation
- Inherits:
-
WeatherService::Response::Location
- Object
- WeatherService::Response::Location
- Barometer::Noaa::Response::CurrentLocation
- Defined in:
- lib/barometer/noaa/response/current_location.rb
Instance Method Summary collapse
-
#initialize(payload, response) ⇒ CurrentLocation
constructor
A new instance of CurrentLocation.
Constructor Details
#initialize(payload, response) ⇒ CurrentLocation
Returns a new instance of CurrentLocation.
5 6 7 8 |
# File 'lib/barometer/noaa/response/current_location.rb', line 5 def initialize(payload, response) super(payload) @location = response.location end |