Class: Barometer::Noaa::Response::CurrentStation

Inherits:
WeatherService::Response::Location
  • Object
show all
Defined in:
lib/barometer/noaa/response/current_station.rb

Instance Method Summary collapse

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