Sha256: e8eb2f9f134c8b94bc0651672fc749fb79380f43ccb6ac030404df85fea80535
Contents?: true
Size: 292 Bytes
Versions: 1
Compression:
Stored size: 292 Bytes
Contents
module ChinaAqi # All monitoring station names in one city class CityStations < DynamicBase self.method = :station_names end # create a helper in ChinaAqi module def get_stations_for_city(city) CityStations.new(city).get end module_function :get_stations_for_city end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
china_aqi-0.0.5 | lib/china_aqi/helper/city_stations.rb |