Method: WeatherLink::Client#stations
- Defined in:
- lib/weatherlink/client.rb
#stations ⇒ Object
30 31 32 33 34 |
# File 'lib/weatherlink/client.rb', line 30 def stations @stations ||= api.station['stations'].map do |data| Station.new(self, data) if data end end |