class WeatherGov::ObservationStationCollection

Public Class Methods

feature_class() click to toggle source
# File lib/weather_gov/observation_station_collection.rb, line 8
def self.feature_class
  ObservationStation
end

Public Instance Methods

observation_stations() click to toggle source
# File lib/weather_gov/observation_station_collection.rb, line 16
def observation_stations
  data.fetch("observationStations")
end
update_time() click to toggle source
# File lib/weather_gov/observation_station_collection.rb, line 12
def update_time
  @update_time ||= Time.parse(data.fetch("updated"))
end