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