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